Please create an account to participate in the Slashdot moderation system

 



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:

"Gravitation cannot be held responsible for people falling in love." -- Albert Einstein

Working...