Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Need Help With Minor Problems - Menu Rollover
Old 10-19-2008, 12:35 AM Need Help With Minor Problems - Menu Rollover
Skilled Talker

Posts: 66
Trades: 0
I'm using a pretty basic vertical rollover type menu. It works in an acceptable manner but I need to move things around just a bit. Maybe I've been looking at it too much, but I just can't figure out how to move the links to the right just a bit and I need to raise the links up just a bit.

Here is my CSS:

div.menu {
width:185px;
padding: 0.9px;
margin-top: 0.7em;
margin-left:0.5em;
border:0px;
text-align:left;
}
div.menu a {
background-image:url('http://vance.thebams.org/new/2/images/button.jpg');
display:block;
font-size:20px;
width:100%;
padding: 0.30em;
margin-left: 0.3em;
font-weight:bold;
border-top:1px ;
color: rgb(255,255,0);
text-decoration:none;
line-height:25px;
}
html>body div.menu a {width:auto;}
div.menu a:hover {
color: #FFF;
font-size:20px;
font-weight: bold;
font-style: italic;
}


If a fresh set of eyes could look at this and tell me how I can move my navigational links to the right ust a tad and raise them up just a tad I would be greatful.

Thanks

Last edited by LadynRed; 10-19-2008 at 01:23 PM..
JustAGuy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-19-2008, 01:25 PM Re: Need Help With Minor Problems - Menu Rollover
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Is it online ? We really need to see ALL of the code - or the site.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-19-2008, 01:44 PM Re: Need Help With Minor Problems - Menu Rollover
Skilled Talker

Posts: 66
Trades: 0
Sorry about that.

The page can be seen HERE.

As you will see from the page, I would like to have the nav links moved to the right a couple of px's. I would also like to move them up a couple of px's so that the text is more centered in the bar.

Thanks for any help
JustAGuy is offline
Reply With Quote
View Public Profile
 
Old 10-19-2008, 05:40 PM Re: Need Help With Minor Problems - Menu Rollover
Average Talker

Posts: 29
Name: Taylor
Trades: 0
Try adding



Code:
padding-left:100000000000000000px;
padding-top:-50000000000px;
to the div.menu a property

P.S. if its too much try decreasing the values...
Raisdead is offline
Reply With Quote
View Public Profile
 
Old 10-21-2008, 04:00 PM Re: Need Help With Minor Problems - Menu Rollover
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
No offense, but that's an insane solution.

You really should put your nav into a proper unordered list, you'll have a quite a bit more control to get the spacing you want.. You also shouldn't use px for font sizing and line-heights.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need Help With Minor Problems - Menu Rollover
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.54575 seconds with 12 queries