[WEB4LIB] Re: Browser related question

Drew, Bill drewwe at MORRISVILLE.EDU
Thu Jul 15 14:12:31 EDT 2004


I just added the doctype declaration:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd"> 

That seems to work better now.  The only peculiarity is when I display full
screen in Mozilla, one div goes all the way to the right and the rest go to
the left. 
That does not happen in Opera or IE.  Any suggestions there?

Bill Drew

-----Original Message-----
From: Andrew Mutch [mailto:amutch at waterford.lib.mi.us] 
Sent: Thursday, July 15, 2004 2:00 PM
To: Multiple recipients of list
Subject: [WEB4LIB] Re: Browser related question

Bill,

You'll want to start with a valid doctype for the page.

Rendering Mode and Doctype Switching
http://www.positioniseverything.net/articles/doctypes.html

Without it, the various browsers go into different quirks mode and you'll
likely
never be able to get them to render consistently. A valid doctype will at
least
put them all into standards mode and then you can wage battle with the
various
browser based bugs that are likely the cause of the differences.

Andrew Mutch
Library Systems Technician
Waterford Township Public Library
Waterford, MI



More information about the Web4lib mailing list