[FX.php List] Tired of making special solutions for every browser?

Gjermund Gusland Thorsen ggt667 at gmail.com
Thu May 7 06:41:58 MDT 2009


Tired of making special solutions for every browser?

IE 6, 7 and 8 do not interpret the page in the same manner

Nor does FF and Safari, however Safari FF and IE 8 are more similar
than the others at the moment.

One of the problems is that the different browsers have different
default DOCTYPEs, if you use this
---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
---
On the top of each of your solutions, you will have less problems. Why?
Because this is the DOCTYPE that most browsers renders in almost the same way.

ggt667


More information about the FX.php_List mailing list