Info: DOCTYPE Declaration
Everyone,
After spending ALL morning trying to get a fairly complex page (embedded tables, lots of small images, etc.) to render properly on Firefox, IE and Netscape I finally found a pretty good way to make it all look good in every browser out there. I changed my doctype declaration from XHTML transistional to HTML 4.01 Transisitional (using the loose.dtd schema). Apparently no one can decide on how to properly render XHTML but they've all got a pretty good idea on how to render HTML. Anyway, if you're dealing with cross-browser drama try using the follow doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
For more information on doctypes and validation in general check out this site.
After spending ALL morning trying to get a fairly complex page (embedded tables, lots of small images, etc.) to render properly on Firefox, IE and Netscape I finally found a pretty good way to make it all look good in every browser out there. I changed my doctype declaration from XHTML transistional to HTML 4.01 Transisitional (using the loose.dtd schema). Apparently no one can decide on how to properly render XHTML but they've all got a pretty good idea on how to render HTML. Anyway, if you're dealing with cross-browser drama try using the follow doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
For more information on doctypes and validation in general check out this site.
