jaklitsch maya wrote:
> I just tried to validate a recent style sheet and was given 4 errors.
> 
> 
> I thought the shorthand for border is
> 
> border: size style color;

Yes, in any order.
However this...

> border:1px thin #f7e0d5;

...contains two width-values - '1px' and 'thin', and a color-value.
No style-value present, so it is not a valid shorthand.

I think what you want is 'border: 1px solid #f7e0d5;', which contains
'width', 'style' and 'color'.

See: <http://www.w3.org/TR/CSS21/box.html#border-properties>

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to