July 27, 2001 - The !DOCTYPE Switch
July 27, 2001 The !DOCTYPE Switch Tips: July 2001
Yehuda Shiran, Ph.D.
|
margin
, border
, and padding
on inline elements, first-letter
and first-line
functionality, and dotted and dashed borders. To force Internet Explorer to operate in such a strict mode, you must include the !DOCTYPE
switch in the beginning of your document. Documents without the !DOCTYPE
declaration behave as they did in previous versions, thereby maintaining backward compatibility.