Chapter 4. CSS Selectors


In the preceding chapters, we used a number of selectors, most of which select elements by their type (for example, H1 or P). This chapter describes all the possible ways in which elements can be selected, from simple ones, such as the type selectors, to advanced, such as selectors that look for elements with a combination of characteristics.

We start with the simple selectors, and most common ones, and show how they can be combined into powerful but still simple selectors. The second half of this chapter discusses advanced selectors.



Cascading Style Sheets(c) Designing for the Web
Cascading Style Sheets: Designing for the Web (3rd Edition)
ISBN: 0321193121
EAN: 2147483647
Year: 2003
Pages: 215

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net