/* 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: #bdbf8e;}body {margin: 3%;background-color: #e4e9c1;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: .8em;border: 5px #486ba1 solid;}/* 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: #486ba1;margin: 0px;color: #bdbf8e;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 #bdbf8e solid;}h2 {background-color: #486ba1;color: #e4e9c1;padding-right: 3px;padding-left: 3px;padding-top: .5%;padding-bottom: .5%;font-weight: bold;font-size: 1.6em;text-align: left;margin: 0px;}h3 {border-bottom: 2px #486ba1 solid;font-size: 1.3em;font-style: italic;font-weight: bold;color: #486ba1;text-align: left;padding-left: 3px;}h4 {color: #486ba1;padding-right: 3%;padding-left: 3%;font-weight: bold;text-decoration: underline;font-size: 1.1em;font-style: italic;text-align: left;}/* 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: #6d6c40;color: white;}a:visited {text-decoration: none;background-color: #6d6c40;color: white;}a:hover {background-color: #424227;}a:active {background-color: #422015;}p {margin-left: 3%;margin-right: 3%;margin-top: 2%;margin-bottom: 2%;}blockquote {background-color: #a8d9f0;color: #486ba1;font-style: italic;margin-right: 6%;margin-left: 6%;font-weight: bold;padding: 5px;}/* 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 #486ba1 solid;display: table;border-collapse: collapse;border-spacing: 0px;background-color: #a8d9f0;color: #486ba1;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: #486ba1;color: #e4e9c1;}td, th {border: 1px #486ba1 solid;padding: 5px;}
