Axel Siebenwirth wrote:
But why that??? I have even tried using a HTML 4.01 transitional DTD. That
doesnt work either. Only leaving it out the DTD works at all.
With certain DTDs present you trigger standards mode. This causes the
browser[1] to follow the CSS specification more closely. Taking it out
causes the browser to emulate the bugs of older browsers so as to avoid
breaking sites which depend on those bugs.
Continuing to depend on them is unwise for forwards compatibility, so you
are probably best off leaving your DTD in place and finding a way to
achieve the effect with real CSS, or changing the design.
[1] Your browser that is. Not all browsers have Quirks mode.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is