|
Posted by Toby Inkster on 04/27/06 02:09
Bruce Grubb wrote:
> If you have to 'hack' the HTML to get IE to behave correctly then odds are
> you are not writing to the standard.
On most non-trivial pages, IE (for Windows) will not cope with
standards-compliant HTML. It really is that rubbish. In many
situations, the problems will be very minor, and it is sometimes
best just to ignore IE's discrepancies.
In other situations though, the standards-compliant page will suffer
from major display/behaviour/usability problems in IE, so one is
forced to add a few hacks to compensate for it. (Of course, one
tries to avoid punishing browsers that actually obey the standards
here!)
For example, your standards-compliant HTML page might have an <IMG>
element that loads a standards-compliant PNG image with alpha-
blended transparancy. While most modern browsers will display this
with ease, IE's default rendering path doesn't support alpha, so
one might choose to use a hack to serve IE a GIF file instead.
e.g. http://examples.tobyinkster.co.uk/gimme-that/index.html
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|