- This topic has 1 reply, 2 voices, and was last updated 16 years, 3 months ago by imported_Ryan.
-
AuthorPosts
-
July 20, 2008 at 3:31 am #302jigordonMember
UPDATE: Well, looks like if I add a little ul css formatting to my style.css file, I can get rid of the extra padding. Now if I can only move the menu down a bit. ” title=”Smiley” />
Anyways, thanks to other folks in the forums… just reading your post(s) helped!
Original message below
I hope someone can help me… I’m such a CSS newbie that after 3 hours of working on this and a dozen CSS handbooks, I simply can’t figure it out.Anyways, I’ve got everything installed and it looks like it works: http://www.licensinghandbook.com
But I can’t understand why the drop-down menus are pushed right (I’ve kept the borders on so that you can see what’s happening).
The only CSS besides the plugin that affects this division is:
#topnavmenu { width: 600px; float: right; text-align: left;}
And here’s the CSS for the plugin:
#suckerfishnav {
font-size:12px;
font-family:verdana,sans-serif;
font-variant: small-caps;
width:100%;
}
#suckerfishnav, #suckerfishnav ul {
float:left;
list-style:none;
line-height:24px;
padding:4;
border:0px solid #aaa;
margin:0;
width:100%;
}
#suckerfishnav a {
display:block;
color:#fff;
text-decoration:none;
padding:0px 10px;
}
#suckerfishnav li {
float:left;
padding:0;
}
#suckerfishnav ul {
position:absolute;
left:-999em;
height:auto;
width:151px;
font-weight:normal;
margin:0;
line-height:1;
border:0;
border-top:1px solid #666666;
}
#suckerfishnav li li {
width:149px;
border-bottom:1px solid #666666;
border-left:1px solid #666666;
border-right:1px solid #666666;
font-family:verdana,sans-serif;
font-variant:normal;
}
#suckerfishnav li li a {
padding:4px 10px;
width:130px;
font-size:12px;
color:#fff;
}
#suckerfishnav li ul ul {
margin:-21px 0 0 150px;
}
#suckerfishnav li li:hover {
background:#630055;
}
#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:#fff;
}
#suckerfishnav li:hover a, #suckerfishnav li.sfhover a {
color:#fff;
}
#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:#fff;
}
#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:#1C1C1C;
}
#suckerfishnav li:hover, #suckerfishnav li.sfhover {
background:#630055;
}Thank you in advance to anyone who can help!!!
~Jeff
August 16, 2008 at 5:25 am #3330imported_RyanMemberHi,
Your menu is pushed right because you have set float:right in your surrounding DIV tag.To move the menu down, you could try applying a top margin to your containing DIV tag.
[code:mtdxy7wh]#topnavmenu {margin-top:50px}[/code:mtdxy7wh] -
AuthorPosts
- You must be logged in to reply to this topic.