/* These over ride an html element behavor */ h1 { text-align: center; text-decoration: underline; font-weight: bold; } body { color: blue; background-color: silver; } p { text-indent: 10px; } /* Do you notice there are not font examples? Web designers tend to play with font too much */ /* Here we have defined a class which can be used over and over */ .nav { position: absolute; top: 15; left: 15; width:200px; background-color: gray; } /* Here is an id. It can be called only once per web page. ID allows setting anchor points within the page */ #top_of_page { background-color: teal; } /* here's a fun one for table cells when you have a default color in the table */ .clear { background-color: transparent; } /* pick one and try it. Repeat body { background-image: url (image.bmp) background-repeat: repeat-y; } body { background-image: url (image.bmp) background-repeat: repeat-x; } body { background-image: url (image.bmp) background-repeat: no-repeat; } body { background-image: url (image.bmp) background-repeat: no-repeat; background-position: 50% 50%; } body { background-image: url (image.bmp) background-repeat: no-repeat; background-attachment: scroll; } */