SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru Lars-Christian's Avatar
    Join Date
    Dec 2004
    Location
    Tromsų, Norway
    Posts
    713
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need some help debugging my CSS

    Hello everybody,

    Long story short, I am customizing a WordPress-theme called "Bloggie" for use on a site I'm building, and I've come across a curious bug that I simply can't iron out. I've scratched my head, but I've been unable to locate the culprit for this.

    Take a look at this page. As you can see, the post comment-layer is stretching too far towards the right hand menu, compared to the content layer.

    However, if you look at this page, where there's a comment posted above it, the width is perfect. So that means the bug is only there if there aren't any comments posted, which simply doesn't make sense to me, as it uses the same CSS-classes whether or not there's a comment posted.

    I would greatly appreciate any suggestions on how to fix this small, but incredibly annoying bug!

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    On the good page, your comments box is inside the #content_box div, whereas on the bad page, it's outside. That may be due to a typo/code error on the page. But anyhow, that's the reason.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    SitePoint Guru Lars-Christian's Avatar
    Join Date
    Dec 2004
    Location
    Tromsų, Norway
    Posts
    713
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    .... and now it's fixed!

    Thanks a ton ralph.m! I'll never get wise when it comes to any sort of formatting or coding

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    You're welcome.

    Quote Originally Posted by Lars-Christian View Post
    I'll never get wise when it comes to any sort of formatting or coding
    I'm sure you will. I just used Chrome's dev tools, which makes it a cinch to look through the code, highlight elements and see where the trouble is.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


Tags for this Thread

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
  •