- Cascading Style Sheets
- XSLT does a great job with the process but the vast audience want to render their own content with the supplied styling. Styling is applied at multiple levels though out the document processing and even an update-able aspect at the clients rendering browser. CSS technologies rely on the end users presentation engine which causes some conflict with desired design and technical functionality.
- There are many "best practices" that convey some good ideas but get lost in the execution of the idea. One very common and very good plan is to reset the element defaults on page load which enables both the design and the technical aspects of a site.
- Reset
- An example first:
div{margin:0px;padding:0px;}When placed at or very near the top of a style cascade this will "reset" the margins and padding for a DIV tag to a known value. In this example I set the values to 0px or zero pixels so that positioning of the box model is clean.