CSS Style Sheets & Tips
Library projects must use valid Cascading Style Sheets (CSS) to control typography, color, and other layout elements. Style Sheets must be linked in a way that accommodates the capabilities of new and old browsers.
- CSS Guidelines 1, 2, 3
- Introduction to CSS (with examples), CSS definitions and benefits, tips on authoring, plus extensive resources
- Steal These Style Sheets!
- Style Sheets for your use in Library projects
- CSS Validation
- Ensuring that your Style Sheets are error–free (same as XHTML validation)
Figure 7-16. Collapsed versus uncollapsed margins
Correctly implemented user agents will collapse the verticallyadjacent margins, as shown in the first list in Figure 7-16, where there are 15-pixel spaces between eachlist item. The second list shows what would happen if the user agentdidn't collapse margins, resulting in 25-pixel spaces betweenlist items.
Another word to use, if you don't like "collapse,"
A number of valid Style Sheets have been provided for your use. If you wish to create your own Style Sheets, please discuss your requirements with the Branch Library's Web Coordinator.