Changes

Jump to: navigation, search

Understanding Cascading Style Sheets (CSS)

1 byte added, 17:58, 17 May 2007
Using Classes with CSS Rules
== Using Classes with CSS Rules ==
The techniques we have looked at so far are good for specifying styles for either all tags of a certain type, or for individual tag (either by id or byu specifying a style by embedding it into the HTML tag itself). The ''class'' attribute can be used when a style needs to be applied to a range of tags. A 'class' style rule is specified by prefiong the class name with a dot (.):
<pre>

Navigation menu