W3C home > Mailing lists > Public > www-validator@w3.org > October 2008

Re: CSS Hacks

From: Jens Meiert <jens@meiert.com>
Date: Mon, 6 Oct 2008 08:21:18 +0200
Message-ID: <9fbcac550810052321s5442a781i9f87b088ef05901a@mail.gmail.com>
To: "Michael Adams" <linux_mike@paradise.net.nz>
Cc: www-validator@w3.org

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:32 GMT