[Grok-dev] Re: Best practive for browser quirks...

Sebastian Ware sebastian at urbantalk.se
Mon Nov 26 07:47:40 EST 2007


Keeping track of the browser and choosing the appropriate css would be  
great.

What I would find useful is if one had a base css-file and then  
optional "diff-files" that modified that base file depending on which  
browser is accessing the website. That way one could incrementally  
modify the css "diff-files" when rendering bugs appear without messing  
upp the rendering on other platforms.

I am thinking that a "diff-file" would look just like an ordinary css:

MSIE.css-diff
.bodytext {
    font-size: 24px;
}

...meaning font-size of the class .bodytext would be replaced if the  
browser is MSIE.

Mvh Sebastian

23 nov 2007 kl. 16.45 skrev Lennart Regebro:

> - A utility that does browser recognition + keeps a list of browser  
> quirks.



More information about the Grok-dev mailing list