Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
User Journal

Journal m0smithslash's Journal: Cascading Style Sheets: The Definitive Guide - Pages 26 - 34

Cascading Style Sheets: The Definitive Guide From the first edition - 2000 - Pages 26 - 34

Multiple descriptors are separated by ;

By using the CLASS attribute on HTML tags and the class selector, style can be applied to a variety of elements, not just all instances of a given HTML tag. A class selector is:.class { declarations; }. ID selectors work the same way, only they start with a # and apply to ID attributes instead of CLASS. ID should be unique in a given document, there should only be one element given a specific ID.

This discussion has been archived. No new comments can be posted.

Cascading Style Sheets: The Definitive Guide - Pages 26 - 34

Comments Filter:

Deliver yesterday, code today, think tomorrow.

Working...