Week 1 - CSS Basics: Fonts and Colors

Homework Assignment:

Template 1      Template 2

Both use the "mystyle" style sheet.

mystyle.css

body {color: navy; background: gray url(bg56.jpg); 
background-attachment: fixed;}

P  {color: navy; font-family: Comic Sans, cursive, 
arial, verdana, sans-serif; font-size: medium;}

H1  {font-family: Comic Sans, cursive, arial, verdana, 
sans-serif; text-align: center; color: purple;}

H2  {font-family: Comic Sans, cursive, arial, verdana, 
sans-serif; text-align: center; color: purple;}

H3  {font-family: Comic Sans, cursive, arial, verdana, 
sans-serif; text-align: left; color: purple; font-weight: bold;}

TABLE  {font-family: times new roman, times, serif; width: 70%; 
text-align: center; color: green; background: silver; font-weight: bold;}

A  {font-size: medium; font-family: Comic Sans, cursive, 
arial, verdana, sans-serif; color: lime;}

li {text-transform: none; font-style: italic; 
font-family: Comic Sans, cursive, arial, verdana, sans-serif; 
text-align: left; text-indent: 50px; background: purple; color: silver;}

Fixed Background Image
Another Fixed Background Image Page
using my PSP On the Move Saturday Animation

The first one uses the "mycss" style sheet.

mycss.css

body {background: #0D9A55 url(exposedfrog.jpg); 
background-repeat: no-repeat; 
background-position: 100px 100px;}

P  {color: navy; font-family: "Comic Sans", 
arial, cursive, verdana, sans-serif; 
font-size: medium;}

H1  {font-family: "Comic Sans", arial, cursive, 
verdana, sans-serif; text-align: center; 
color: purple;}

H3  {font-family: "Comic Sans", arial, cursive, 
verdana, sans-serif; text-align: left; 
color: purple; font-weight: bold;}

A  {font-size: medium; color: lime;}

Go on to Week 2
Back to CSS Index Page
My VU Index
Send me mail My Home Page