SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict Zapppa's Avatar
    Join Date
    Aug 2009
    Posts
    314
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with a menu - spacing and positioning problems

    Hi,

    I am starting a basic prototype design for a local GP here, I have used some cool icons in the navigation, they look ok so far.

    The problem is the positioning of the tabs - I can't seem to move the home button and the rest of the tabs across to the left, so that they are in line with the other content and sit neat.

    I've been looking at it too long and can't think straight anymore!
    Its probably one simple piece I have neglected.

    You can see what I have so far here:

    http://mgdesign.hostultra.com/bv/

    Any help is much appreciated!

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,355
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    HI,

    You need to remove the default padding form the ul here:

    Code:
    .menu ul{
        background:#fff;
        height:30px;
        list-style:none;
        margin:0;
    padding:0;
        }
    You will also need to shave a little padding of each menu item as overall they will still be too wide for one line.

  3. #3
    SitePoint Addict Zapppa's Avatar
    Join Date
    Aug 2009
    Posts
    314
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just starting back at this now.

    Many thanks, that has solved the problem!!!



    Gent!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •