Bear with me as this is all very new to me. My style sheet does not use tables and I am using percentages so that the page is fluid. First I want to know how to space my content (relative to the sidebar) so that it does not go to the far right side of the page when being viewed on large monitors. When I view the page on my 19" monitor, the content area is farther to the right side of the screen than when viewed on a 17" monitor.
I may not be describing this with the technically correct terms, but I hope close enough to get some help.
After I get that taken care of, my next task will be to place an
image on the left side of header that will overlap some into
the sidebar.
Soon, I hope to be able to complete a few more pages and then on to a page to sell a few items!
Here is the style sheet code.
Thanks for any help!
Sheila
.wrapper {
text-align: left;
width: 90%;
background-color: #ffffff;
background-image: url('none');
color: #364b6a;
border: 1px solid #ffffff;
margin: 15px auto;
}
BODY {
font-size: 12px;
font-family: verdana, arial, sans-serif;
background-image: url('images/blueboard.jpg');
background-attachment: fixed;
}
A:link {
color: #617dc6;
text-decoration: none;
font-weight: bold;
}
A:visited {
color: #666633;
text-decoration: none;
font-weight: bold;
}
A:hover {
background-color: #364b6a;
color: #ffff00;
text-decoration: underline overline;
font-weight: bold;
}
A:active {
color: #666633;
text-decoration: none;
font-weight: bold;
}
h1 {
font-family: georgia, georgia, serif;
background-color: #364b6a;
color: #e7e3e3;
font-size: 22px;
font-weight: bold;
border-top: 2px solid #819bb4;
border-right: 5px solid #819bb4;
border-bottom: 2px solid #819bb4;
border-left: 5px solid #819bb4;
padding: 5px;
}
h2 {
color: #364b6a;
font-family: tahoma, arial, sans-serif;
font-variant: small-caps;
font-size: 140%;
font-weight: bold;
letter-spacing: 2px;
}
h3 {
color: #e7e3e3;
font-family: "trebuchet ms", "comic sans ms", arial, sans-serif;
text-align: right;
font-size: 16px;
font-weight: bold;
}
h4 {
font-family: "trebuchet ms", "comic sans ms", arial, sans-serif;
color: #cococo;
font-size: 14px;
font-weight: bold;
}
h5, h6 {
font-size: 100%
font-weight: bold;
color: #000000;
}
.header {
background-color: #364b6a;
color: #e7e3e3;
font-size: 100%;
font-weight: bold;
font-style: italic;
text-align: right;
height: 110px;
padding-top: 40px;
padding-right: 20px;
border-bottom: 1px solid #e7e3e3
}
.header h1 {
font-family: georgia, georgia, serif;
background-color: transparent;
color: #e7e3e3;
font-size: 24px;
font-weight: bold;
font-style: normal;
letter-spacing: 3px;
margin: 0px;
border: 0px;
padding: 0px;
}
.sidebar {
float: left;
width: 180px;
padding: 5px;
}
.sidebar dl {
padding: 3px;
background: #d2dee8;
border: 1px solid #e7e3e3;
line-height: 15px;
}
.sidebar dt {
background-color: #364b6a;
color: #e7e3e3;
font-weight: bold;
padding: 6px;
margin: 2px 2px;
border: 1px solid #d2dee8;
}
.sidebar dd {
padding: 0px;
margin: 2px;
padding: 4px 4px 4px 4px;
background: #819bb4;
color: #e7e3e3;
}
.sidebar dd a:link, .sidebar dd a:visited, sidebar dd a:active {
display: block;
border: solid 1px #364b6a;
padding: 2px 6px 2px 6px;
background: #364b6a;
color: #e7e3e3;
text-decoration: none;
}
.sidebar dd a:hover {
background-color: #ffff00;
color: #364b6a;
border: 1px solid #ffff00;
text-decoration: none;
}
.content {
float: right;
width: 615px;
padding: 7px 7px;
font-family: verdana, arial, sans-serif;
line-height: 20px;
text-align: justify;
}
dt {
font-family: "trebuchet ms", "comic sans ms", arial, sans-serif;
color: #364b6a;
font-size: 16px;
font-weight: bold;
padding-bottom: 10px;
}
dd {
font-family: verdana, arial, sans-serif;
line-height: 1.2em;
font-size: 12px;
padding-bottom: 10px;
margin-left: 25px;
}
.footer {
clear: both;
height: 40px;
background-color: #364b6a;
color: #e7e3e3;
font-size: 75%;
text-align: center;
letter-spacing: 3px;
padding: 5px;
border-top: 1px solid #e7e3e3;
}
.footer a:link {
color: #e7e3e3;
text-decoration: none;
font-weight: bold;
padding: 3px;
border: 1px solid #604020;
}
.footer a:visited {
color: #e7e3e3;
text-decoration: none;
font-weight: bold;
padding: 3px;
border: 1px solid #604020
}
.footer a:hover {
background-color: #ffff00;
color: #364b6a;
text-decoration: none;
font-weight: bold;
padding: 3px;
border: 1px solid #e7e3e3;
}
.footer a:active {
color: #e7e3e3;
text-decoration: none;
font-weight: bold;
padding: 3px;
border: 1px solid #604020;
}
.imageleft {
margin: 2px 5px 0px 5px;
border-right: 6px groove #819bb4;
border-bottom: 6px groove #819bb4;
float: left;
}
.imageright {
margin: 2px 5px 0px 5px;
border-right: 6px groove #819bb4;
border-bottom: 6px groove #819bb4;
float: right;
}
Whew!!! that seems like a lot.....