|
Team: Webteam Task list Roles Technology: PHP Perl CSS PmWiki Links Development notes Website: About All recent changes Tararua Tramping Club - CSS usageCascading Style SheetsSeparates formatting from content. Assists with consistent layout, formatting, and style across the entire web site. Also makes files smaller and conseqently quicker to load.
TTC CSS Usage
CSS Usage
<a> anchor heading 1heading 2heading 3<h4> heading 4 <h5> heading 5 <h6> heading 6 ul <ol> ol .stdtbl class stdtbl .stdtbl-right class stdtbl-right .pixcaption class pixcaption .highlight class highlight .webmaster class webmaster ReferencesThis site uses CSS 1 and CSS 2. See W3C CSS. A List Apart glish Backward CompatibilityTo maintain compatibility with verion 4 browsers the web site is tested with Netscape 4.8. The following is done to provide reasonable viewing In ttc.css background-color : inherit is replaced with background-color : transparent or #F5EEE4, this stops NS4 displaying a lime green background. border="0" is retained for table and img tags align="right" is retained for img tags that are to be right aligned Test ExamplesThese examples show a range of variations relating to HTML and CSS that can be tested against different browsers to demonstrate why certain constructs were chosen. <div align="left"> </div> <div align="center"> </div> <div align="right"> </div> <div style="width: auto; float: left;"> </div> <div style="width: auto; margin-left: auto; margin-right:auto;"> </div> <div style="width: auto; float: right;"> </div> <div align="left" style="float: left;"> </div> <div align="center" style="width: auto; margin-left: auto; margin-right:auto;"> </div> <div align="right" style="float: right;"> </div> |