Announcement

Collapse
No announcement yet.

replies/view column background

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [vB4] replies/view column background

    When the title/thread starter column wraps text or has page numbers or otherwise gets a little taller, the background of the replies/views column gets a gap at the bottom, as in the attached image.

    How can I get the background to stretch all the way down to close that gap?

    thanks,

    -jk


    Click image for larger version

Name:	white space.jpeg
Views:	1
Size:	6.2 KB
ID:	3717954

  • #2
    You could set the height:
    HTML Code:
    .threadbit .alt {height:40px;}

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment


    • #3
      Originally posted by Lynne View Post
      You could set the height:
      HTML Code:
      .threadbit .alt {height:40px;}
      I added it to the additional.css, and it's almost perfect. Thanks.

      The only drawback is that it stretches every thread vertically, ultimately adding a lot of extra, empty space. Is there a variable for thread height I could use rather than hard coding to 40 px?

      -jk

      Comment


      • #4
        Unfortunately, you can't just set it to 100% - it needs to be an actual height. You don't need to use 40px, that was just my example. You can use 35px if you want - whatever works on your site.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment


        • #5
          Originally posted by Lynne View Post
          Unfortunately, you can't just set it to 100% - it needs to be an actual height. You don't need to use 40px, that was just my example. You can use 35px if you want - whatever works on your site.
          I was afraid of that. I did play with various pixel heights trying to find the best balance, but I like neither the overly wide spacing needed to solidly color the column nor the gaps. Both look just a bit awkward.

          Maybe I'll just make the colors the same.

          thanks,

          -jk

          Comment

          Related Topics

          Collapse

          Working...
          X