You are here: IE Issues with picking up DOCTYPE « HTML « IT news, forums, messages
IE Issues with picking up DOCTYPE

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация