Results 1 to 5 of 5

Thread: Problem with List items padding in <ul> tag

  1. #1
    Join Date
    Jul 2008
    Posts
    22
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Problem with List items padding in <ul> tag

    Hi,

    I'm having a problem with some padding showing up oin both IE and Firefox with list items on my navbar. Please see:
    http://81.17.252.110/~wallis1/new/

    I want the nav items to come to the edges of the <ul> tag (want to make the white borders on the navigation items come to the edge) but there is this padding there for some unknown reason between the <ul> and the <li> items.

    Please can you help as I'm tearing my hair out now,

    Thanks in advance

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Looks fine here in those browsers, either you fixed it or I'm missing something.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2008
    Posts
    22
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    the problem is the white vertical borders of the navigation links are not joining up to the edge of the navy blue background of the nav bar. any ideas?

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Well its a border, the right border. If you add this to your styles:

    Code:
    .moduletable_menu li a {
    border-color:#002C4E!important;
    }
    It will take care of it for the resting state. But to take care of it for hover as well, use this instead:

    Code:
    .moduletable_menu li a {
    border:none!important;
    padding-right:16px!important;
    }
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Dec 2006
    Location
    Texas
    Posts
    38
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default

    This happened to me also in a CSS table. At first I also wanted them to connect but as time went on I kinda liked it.. Not sure it is padding though. Maybe a defult of some kind.


    Jbert

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
  •