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

Collapse
2: Re: CSS and the loose.dtd (response to 1)
Posted by Bart Teeuwisse on
Steve,

several web browsers render style sheets differently when the global DTD link is absent from the doc type of the page. To rule out any doc type ambiguity I would argue to always include the global DTD reference. Then modify the style sheet to get the look you want.

By global reference I mean http://www.w3.org/TR/html4/loose.dtd instead of a relative path like loose.dtd which is sometimes used.

/Bart

Collapse
3: Re: CSS and the loose.dtd (response to 2)
Posted by Steve Manning on
Bart

The problem is that the example I gave set the border width to 1 but the result when loose.dtd is playing is (on the browsers I've tried) much thicker than 1px. How do I get a thin border and still ref loose.dtd?

    Steve