/* Make sure you've got a page with well-formed standards based HTML 4.01, link it to this style sheet and you should see the result straight away. *//* The <html> element is just that, an element. So there's no reason why you can't give it its own style then make it appear around the <body> using a margin - that's all we do here. You might even like to add your own background image properties to this element to get an even more dynamic effect. */html {background-color: #3a6750;}body {background-color: #d5d7d2;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: .8em;margin-left: 20px;margin-right: 20px;margin-bottom: 0px;margin-top: 0px;}/* The following gives a special effect for <h1> elements which works best if there is only one of them on at the top of each page - so they are a sort of title. */h1 {background-color: #195039;margin: 0px;color: #7bab83;font-size: 1.8em;padding-left: 3px;padding-right: 3px;padding-bottom: 5px;padding-top: 5px;text-align: right;letter-spacing: 2px;font-style: italic;border-bottom: 20px #3a6750 solid;margin-left: -20px;margin-right: -20px;font-weight: normal;}h2 {background-color: #7bab83;color: #195039;padding-right: 3px;padding-left: 3px;padding-top: .5%;padding-bottom: .5%;font-weight: normal;font-size: 1.6em;text-align: left;margin: 0px;}h3 {border-bottom: 3px #195039 double;font-size: 1.3em;font-style: normal;font-weight: bold;color: #195039;text-align: left;padding-left: 3%;padding-right: 3%;}h4 {color: #195039;padding-right: 3%;padding-left: 3%;font-weight: bold;font-size: 1.1em;font-style: normal;text-align: left;text-decoration: underline;}/* The following four selectors allow you to select links when they are in the four different states: link - before they have been visited, visited - after it has been visited, hover - when the mouse is over the link, active - when the user clicks the link. */a:link {text-decoration: none;background-color: #7bab83;color: black;}a:visited {text-decoration: none;background-color: #7bab83;color: black;}a:hover {background-color: #3a6750;color: white;}a:active {background-color: #195039;color: white;}p {margin-left: 3%;margin-right: 3%;margin-top: 2%;margin-bottom: 2%;}blockquote {background-color: #3a6750;color: white;font-style: italic;margin-right: 6%;margin-left: 6%;font-weight: bold;padding: 5px;border-top: 3px #7bab83 solid;border-bottom: 3px #7bab83 solid;}/* This section of the style sheet has just a few selectors and properties to help you find your way around adding style to regular, standards-based HTML 4.01 tables (ie, a table to be used for presenting tabular information). *//* The following selector selects the table as a whole and gives it a background color and a border. The last couple of properties might be unfamiliar to you. border-collapse allows you to specify that adjacent borders should collapse onto one another. border-spacing allows you to specify a gap between the borders of cells in a table, or in this case that there should be no gap. You'll find these properties in Style Master on the Display Type Editor. */table {border: 1px #3a6750 solid;display: table;border-collapse: collapse;border-spacing: 0px;background-color: #7bab83;margin-left: 5%;margin-right: 5%;width: auto;}/* Using the <th> element for cells in the top row of an HTML table means that it is easy to apply a different style to this row and make it stand out from the rest of the table. */th {text-align: left;background-color: #195039;color: #d5d7d2;}td, th {border: 1px #3a6750 solid;padding: 5px;}
