Re: CSS Hacks

> The more i work in CSS the more i notice that all browsers need hacks.

That's a myth, fortunately, even though that myth's not uncommon. The
classic problem child is Internet Explorer, and there are a few
concepts and options to address problems with it (like e.g.
understanding "hasLayout" [1] and being aware of certain
implementation flaws [2]).

> A future main CSS file could look like this

That reminds me of "Choke" [3], however, keep in mind that maintenance
and collaboration are two important aspects when it comes to CSS
development, and the question here is if having related rules in
separate style sheets is helpful in that regard (apart from
considerations where you import the style sheets - should never happen
w/in the HTML - as well as their impact on performance due to
additional HTTP requests).


[1] http://www.satzansatz.de/cssd/onhavinglayout.html
[2] http://www.positioniseverything.net/explorer.html
[3] http://meiert.com/en/blog/20071113/choke/

-- 
Jens Meiert
http://meiert.com/en/

Received on Monday, 6 October 2008 06:21:59 UTC