Book Home Friday 24th of February 2017 01:52:57 PM Cascading Style Sheets: The Definitive GuideSearch this book

Full Text Search

If you are having difficulty searching, or if you have not used this search utility before, please read this.


Library Navigation Links

Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved. SELECT, not normal paragraph (or other) text.

One limitation under CSS1 is that there isn't a way to distinguish between different types of INPUT elements. If you need to have checkboxes be a different color than radio buttons, then you'll need to assign them classes so that you get the desired result (seen in Figure 6-13):

INPUT.radio {color: #666666;}
INPUT.check {color: #CCCCCC;}

8.2.2.2. Using auto

If only one of width , margin-left, or margin-right is set to a value of auto, while the others are given specific values, then the property set to be auto will evaluate to whatever length is required to make the element box's width equal the parent element's width. Thus, if the sum of the seven properties must equal 400 pixels, and no padding or borders are set, and the right margin and width are set to 100px while the special rules in addition to everything discussed so far. List itemsare typically preceded by amarker, such as a small dotor a number. This marker isn't actually part of thelist-item's content area, so you get effects like thoseillustrated in Figure 8-25.

Figure 8-25

Figure 8-25. The content of list items

that I specified the text for the subject line (the sender can change this). I could also specify ?cc= or ?bcc= and list e-mails to receive copies or blind copies. Navigator handles any one of these options; Explorer can handle all three. Here's a link to my
e-mail:  so you can complain about this page.  The link encloses both the image (with default border) and the blue underlined text.  Note that I specified the text for the subject line (the sender can change this). I could also specify ?cc= or ?bcc= and list e-mails to receive copies or blind copies. Navigator handles any one of these options; Explorer can handle we've already covered. Some good examples of inline elementsare theEMtag and theAtag, both of which are nonreplaced elements, and images,which are replaced elements.

WARNING

Note that none of this applies to table elements.