Professional Documents
Culture Documents
By Greg Bowden
Chapter 13
www.gct.com.au
© Greg Bowden
Every effort has been made to ensure that images used in this
publication are free of copyright, but there may be instances where
this has not been possible. Guided Computer Tutorials would
welcome any information that would redress this situation.
Chapter
13
Laying out a CSS Based Page
Style sheets can not only be used to record the text formatting of a page they can also be
used to store the layout information as well. Laying out pages using CSS styles involves
storing all the text format and layout information in a separate CSS STYLES SHEET file.
The advantages of doing this are:
• There is less code in the page so the page loads faster.
• The pages can be made to look the same on different sized screens.
Laying out pages using CSS styles is a little more involved than entering text and images
straight onto a page, but it has become the standard way of creating detailed web page
designs, so it is worth the initial effort.
To make the process easier a new site will be created. The pages will have the following
structure, without a table being used.
Company Banner
Main Navigation
Navigation
Secondary
Content
The page layout will be created in this chapter and content added to it in the next
chapter.
6 Access your STORAGE folder and create a new folder called TRAVELWISE2, referring
to the following diagrams.
Windows Macintosh
13-2 © Guided Computer Tutorials 2009
Laying Out a CSS Based Page 13
2 Display the FILE menu and select NEW to create a new page.
Windows Macintosh
13-4 © Guided Computer Tutorials 2009
Laying Out a CSS Based Page 13
1 Close the TW.CSS tab. The file does not need to be open to store data.
DreamWeaver will write the code to that file for you.
2 The INDEX page should be open.
5 Locate the TW.CSS file in your TRAVELWISE2 folder and select OK or CHOOSE,
referring to the following diagrams.
Windows Macintosh
NOTE: The TW.CSS file will store all the formatting and layouts that
you do over the next few chapters.
13-6 © Guided Computer Tutorials 2009