On Tue, 14 Jun 2005, Tony wrote:
Justin Lieb wrote:
I would use shorthand on some your properties as well:
By shorthand, you mean
border: thin solid black;
rather than
border-width:thin;
border-style:solid;
border-color:black;
right?
there's also border-top-width, border-right-width, and so on, if you
want/need to spell it out in every tedious detail... see e.g the
navigation area at http://www.w3.org/TR/CSS21/box.html
I'm curious: other than simplifying the coding,
I'd see that as a benefit: smaller CSS files, less to transfer over
the net, in theory less to go wrong.
Early browser implementations of CSS were rather buggy in this area,
and some of us got accustomed to specifying both forms, in the hope
that this or that browser would grok at least one of them. But by now
that sort of nonsense should be finished, and those who are using old
buggy browsers have surely got accustomed to less than ideal results
on other web sites, and with a reasonable attitude to flexible design
(which IMHO probably means using float in preference to absolute or
fixed positioning, where bugs can all too easily result in overlapping
areas), they should at least get a usable page, even if its cosmetics
leave something to be desired.
If all else fails they can disable (author) stylesheets, one way or
another.
imho and ymmv, anyway.