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

Tim 'Webko' Booth tim at nicheit.com.au
Thu May 7 08:25:47 MDT 2009


Dear ggt,

On 07/05/2009, at 10:41 PM, Gjermund Gusland Thorsen wrote:

> 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.

I'd like for that to be true, but IE6 (still 20%+ of my users) will  
fail this rather badly - it didn't (and never will) have proper XHTML  
1.0 compliance. If only IE had actually followed the standards in the  
first place!!

Use of IE 6 specific style sheet hacks will get around the worst of  
it, but sometimes I still have to resort to table based layouts for  
very-very-backwards compatability. Which sucks.

Cheers

Webko


More information about the FX.php_List mailing list