First time poster to the forums. I would appreciate any help. I am fairly new to css and have small problem. (see css codde below)#Maincontent a is pulling my background link color from my #sidebarmenu ul li a:link, a:visited, a:active. This is not a parent element and should not be inherited. I specified no border for #Maincontent a, and it still pulls my orange. Any help would be great.
body {
background: #666666 url(../_Logo-debo.jpg) repeat left top;
margin: 0 0 0 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;
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 0.8em;
}
/* ---------- WRAPPER STYLES ----------*/
#wrapper {
width: 780px;
background: #fff;
margin: 0 auto;
text-align: left;
}
/* ------- HEADER STYLES ----------*/
#header {
background: #ccc;
text-align: left;
margin: 0px;
padding: 0px;
}
/* ------- Main Content STYLES ----------*/
#mainContent {
width: 560px;
float: right;
padding: 0px 25px 0px 0px;
}
#mainContent p {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 0.9em;
line-height: 1.4em;
color: #000;
margin-bottom: 1.4em;
}
#mainContent h1 {
font-family: "Arial Black", Arial, Helvetica, Verdana, sans-serif;
font-size: 2.5em;
font-weight: normal;
margin-top: .6em;
margin-right: 0em;
margin-bottom: .4em;
margin-left: 0em;
line-height: 1em;
}
#mainContent h2 {
font-family: "Arial Black", Arial, Helvetica, Verdana, sans-serif;
font-size: 2em;
margin-bottom: 0.4em;
line-height: 1.0em;
}
#mainContent h3 {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 1.3em;
margin-bottom: 0.4em;
line-height: 1.2em;
}
#mainContent h4 {
font-size: 1em;
font-weight: bold;
font-family: Arial, Helvetica, Verdana, sans-serif;
margin-bottom: -0.2em;
}
#mainContent a{
color: #003399;
text-decoration: underline;
font-weight: normal;
padding: 0em;
display: inline;
}
#mainContent #productPDF a {
color: #FFFFFF;
display: inline;
padding: 0em;
margin: 0em;
text-decoration: none;
}
#mainContent #productPDF {
font-size: 1.1em;
font-style: normal;
font-weight: bolder;
color: #000000;
width: 50%;
border: 2px solid #000000;
margin: 0px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 2px;
padding-left: 5px;
background-color: #FF7036;
}
#sidebarAddrs {
padding-top: 10px;
font-weight: bolder;
text-align: center;
width: 175px;
font-size: 0.9em;
padding-bottom: 2px;
background: #FFFFFF;
margin-bottom: 2px;
}
/* ------- Left SideBar STYLES ----------*/
#sidebarLeft {
width: 180px;
height: auto;
background-color: #FFFFFF;
}
#sidebarLeft .linkcolor {
color: #003399;
background-color: #FFFFFF;
}
/* ------- Left SideBar-MENU STYLES ----------*/
#sidebarmenu ul
{
margin: 0;
padding: 0;
margin: 0px 0px 12px;
}
#sidebarmenu ul li {
margin: 0px;
padding: 0px;
list-style-type: none;
width: 176px;
font-weight: bolder;
font-style: normal;
text-align: left;
vertical-align: middle;
height: 20px;
line-height: 16px;
border: 1.5px solid #FFFFFF;
font-size: 0.9em;
}
#sidebarmenu ul li a{
overflow: auto;
text-decoration: none;
font-weight: bolder;
padding: 0.3em;
border-bottom: 2px solid #FFFFFF;
display: block;
border-left: 2px solid #FFFFFF;
}
#sidebarmenu ul li a:link, a:visited, a:active{
color: #FFFFFF;
background: #FF7036;
}
#sidebarmenu ul li a:hover{
background: #FF8737;
}
/* ---------- FOOTER STYLES ------------*/
#footer {
padding: 5px 10px 0px 20px;
background:#DDDDDD;
font-size: 0.8em;
border-right: 1px solid #999999;
border-bottom: 1px solid #999999;
border-left: 1px solid #999999;
color: #333333;
clear: both;
height: 44px;
}
.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;
}
#salesforms {
border: 1px solid #FFFFFF;
}
#tablevideo #Windwindowsmedia {
padding-left: 20px;
}
#tablevideo #quicktime {
padding-left: 20px;
}
.red {
color: #DA0A12;
}
.green {
color: #0F7A0A;
}
.orange {
color: #F46231;
}
.center {
text-align: center;
}
.utilityheader {
font-size: 1.4em;
}
.linkcolor {
}
.tableborderblack {
border: 1px solid #000000;
text-align: center;
background-position: center;