Borders between widgets on my sidebar

Discussion in 'CSS' started by Zhu, Oct 29, 2007.

  1. #1
    Hi there !

    I have a small CSS question...

    My blog is the only below in my signature.

    On the right sidebar, I separated widgets with a border :

    Works fine... but I also wanted to add a list of my top post. This is the Showcase list (below the tag cloud). Each one of my link has the border under it... and I wanted to remove it to show a clean list. The list is quite messed up in IE.

    Basically, instead of having :
    I wanted :


    So, is there a way to remove the bottom border for this list only ?
     
    Zhu, Oct 29, 2007 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    There's a wierd quirk in IE's handling of LI's. I believe setting the LI to display:block; will fix it. If not, try tripping haslayout. (if the UL around it has no height declared, you can just add height:1%)

    Though I'd have to see it live to be sure.
     
    deathshadow, Oct 29, 2007 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    Heh, I was just playing with a test case, and in my test case display:inline on the LI fixed it... Which is backwards from the last time...

    Sometimes you just have to keep throwing properties at it until it works.
     
    deathshadow, Oct 30, 2007 IP
  4. Zhu

    Zhu Well-Known Member

    Messages:
    321
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #4
    Sorry, I lost this thread somewhere in my CP and just found it again ! :eek:

    I've tried both display: inline and display: block but none of the solution worked...

    Here are my lists properties :

    I'd appreciate any suggestion... please keep in mind I'm a beginner and I'm just trying to fix my blog - I'm not a professional designer ! ;)
     
    Zhu, Nov 4, 2007 IP