Re: Inline Style Sheet Question

> If there is a style in the author's style sheet that just makes the font
> red, for example: 

A typical abuse of style sheets.

> 	.red {
> 		Color: red;
> 	}
> 
> Then I must have that same class defined in my user-defined style sheet?

No.  You must, at the same importance level, have at least as many selectors
for that attribute, e.g. p { color: red } would override, but {color: red}
would not.  !important would cause an override because the author hasn't
used it.

Received on Wednesday, 6 April 2005 21:55:01 UTC