CSS For Web Design
CSS (Cascading Style Sheet) is used for the design and appearance of your web page/site. Before CSS was launched, old style websites used tables to layout the different sections of a page. The problem with tables is the amount of excessive code that's required from having large tables and tables within tables etc. These drastically increases the size of your website and slow down the time that each web page takes to load.
CSS uses separate files containing ALL of your style and layout code which is far more effective and easier to manage. By using CSS you can keep your website clean, tidy, and place objects wherever you want them to sit on your web page.
How CSS Works
As mentioned above CSS uses separate files which contain all of your styling code. These files link directly to your web pages meaning that you don't need to place excessive code on them.
An example of a CSS file and how it connects to your web page:
CSS file:
stylesheet.css
Link in the head section of your web page:
<head>... <link rel="stylesheet" type="text/css" href="stylesheet.css" /> ...</head>
Creating a CSS File
You can create a CSS file using a text editor (notepad, wordpad) but if you have access to it we would recommend using a program such as Macromedia Dreamweaver for the ease of use. The stylesheet itself can be named anything you like as long as you save it with the correct extension of '.css' (thisismystylesheet.css).
Find out how to use cascading style sheets to create your web page layout and design in our next web design article. If you need any help or advice regarding css then feel free to contact us at www.cheapwebdesign.co.uk and a web designer will be glad to assist you.
Our Location
Cheap Web Design
249 Waldegrave Road
Twickenham
Middlesex, TW1 4SY
Web Design FAQs »
Whats the best way to request a web design quote?
Who will design my website?
What are the pricing options for your search engine optimisation services?
