On 12/31/07, Sebastiaan Besselsen <[EMAIL PROTECTED]> wrote:
> I don't particularly like the HTML box model. I think the learning
> curve is actually too high. In my opinion, a box with a width of
> 100px should be just that, 100px wide. Anything beyond that is
> superfluous and displeases god and nature. So that's my opinion about
> where the margins and borders should go in the "width =" equation.

I absolutely agree. CSS is a monster. It is infinitely better than the
table nightmares it replaced but it is still heinous in the extreme
and inflicting it on innocent children is a terrible, terrible thing.
Width should mean width.

Width should either take a number

:width => 123

or an array:

:width => [:margin => 1, :text_space => 2, :border => 3]

-- 
Giles Bowkett

Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com

Reply via email to