"Michael Daly" <michaelDaly@foo.bar> writes:
[color=blue]
> On 4-May-2004, Michael Winter <M.Winter@blueyonder.co.invalid> wrote:
>[color=green]
>> width="640" is automatically stating 640 pixels. No units are necessary,
>> and are probably incorrect if used.[/color][/color]
....[color=blue]
> HTML and its variants specify that "px" is a legitimate qualifier;
> why should it be incorrect to use it?[/color]
No it doesn't.
<URL:http://www.w3.org/TR/html4/types.html#h-6.6>
The valid values of an HTML length is either pixels (a plain number) or
percentages (a number with "%" after).
Units like "px" are CSS, not HTML. You can use them in they style tag,
but that is CSS content. It should not be used in the width property
(but one should use CSS instead of the width property in any case -
it's even deprecated on HR, TD, TH, and PRE elements).
/L
--
Lasse Reichstein Nielsen -
lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'