[webkit-dev] Your opinion on a CSS proposal

Windy Road tom at windyroad.org
Tue Jun 5 23:04:33 PDT 2007


On 06/06/07, Rob Burns <robburns1 at mac.com> wrote:
> I think its an interesting idea. However, perhaps it would be better
> to have an additional property that wouldn't conflict with the font-
> size property. Something like font-size-transform (to avoid conflict
> with font-size-adjust though this could still cause author
> confusion).

I thought about this as well, but when I was developing the demo I
kept thinking "What I really need is a way in CSS to tell the browser
that I don't care what the font size is, just make sure the line
length is X characters, whatever the width of the column is."  This is
why I thought of "font-size: auto"

hmm... maybe line-length is a better option.  e.g. adjusting my previous example

body {
  width: 100%;
  line-length: 62.5em;
}

#main-column {
  width: 80%;
}

#secondary-column {
  width: 20%;
}

Thoughts?

Cheers,

-- 
Tom Howard
http://windyroad.org



More information about the webkit-dev mailing list