- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi,
For some reason my design works fine in Safari and Firefox but doesn’t work in Internet Explorer – please could someone help me to correct this?
http://www.i-web-solutions.org/virgo
It’s the menu area – the rest I think is fine.
Cheers,
Steve
Your navigation bar has this CSS:
#nav li a {
color:#FFFFFF;
font-size:14px;
font-weight:bold;
[b]padding:20px;[/b]
text-transform:uppercase;
}
Notice the bolded paddings. This gives the Nav items a total of 40px of padding on top and bottom, and you only want 20.
Use this code for #nav li a:
Enjoy,
Hi,
Thanks for the quick reply. I’ve made the changes but now I’m presented with a new problem.
The hover image for the list items now appear in the middle of the button when I hover over (picture of an arrow). I need this at the bottom of the button – how would I do that, I’ve tried all sorts of background-position stuff…
Cheers,
Steve
Ok, I’ve just been playing about with firebug and it should go something like this:
#nav ul {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0;
overflow:hidden;
}
#nav li {
background:transparent url(images/border.jpg) no-repeat scroll right center;
display:inline;
float:left;
height:55px;
margin:0;
}
#nav li a {
color:#FFFFFF;
display:block;
font-size:14px;
font-weight:bold;
margin-top:20px;
padding:0 20px 20px;
text-transform:uppercase;
}