SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: reset/lists..

  1. #1
    SitePoint Guru
    Join Date
    Jun 2009
    Posts
    815
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    reset/lists..

    resets always cause me problems with the lists:
    http://mayacove.com/dev/css/reset/ul_test.html

    I need to see bullets in list in main body of the page (but not in nav list on top of the page..)

    I find I can't overwrite

    Code:
    li {display:inline-block; }
    in reset (I need this reset b/c have more nav-type lists on the site..)

    it's this directive in reset that's preventing bullets from showing in ul.bio... how do I overwrite this??? (can only test in moz/safari/chrome right now (it looks the same in all three), but I suspect this inline-block issue is the same in all browsers..)

    don't know what to overwrite display:inline-block with....
    display:block isn't doing it..

    thank you..

  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,

    To get the bullets back you need display:list-item

    Code:
    body.bio ul.bio,body.bio ul.bio ul {
      display:list-item
    }

  3. #3
    SitePoint Guru
    Join Date
    Jun 2009
    Posts
    815
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    oh my gosh... thank you very much... I knew I was missing some list-specific display property... :-)


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
  •