Jump to content
Sign in to follow this  
psychandtheother

cell spacing css made buttons on platform pro

Recommended Posts

psychandtheother

I've tried just about everything to get my primary navigation bar that is css made buttons to have a certain cell spacing. I would love it if I can get all the buttons to be symmetrical with the rest of the buttons on the nav bar. anyone have an idea as to how to do that? http://www.psychologyandtheother.com/ is my site

Share this post


Link to post
Share on other sites
catrina
Are you trying to decrease the cell spacing so that the "Contact Us" button on the second row moves to the first row?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
psychandtheother
that would work catrina, the last button would auto align that way. is the code still the same? I'm not getting the results I want with my code.

Share this post


Link to post
Share on other sites
catrina
Which code have you tried so far? I think in order for the items to fit on one row, the size of the text in the buttons would have to be smaller.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
psychandtheother
I agree what if we could evenly space out the 7 that we have to fit on 2 even rows. I've tried #prim.Nav { cell-space: #px) Pretty inexperience with css. I did get them to shit but with little control.

Share this post


Link to post
Share on other sites
psychandtheother
Here's what I have for code in my css custom box at the moment regarding my primary nav I'm also having an issue with my bottom box "bleeding" into my top row now that I had to change there colors body #menu-nav .page_item a{ background:#000000; color:white; border:5px solid #000; margin-right:10px; font-family: 'garamond', serif; } body #menu-nav .page_item a:hover{ color:white; background: #000000; } body #menu-nav .current_page_item a{ background: #000000;

Share this post


Link to post
Share on other sites
psychandtheother
I'm definitely up for that symmetry seems to be of primary concern. I usually can get it once i have the right code there. I can tweak from there. Any suggestion would be great!

Share this post


Link to post
Share on other sites
catrina
Try adding this CSS to see the difference that's made (this will decrease the font size): [code]ul.main-nav li.page_item a {font-size: 10.5px;}[/code]

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
psychandtheother
I tried the code all it did was make my font size smaller. My nav bar didn't actually move. Close though.

Share this post


Link to post
Share on other sites
psychandtheother
sorry double post by accident

Share this post


Link to post
Share on other sites
Rob
The menu items are set to be position relative, hence they're adjusting to the total width of the area (960px wide) compared to the width of each menu item. There's no cellpadding because it's not a table. Cell spacing or cell-padding is only applicable to cells within a table, not to lists, which the navigation is, though tables seem much easier I think. I often refer people to http://www.cssplay.co.uk/menus/ to take a look at comparable menus to what they're trying to create. You find the one you like ,then view source and you'll see the CSS for that menu. It should give you an idea of what needs to be done. Are you using Firebug for Firefox?

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
psychandtheother
Rangleone that's a marvelous idea! yes, firebug with firefox. I'm going to do just that now!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×