Re: Re: Start -> Shut Down -> Log Out

[prev] [thread] [next] [lurker] [Date index for 2006/07/12]

From: peter (Peter da Silva)
Subject: Re: Re: Start -> Shut Down -> Log Out
Date: 19:50 on 12 Jul 2006
> > (insert hate about CSS taking the whole "no tables" things too seriously
> > and refusing to have grid layout as an option, just to turn it up to 11)

> Actually it does, it's just not supported in IE so nobody bothers with  
> it.  That or people think it's just there for styling existing tables.

> http://www.w3.org/TR/REC-CSS2/tables.html

No, no, I don't mean "CSS doesn't support tables".

CSS has a lot of really cool stuff for making tables look good, and it's
great, and I use it all over the place.

The problem is that back when CSS was being developed people were abusing
tables for layout in inappropriate ways, and CSS doesn't seem to have a way
to specify grid layout in the CSS file... instead people come up with the
most insane workarounds to do simple stuff like three-column layout and
then pat themselves on the back so hard they need a chiropractor on retainer
when they figure out how to keep it from messing up more than occasionally
in either IE or Gecko-based browsers.

IE, instead of having 30 lines of obscure layout code, you should be able to
say something like:

... page {
  layout: grid rows 1 columns 3;
  columns: "left", "center", "right";
}

... page left {
  width: max 30%;
}

... page center {
  width: min 300px max 70%;
}

... page right {
  width: min 100px max 10%;
}

I mean, CSS Zen garden is a tour de force, but it's like they're building a
boat in a bottle using a remote manipulator that only accepts commands in
haiku.

There's stuff above here

Generated at 23:01 on 05 Dec 2006 by mariachi 0.52