Forum Moderators: open
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0039)http://www.etisystems.com/etibanner.htm -->
What's up with this? Any explanation greatly appreciated.
Basically the DOCTYPE does what it says, tells the user agent the type of document to expect. Very important if you use css for positioning as not declaring a doctype puts ie6 into 'quirks' mode. Meaning it may not understand some of your code.
There are further implications but I'll leave that to someone else ;)
Nick
P.S
This may seem realy silly but what does Quirks mode actualy mean, I have heard it alot on this forum and I am not sure of what it means?
what does Quirks mode actualy mean
It means that IE6 behaves as though it were IE5 rather than conforming to common standards. The classic example is the "box model" When you create a <div> with say a specified width, IE5 calculates it "incorrectly" based on the CSS recommendation. If you add a DOCTYPE, IE6 will size the box as per the standard. If you leave the DOCTYPE off, it will size it as IE5 would. For more info, try this
[google.com ]