HOMEWORK PAGE
CIS 58.51C - Cascading Style Sheets
Pat Delaplane
Lesson 5-6 Text and Font Properties
The properties I have used in the .css style sheets on these pages include
- font-family | different style fonts on different pages
- font-stretch | enlarges the font horizontally
- background-color | sets color behind an element
- margin-top | sets the top margin of the element
- margin-left | sets the left margin of the element
- line-height | sets the space between lines
- font-weight | this is set to bold
- font-style | this is set to italic
- font-size | this varies the font from small to large
- color | sets the color of the font
- margin | this I set to auto which means that it expands or contracts to fit a browser window
- text-align | center and justify are the two values I have used
Lesson 3-4 CSS Basics
lesson 1 cleaned
creative WP CSS file
Cascade Sampler
cascade.css file
Selector Sampler
Lesson 1 - XHTML
Here is the page from the
original site
Here is the page with the tables, javascript and images of text stripped out of it
Old Code
Here is the Clean Code that validates
CGAUX Site
original site|
old code no java, no tables|
clean code