No replies
thepineapplehead
thepineapplehead's picture
User offline. Last seen 1 week 6 days ago. Offline
rank Guru
Guru
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9667
Points: 799

You will often see the moderators of this forum constantly going on about DTDs and Doctypes, and their completeness. We don't do this for a laugh, Doctypes are important.

IE has two rendering modes - Quirks mode and Strict mode. In Quirks mode, IE renders the page however it feels like on that particular day. You will notice problems with your CSS layouts that wouldn't appear in Strict Mode.

To enable Strict Mode you must use a COMPLETE DTD.

Please, ensure you have a complete and correct doctype before posting a question, as it cans olve many problems, and saves us having to waste time forcing people to use them before getting on to their problem.

ALA Doctypes

DOCTYPES THAT WORK

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Verschwindende wrote:
  • CSS doesn't make pies