The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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

    But it i check view source, everything looks ok in this site

    # 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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed