MMDT1144
Multimedia and the Web
Week 7
Week 7 General notes:.
|
Using CSS (Cascading Style Sheets) Examples of recent sites where I have used CSS extensively.
Get your files for in class use from here (8 KB zipped). Here is what the unformatted web site looks like before we add CSS. The finished example that we are working on. |
Notes on using CSS Old style HTML tags and attributes that do formatting will overide CSS formatting. So if you have preexisting old style HTML formatting, you will probably want to remove most of it. Examples would be the <font> tag and the background attribute. This can be pretty time consuming for sites that were created without using styles. However by using the menu selection "Commands" - "Clean Up HTML..." and then checking "Specific Tags" and entering "font", all <font> tags can be removed. To apply inline (the most localized) CSS formatting to blocks of text, you need to manually insert '<span style="color:red">your material that is a block of interest that needs to be red</span>' |
This lab is to test your knowledge of being able to use an external Cascading Style Sheet and to be able to apply styles across an entire site. Create a sub folder on your web server named "lab7". Within "lab7" you will create a mini site. This site must contain as a minimum:
Look at this example site for more information. Use your imagination and creative skills. You may use advanced features if you desire. Assignment is due at the next class period. 50% penalty if late.
|