Cascading Style Sheets
Get the Cheatsheet here
Cascading Stylesheets are a means to layer instructions to a webpage or browser downloading the webpage.
Cascading works a bit like:
- In all cases do this unless I tell you usomething different - eg. make all <h3> tags have a yellow background
- In this case do this - make on this page <h3> have a green background
- Down to - for this one single case - make the <h3> blue
So you set up a seperate file with a file name extension (ending in) .css
At the top of your html file, you then set up a link to the file - to tell the browser where to find your .css file.
It will look something like:
<link rel="e;stylesheet"e; href="e;brian.css"e; type="e;text/css"e;>