Hello,
relatively proficient in css but not getting this:
I have a simple horiz menu that has a rollover image and a font color change. However my text is not in the middle of the bar, so when I give the list any padding or margin, it of course wants to push my hover image down as well. I know I am just missing something simple but my mind is ready to explode looking at this thing for another minute…
I’ll take any help and even a little abuse to get this silly thing working…
Here’s a link to the site that is under construction and the code for the section
http://www.wealthbuildingsystems.com/
#topbar {
background:url(http://www.wealthbuildingsystems.com/wp-content/uploads/2010/11/menu-bar2.png) no-repeat;
height:54px;
width:100%;
margin: 0px 0px 0px 22px;
padding:0px;
}
#topbar ul {
float: left;
width:;
height:56px;
margin: 10px 0px 0px 0px;
padding:0px 0px 0px 0px;
list-style-type: none;
background:;
}
#topbar li {
float: left;
font: 16px Arial, Georgia, ‘Times New Roman’, Times, serif;
color:#fff;
margin: 0px 0px 0px 0px;
float: left;
display: inline;
height:;
width:120px;
background:;
}
#topbar a {
font: 16px Arial, Georgia, ‘Times New Roman’, Times, serif;
float: left;
display: block;
height:56px;
width:120px;
margin:0px 0px 0px 0px;
color: #fff;
text-align:center;
}
#topbar a:hover {
font: 16px Arial, Georgia, ‘Times New Roman’, Times, serif;
float: left;
display:block;
height:;
width:120px;
margin:0px 0px 0px 0px;
color: #ff6600;
text-align:center;
background:url(http://www.wealthbuildingsystems.com/wp-content/uploads/2010/11/btn-hvr.png) no-repeat center center;
}