W3C home > Mailing lists > Public > www-style@w3.org > April 2004

Re: complexity (was: Re: XHTML and RDF)

From: Orion Adrian <oadrian@hotmail.com>
Date: Fri, 9 Apr 2004 13:24:55 -0400 (EDT)
Message-ID: <BAY1-F122D6laL5w9Od0002d561@hotmail.com>
To: www-style@w3.org




> > CSS has problems that haven't been addressed [sic].
>Could you point them out to us?

To be fair I'm using CSS 2.1.  That and CSS3 just makes my head spin.

One key issue, is portability.
* Certain properties should be properties of the parent and not the child 
like positioning. If I want to transfer something to another document I 
can't because I can no longer control where it goes.
* The various values for "display: table*" seem to be a kludge solution.
* Things I can do very simply in Word with tabs seem to be lost. If I want 
three peices of text (one left aligned, one center-aligned and one right 
aligned, it's very difficult to do and pretty much requires me to rely on 
one of the "display:table*" values, which don't particularly play nice with 
certain structures.
* For lengths based on px, pt, em and ex I can't add values of different 
types. Here's an example scenerio:
  I have a three column layout.  The left and right columns have borders 
that are 1px and content widths of 20em and outside margins of 2em. I'd like 
to be able to specify that the left and right positions of the center 
columns are 22em+2px.
* Currently I'm stuck with making everything the same unit.
* It seems impossible to properly add units of em and ex since they're based 
on the box's font size and not the page's font size.
* Is there not a reason that CSS doesn't just use a body-level font-size and 
make elements specify font-sizes as percentages of the body font size. That 
would fix all the problems with adding em and ex together outside of the 
inability to add non-like units together. It would also have the side effect 
of making a simpler implementation.
* For the sake of everyone, get rid of "text-decoration: blink"
* float shouldn't exist. It should be a combination of properties (position 
and a new property that specifies to cut out the area the box occupies from 
boxes inside it forcing flow around it.

That's all the time I have for now, but I'll be sure to address some more 
later.

Orion Adrian

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar  get it now! 
http://toolbar.msn.com/go/onm00200415ave/direct/01/
Received on Tuesday, 13 April 2004 04:27:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:29 GMT