On Sun, 2003-01-26 at 12:11, Matt Feifarek wrote:
> IE and Moz both change their behavior depending on the doctype. They are
> better or worse at rendering stylesheets for example, depending on the
> It's a nasty bug to track down; you make good html and css, it doesn't
> work. You look it up, and it says that the browser does it correctly.
> You tweak it randomly for 4 hours, then you think of the doctype...
> I've done this before ;-)
> Another nasty one is that Moz will not eat a .css file if the mimetype
> that it came through under isn't right. So, if CSS isn't in your
> mimetypes in your python (which it's not in 2.1) Mozilla will not use
> any stylesheets at all. That was another doozy to track down.
> My suggestion would be to have 3 or 4 good doctype strings, and just
> comment all but one out. That way a novice user could just switch them
> without having to understand...
I agree with this. A doctype is generally the right thing to have, and
4.0 transitional (which is what it was, no?) is usually the right one
for most people. If it has to be tweaked sometimes we can document
that, but I'd rather assume the most common case. As a developer I
always appreciate sensible defaults.
Ian Bicking Colorstudy Web Development
PGP: gpg --keyserver pgp.mit.edu --recv-keys 0x9B9E28B7
4869 N Talman Ave, Chicago, IL 60625 / (773) 275-7241