| The University of Adelaide | Home | Faculties & Divisions | Search |
![]() |
![]() |
You are here: |
![]() Further Enquiries
Online Media |
Using Cascading Style SheetsOnline Media has done extensive work creating style sheets that ensure web content looks consistent across multiple pages, web browsers and computer platforms. By separating the presentation style of documents from the content of documents, Cascading Style Sheets simplify Web authoring, development and mark-up. Explicit formatting can cause unexpected results, and so formatting options other than those listed should be avoided, that is, avoid using font tags to change the font used, the font size and the font colour. These extra font tags are incompatible with the University styles and will not be applied to the text when the page is displayed. They may also interfere with any heading styles applied to the text, causing the text to appear without any of the formatting applied. The few examples below utilise class properties defined in the Uni global style sheet. If you require additional styling for web content, please consult with Online Media for customisation of the site <header.html> and <style.css>. View the basic university style sheet for a list of classes and properties. For further information concerning CSS visit W3C Schools.
Suggested Table Colour SchemesTable row/cell colour styles are available as 'classes' from the University style sheet. It is suggested that web maintainers use styles rather than embedding colours in content tables. These colour schemes are NOT intended to be used all at once, but rather as individual combinations to emphasise aspects of your tabular data. Table content should also incorporate 'headers' and preferably contain a 'table summary'. Examples of table row/cell colour styles and the corresponding 'class' are displayed below. <table class="light">
<table class="split">
Example Content Elements
Applying Styles to HTMLTo apply the styles in a HTML page, use the class attribute. First open the webpage in the text editing area of your HTML editor. In the HTML tag of the text you want to format, use the class attribute with the appropriate style. For example:
|
|||||||||||||||||||||||||||||||||||||||||||||
|
Copyright © 2009 The University of Adelaide Last Modified 22/11/2009 Online Media team CRICOS Provider Number 00123M |