Phil Endecott:
Quote:
It looks as if the HTML4 spec does not define a meaning for empty height
and width attributes in an IMG element. Moz seems to ignore them, while
IE7 sets the dimension to 1 pixel (or something like that). |
An empty height or width attribute is an error because height and
width, if specified, must have a length (either a pixel value or a
percentage). The HTML4.01 specification doesn't say how user-agents
should handle errors, but I think ignoring the empty value is
reasonable error recovery.
With error recovery like that, small wonder MS Explorer crashed.
--
Jock