Design Point
This box has been absolutely positioned using CSS
Good free CSS template designs
Tetris
A good well styled
CSS page built with tables
Andreas09
Cool design, autostretches to resolution
Prozac-afternoon
Centred high quality CSS design
Reference Files
All these are in .doc format or .pdf format. If
you do not have these then use the text files
Text files
(1) CSS Syntax (2) CSS Layout
Get Adobe Acrobat Reader
The use of CSS styles is now almost universal in web page design. Styles will control the appearance and the layout of the site.
Most site use an external CSS file so that the site style can be applied to all pages and style changes will cascade down through the pages.
This is a complete intro to CSS with a dreamweaver slant.
Design point
This is
a container nested within the one with the coloured background
CSS Locations
Dreamweaver will create these last two for you. You will need to type inline tags into the code.
CSS Syntax and Principles
So why do you need to know CSS syntax? Dreamweaver inserts the CSS code automatically into your document or external file , so it isn't obviously vital. However if you want to insert some custom CSS yourself or more importantly build a page directly from CSS for its layout it becomes somewhat more crucial.
Style command syntax is name colon value semicolon Case is insensitive
Eg color: red – within the bold tag it will be <b style=”color: red”>red text</a>
Within a style block or external file the syntax is b { color: red; }
Empty tag containers
There are two of these used to hold style commands <span> <div>
Eg <span style=”color: red”> this is red</span>
<div style=”color: red”> this is red</div>
If working with an advanced CSS tag (Set up in Dreamweaver as #box1 or whatever...)
<div id="box1">Content of box1...</div>
<div> is used as a block container to hold content specified for a block of content as in the <p> tag wheras <span> is used within a block to change style
The term ‘selector' is used to describe the CSS commands in the same way that HTML uses ‘tag' Sometimes the opening commands are termed tags <style>, <div> , class= etc
CSS (Cascading Style Sheets) is a language for describing the rendering of HTML and XML documents on screen, on paper, in speech, etc. To bind style properties to elements in the document, CSS uses selectors, which are patterns that match one or more elements.
http://www.w3.org/TR/2001/CR-css3-selectors-20011113/#selectorsThis page is entirely laid out and styles using CSS.
Reference Files and Page Design
This page is entirely laid out and styles using CSS. There are no tables.