make menu buttons evenly in width

  • Anonymous

    #675

    Hi,

    I want to space 9 menu items evenly across the menu bar. Is it possible to make a menu button a certain width?

    Stanley

    Stanley

    #13220

    here is a link to a screenshot so you see what I mean. The buttons should outline with the corresponding color boxes:

    http://www.zeesterretje.nl/Ascender/wp-content/uploads/2011/03/Screen-shot-2011-03-18-at-15.40.01.png

    Kim

    #13221

    Here You have my nav .menu:

    #nav .menu li a, #nav .menu li a:visited {
    color: #BABABA;
    font-family: arial,verdana,tahoma,georgia;
    font-size: 12px;
    padding: 0 6px;
    }

    Change: padding: 0 6px;

    Then Change Your picture!

    Kim

    Stanley

    #13222

    i did this, but it doesn’t seem to change the distance between the button so that each buttons falls on a different color of the background image. any other idea?

    Stanley

    #13223

    got it to work now, i needed to change the number 6 to something bigger. Now the problem is that some words for links are longer then others and if I understand correclty the padding changes the distance between words, correct? Is it possible to account for the difference in word size?

    Kim

    #13224

    Please add webpage link to Your user profile!

    Kim

    Stanley

    #13225

    profile is updated. Is there a way to just limit the size of the buttons? Then the padding option would work, wouldn’t it?

    Kim

    #13226

    Hmm..

    Try put the original “images/sprite_h.png” file back in place.

    Then adjust the padding so Your menu looks okay. Maybe not use

    sub menu.

    Kim

    Kim

    #13227

    Top of this header:

    http://www.cornwallrcc.org.uk

    There is a very thin line. Maybe “draw” it as buttom of

    Your header image in any wanted color, height & width.

    So it looks great on Your site.

    Kim

    Stanley

    #13228

    but then the colors would just be colors and not buttons, if I understand you correctly? Does that mean I can’t specify the width of the buttons in the menu?

Viewing 10 posts - 1 through 10 (of 16 total)

You must be logged in to reply to this topic.