Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS why code shows different in firebug & source file

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41057
    shaifshahin
    Participant

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

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

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

    #115933
    Senff
    Participant

    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.

    #115938
    shaifshahin
    Participant

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.