[thelist] Tip: Use Width and Height attributes on IMG tags

Francois Jordaan Francois.Jordaan at wheel.co.uk
Mon Feb 21 05:33:40 CST 2005


<tip type="Use Width and Height attributes on IMG tags" author="Francois
Jordaan">
Of course 99.9% of you already do so by default, but sometimes sloppy CMSs
or CMS editing processes can result in these attributes being left off IMG
tags. Until recently I thought the only downside of this was the page
rendering in a messy way, with layout shifting as images download. 

However, on CSS-based layouts, this can also cause IE to crash completely.
If you resize text rapidly using the scrollwheel, it will trigger an error
in MSHTML.DLL -- tested on IE6 on WinXP on a fast PC.
</tip>


_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com


More information about the thelist mailing list