/* 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: #93451e;}body {margin: 3%;border: 5px #5c2717 double;background-color: #e7dfd4;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: .8em;}/* 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: #a95728;margin: 0px;color: #e7dfd4;font-size: 2em;padding-left: 3%;padding-right: 3%;padding-bottom: 1%;padding-top: 1%;border-bottom: 1px #5c2717 solid;}h2 {background-color: #a76624;color: #e7dfd4;border-top: 1px #5c2717 solid;border-bottom: 2px #5c2717 solid;padding-right: 3%;padding-left: 3%;padding-top: .5%;padding-bottom: .5%;font-weight: bold;font-size: 1.6em;margin: 0px;}h3 {padding-right: 3%;padding-left: 3%;border-bottom: 2px #5c2717 solid;font-size: 1.3em;font-style: italic;font-weight: bold;color: #5c2717;}h4 {color: #5c2717;padding-right: 3%;padding-left: 18%;font-weight: bold;text-decoration: underline;font-size: 1.1em;font-style: italic;}/* 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: #5c2717;color: white;}a:visited {text-decoration: none;background-color: #5c2717;color: white;}a:hover {background-color: #a76624;}a:active {background-color: #a95728;}p {margin-left: 18%;margin-right: 2.5%;margin-top: 2%;margin-bottom: 2%;}blockquote {background-color: #5c2717;color: white;font-style: italic;margin-right: 5%;margin-left: 20.5%;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 #5c2717 solid;display: table;border-collapse: collapse;border-spacing: 0px;margin-left: 5%;margin-right: 5%;width: auto;background-color: #e7dfd4;}/* 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: #93451e;color: white;}td, th {border: 1px #5c2717 solid;padding: 5px;}
