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 Harlan Messinger on 09/03/07 20:06

daxkent@gmail.com wrote:
> Hello,
>
> 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.

> But check out the difference in speed when you mouseover Zone4 and
> then mouseover Zone2, not to mention the extreme difference in
> presentation.
>
> How can a simple HTML comment at the top make so much difference????
>

 

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

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