You are here: Re: HTML comment affects page layout and speed « HTML « IT news, forums, messages
Re: HTML comment affects page layout and speed

Posted by Neredbojias on 09/04/07 00:43

Well bust mah britches and call me cheeky, on Mon, 03 Sep 2007 20:06:48 GMT
Harlan Messinger scribed:

>> I have a page that is using some nested tables and nested divs.
>>
>> Here are two examples to look at.
>> Please use IE as I can't duplicate the problem in Firefox.
>>
>> http://www.iapzdevelopment.com/test/frame_test1.htm
>> http://www.iapzdevelopment.com/test/frame_test2.htm
>>
>> Both pages are identical script with the only difference being an HTML
>> comment at the top of frame_test1.htm.
>
> Which precedes the DOCTYPE declaration, and I guess IE is treating the
> page as lacking a DOCTYPE declaration because content appeared before it
> found one.

Yep, I do that deliberately sometimes to fudge something thru ie6.

--
Neredbojias
Half lies are worth twice as much as whole lies.

 

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

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