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.without increasing the height. This could possibly mean adding ascrollbar to the element, as shown in Figure 8-4.
Figure 8-4. One way to handle a short height on a tall element
In practice, most browsers will not do this. They will instead simplyincrease the height of the element, as though the value ofheight had been set to auto.This is permitted under CSS1, which states that browsers can ignoreany value of height other thanauto if an element is not a replaced element such
- 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)
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.