memine
06-22-2011, 05:16 PM
good day - new to forum
below I have attached a section of my page -
I want to get the background color to equal text width...
not sure about how to accomplish this task.
the first block is for background box of drop down menu
the second block is the highlight hover background color that I want to match text width not background box width (as in auto setting in lieu of %)
thanks in advance
ul.topmenu li ul {
display: block;
position: absolute;
left: 0;
top: 1.0.em;
visibility: hidden;
width: 250%;
z-index: 1000;
background-color : #fff;
border : 0px solid #000;
border-top: 0;
}
ul.topmenu a {
color : #ffffff;
} ul.topmenu li ul li {
margin: 0 0 0 -1.5em;
padding: 0;
display: block;
width: 100%;
font-family: arial;
font-size: 14px;
margin : 0px 0px 0px 0px;
background-color : #fff;
color : #000;
below I have attached a section of my page -
I want to get the background color to equal text width...
not sure about how to accomplish this task.
the first block is for background box of drop down menu
the second block is the highlight hover background color that I want to match text width not background box width (as in auto setting in lieu of %)
thanks in advance
ul.topmenu li ul {
display: block;
position: absolute;
left: 0;
top: 1.0.em;
visibility: hidden;
width: 250%;
z-index: 1000;
background-color : #fff;
border : 0px solid #000;
border-top: 0;
}
ul.topmenu a {
color : #ffffff;
} ul.topmenu li ul li {
margin: 0 0 0 -1.5em;
padding: 0;
display: block;
width: 100%;
font-family: arial;
font-size: 14px;
margin : 0px 0px 0px 0px;
background-color : #fff;
color : #000;