I decided to change my website layout, and wanted to try my hand at a CSS layout. I have used style sheets for simple font and color changes, but this time I think have bitten off more than I can chew.
I found a site with layouts for download, and created the graphics I wanted to use. Only problem is, I can't figure out HOW to use the layout. How to make the pages show up where they are supposed to? Do I add the html page names to the layout? And if so, where?
My layout:
* {margin: 0;
padding: 0;}
body {
background-color: #000000;
color: #CD3700;
background-image: url(images/bodybg.jpg);
background-repeat: repeat-y;
background-position: center;
background-attachment: fixed;
}
/* Begin Structure of site '*/
#container {
width: 896px;
padding:3px;
margin: 0px auto;
font-family: Arial, Helvetica, sans-serif;
font-size: .8em;
color: #CD3700;
background-color: #000000;
}
#header {margin-top: 1px;
background-image: url(images/header2.jpg);
height: 320px;
border: 1px solid #A78D84;
}
#left {
float: left;
width: 155px;
color: #CD3700;
background-color: #000000;
padding: 5px;
}
#right {
background-color: #000000;
color: #CD3700;
float: right;
width: 155px;
background-position: right top;
padding: 5px;
}
#content {
margin-left: 170px;
margin-right: 170px;
margin-bottom: 5px;
color: #CD3700;
background-color: #000000;
padding: 20px;
border: 0px solid #A78D84;
}
#footer {
clear: both;
background-color: #000000;
color: #CD3700;
padding: 4px;
border: 1px solid #A78D84;
text-align: center;
}
/* Begin text formatting and image floats */
.imageleft{
float: left;
margin-right: 7px;
margin-bottom: 1px;
}
p{
margin-top: 15px;
margin-bottom: 15px;
}
blockquote{
margin-top: 15px;
margin-bottom: 15px;
padding: 30px;
border: 1px dotted #A78D84;
background-image: url(images/swordtest.gif);
background-repeat: no-repeat;
}
h1{
background-color: #000000;
padding: 5px;
font-size: 1.3em;
color: #CD3700;
margin-top: 5px;
margin-bottom: 15px;
border-top: 1px solid white;
border-bottom: 1px solid white;
}
h2{
background-color: #000000;
padding: 5px;
font-size: 1.3em;
color: #CD3700;
margin-top: 15px;
margin-bottom: 15px;
border-top: 1px solid white;
border-bottom: 1px solid white;
}
.list {
margin-left: 25px;
list-style-image: url(images/redrose.gif);
margin-top: 30px;
}
a:link {
color: #FF3300;
background-color: inherit;
}
a:visited {
color: #FFFFFF;
background-color: inherit;
}
a:hover {
color: #336600;
background-color: inherit;
}
a:active {
color: #336600;
background-color: inherit;
}
/********** Begin top navigation *************/
#navlist
{
height: 2.6em!important;
height: 2.7em;
margin-top: 7px;
padding: 1.7em 0em .3em .4em;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
border: 1px solid #FFFFFF;
}
#navlist a, #navlist a:link, #navlist a:visited
{
border: 1px solid #CCCCCC;
padding: 1.2em;
padding-left: 0.5em;
padding-right: 0.5em;
color: #FFFFFF;
text-decoration: none;
}
#navlist a:hover, #navlist a:active, #navlist a:focus
{
border: 1px solid #FFFFFF;
padding: 1.1em;
padding-left: 0.5em;
padding-right: 0.5em;
text-decoration: none;
color: #336600;
}
#navlist li
{
padding-right: 1px;
display: inline;
font-size: 1em;
}
#navlist ul
{
margin: 0px;
padding: 0px;
}
#navlist #active a {
background-color: #000000;
color: #336600;
font-size: 1em;
font-weight: bold;
}


