Posted by ebade2000 on 11/01/06 16:09
I have a page that uses some CSS, problem is that the page will not
pick up the CSS because of a comment that comes before the <DOCTYPE>
declaration like so:
<line 1> <!-- abcdef... -->
<line 2> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 //EN"
"http://www.w3.org/TR/html4/strict.dtd">
I will like to know why IE will not pick up the CSS but works fine in
FIREFOX.
If the comment is moved just below the DOCTYPE statement (i.e. <line 2>
before <line 1> ), IE picks up the CSS. But I have a template that has
to be loaded before the DOCTYPE so this is not an option for me.
ebade2000@gmail.com
Navigation:
[Reply to this message]
|