|
seems to me no one here really gets the syntax of CSS. It's quite simple really. All mulitple word commands are connected by a "-". Whether it is a propety or value. If you wanna ad color to the bottom border and only the bottom border it would
.Classname{border-bottom:Style Size Color}
Styleis equal to: ridge,groove,inset,outset,solid,dashed,dotted,or inherit
Size is equal to: xx-small through xx-large or a unit(px)
and Color is any hex value or color name.
Validating code is quite simple really it's just attention to detail.
Even if you still with to use deprecated elements you can validate using transitional instead of strict.
|