Here is my CSS code. I don't know if it makes a difference or not but this is my original CSS, after I restored my site back after seeing that last idea of the div tag didn't make a difference. Thanks, Dano
Code:
@charset "utf-8";
/* CSS Document */
#sidebar1 h1 {
font-size: 95%;
font-weight: bold;
}
#sidebar1 ul {
list-style-type: none;
margin: 0px;
padding: 0px;
font-size: 85%;
}
.thrColFixHdr #container {
width: 900px; /* the auto margins (in conjunction with a width) center the page */
background: url(../Images/tri-color-bg.gif) repeat-y;
background-color: #fff;
border: 1px solid #FFFFFF;
text-align: left; /* this overrides the text-align: center on the body element. */
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
}
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #666666;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
}
.thrColFixHdr #header {
background: #DDDDDD;
padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
}
.thrColFixHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.thrColFixHdr #sidebar1 {
float: left; /* since this element is floated, a width must be given */
width: 150px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* padding keeps the content of the div away from the edges */
padding-top: 15px;
padding-right: 15px;
padding-bottom: 15px;
padding-left: 15px;
}
.thrColFixHdr #sidebar2 {
float: right; /* since this element is floated, a width must be given */
width: 160px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px 15px 20px; /* padding keeps the content of the div away from the edges */
}
.thrColFixHdr #mainContent {
background-color: #FFF;
margin-top: 0;
margin-right: 200px;
margin-bottom: 0;
margin-left: 190px;
padding-top: 0;
padding-right: 0px;
padding-bottom: 0;
padding-left: 0px;
}
.thrColFixHdr #footer {
padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background:#DDDDDD;
}
.thrColFixHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
.HomeButton {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
color: #66CCFF;
}
.style1 {font-family: "Times New Roman", Times, serif}
a:hover {
color: #FF6600;
}
.thrColFixHdr #container #sidebar1 ul {
list-style-type: none;
margin: 0px;
padding: 0px;
}
TD {
font-size: 12px;
font-family : Verdana;
}
P {
font-size: 12px;
font-family : Verdana;
}
TD.smaller {
font-size: 11px;
font-family : Verdana;
color : #000000;
}
P.smaller {
font-size: 11px;
font-family : Verdana;
color : #000000;
}
HR {
color : #003366;
height : 1px;
}
TD.bgleft {
background-image: url(images/bgleft.gif);
width:10px;
}
div.prodid{
font-weight: bold;
}
span.prodoption{
font-weight: bold;
}
.prodname, .detailname{
font-weight: bold;
}