Grow your CSS skills. Land your dream job.

why code shows different in firebug & source file

  • # November 29, 2012 at 12:22 pm

    when i trying to use firebug, code show here different. here’s the image

    http://dl.dropbox.com/u/16583931/head.png

    But it i check view source, everything looks ok in this site http://demo.facebookmenupages.com/artisti/

    # November 29, 2012 at 12:45 pm

    In general, the source code shows what is being served to the browser, and Firebug basically shows how the browser interprets it.

    In this case, the root of the problem is the fact that there are a number of empty characters before the DOCTYPE declaration (or a TAB character), which confuses the browser. Maybe there’s some other issues as well, but if you make sure that those the very first characters of the document aren’t empty, I believe that might solve it.

    # November 29, 2012 at 1:10 pm

    thank you, i found it, end of index.php file contain empty character

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".