- This topic has 1 reply, 2 voices, and was last updated 15 years, 5 months ago by imported_Ryan.
-
AuthorPosts
-
July 2, 2009 at 10:32 pm #912MitalisMember
Greetings… I’ve been editing CSS code to make the multi-level navigation dropdowns to have the look & feel of my website. However the I’m having is with some extra padding appearing to the left of my dropdowns..
Check out the screenshot here:
http://www.mitalis.com/extra-menu-padding.gif
The only bit of my own CSS that wraps around the navigation is mainly to display the background image:
#c_navigator {
float: left;
width: 920px;
background-image: url(images/ws-body-ctr.gif);
background-repeat: repeat-y;
padding-right: 25px;
padding-left: 25px;
}Here is the CSS for the dropdown menu:
#suckerfishnav {
background-image: url(images/navigator.jpg);
background-repeat: no-repeat;
font-size:14px;
font-family:"Trebuchet MS", Tahoma, "Arial Narrow";
font-weight:normal;
width:750px;
padding-right: 60px;
padding-left: 60px;
}
#suckerfishnav, #suckerfishnav ul {
float:left;
list-style:none;
line-height:40px;
margin:0;
width:960px;
z-index:1000;
}
#suckerfishnav a {
display:block;
color:#FFFFFF;
text-decoration:none;
padding:0px 10px;
}
#suckerfishnav li {
float:left;
padding:0;
}
#suckerfishnav ul {
position:absolute;
left:-999em;
height:auto;
width:101px;
font-weight:normal;
margin:0;
line-height:1;
border:0;
}
#suckerfishnav li li {
width:99px;
border-bottom:1px solid #666666;
border-left:1px solid #666666;
border-right:1px solid #666666;
font-weight:bold;
font-family:"Trebuchet MS", Tahoma, "Arial Narrow";
}
#suckerfishnav li li a {
padding:4px 10px;
width:80px;
font-size:12px;
color:#FFFFFF;
}
#suckerfishnav li ul ul {
margin:-21px 0 0 100px;
}
#suckerfishnav li li:hover {
background:#FF9900;
}
#suckerfishnav li ul li:hover a, #suckerfishnav li ul li li:hover a, #suckerfishnav li ul li li li:hover a, #suckerfishnav li ul li li li:hover a {
color:#FFFFFF;
}
#suckerfishnav li:hover a, #suckerfishnav li.sfhover a {
color:#FFFFFF;
}
#suckerfishnav li:hover li a, #suckerfishnav li li:hover li a, #suckerfishnav li li li:hover li a, #suckerfishnav li li li li:hover li a {
color:#FFFFFF;
}
#suckerfishnav li:hover ul ul, #suckerfishnav li:hover ul ul ul, #suckerfishnav li:hover ul ul ul ul, #suckerfishnav li.sfhover ul ul, #suckerfishnav li.sfhover ul ul ul, #suckerfishnav li.sfhover ul ul ul ul {
left:-999em;
}
#suckerfishnav li:hover ul, #suckerfishnav li li:hover ul, #suckerfishnav li li li:hover ul, #suckerfishnav li li li li:hover ul, #suckerfishnav li.sfhover ul, #suckerfishnav li li.sfhover ul, #suckerfishnav li li li.sfhover ul, #suckerfishnav li li li li.sfhover ul {
left:auto;
background:#CC6600;
}
#suckerfishnav li:hover, #suckerfishnav li.sfhover {
background-image: url(images/navigator_out.jpg); repeat-x;
}Thanks in advance.
July 4, 2009 at 5:51 am #6633imported_RyanMemberWe don’t provide free support for customised CSS sorry.
For help with customised menus, please sign up for our premium support option …. https://geek.hellyer.kiwi/premium_support/
-
AuthorPosts
- You must be logged in to reply to this topic.