Forum OpenACS Q&A: Re: CSS and the loose.dtd

Collapse
6: Re: CSS and the loose.dtd (response to 1)
Posted by Steve Manning on
Just got onto the wifes Windoze PC and tried this under IE5.5. IE renders the border thin in all cases so I suspect that was the designed response for loose.dtd. The thick border must be just a Gecko thing. Don't you just love CSS :)

Talking of strange behaviour, in my haste to knock out an example I used the English 'grey' for the background colour rather than the 'gray'. My Gecko based browsers where quite happy with this but IE displayed a white background until I 'corrected' the spelling. Its a funny world.

  Steve

Collapse
7: Re: CSS and the loose.dtd (response to 6)
Posted by Andrei Popov on
Mozilla by default assumes that 1 (without unit identifier) is in points, not pixels -- hence the border gets thicker.  IE makes its own assumptions, which in most cases are incorrect.

In fact, as stated by CSS2 spec, unit identifier is not optional : http://www.w3.org/TR/REC-CSS2/syndata.html#values