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.
Cascading Style Sheets: The Definitive Guide - Pages 26 - 34 More Login
Cascading Style Sheets: The Definitive Guide - Pages 26 - 34
Slashdot Top Deals