W3C home > Mailing lists > Public > www-archive@w3.org > November 2002

in defense of CSS

From: Aaron Swartz <me@aaronsw.com>
Date: Wed, 27 Nov 2002 15:32:25 -0600
Cc: public web archive <www-archive@w3.org>
To: Jeff Darcy <jeff@atyp.us>
Message-Id: <B8DB3F3C-024F-11D7-A048-003065F376B6@aaronsw.com>

In http://pl.atyp.us/p2/entry.php?2002/November/25a you wrote:
> We don't really need padding and borders and margins as separate 
> concepts, because they all do basically the same thing.

Your design seems to ignore the issues of *cascading* style sheets. How 
would a subsheet override your magical border declaration without 
wiping out all borders?

Your nesting-step proposal seems like an advanced version of float. I'd 
do it this way.

#topnav { float: top !1;}
#leftnav { float: left !2;}
#rightnav { float: right !2; }

What're the position pixel numbers for?

> Another common need is for columns within a box.

This is in CSS3.

> CSS is a terrible design.

Then why have you only pointed out warts instead of design flaws?

> if CSS is the best design you've seen then you need to get out of the 
> W3C pig wallow more.

I'd still like to see alternative proposals.

I suspect there are major improvements that can be made, but they don't 
come easily and CSS works well. By comparison, the major brokenness and 
possible solutions of email, IRC, etc. are obvious.

-- 
Aaron Swartz [http://www.aaronsw.com]
Received on Wednesday, 27 November 2002 16:32:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:24 GMT