• Resolved tkse

    (@tkse)


    After taking a break from the development of my new design I restarted it again today, removing an unwanted Disqus comment section and went back to the default twentytwelve one, only to get a huge whitespace (75px ish) before the content-tag.

    It might just be me being exhausted, but I can’t find out why it’s there. It shows only when comments are enabled, and there’s no CSS creating it.

    Any ideas? I noticed the #comments takes the complete height and width of .content. Is that normal?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try using Firefox with the Firebug add-on for this kind of CSS troubleshooting. Or use whatever developer tool is available in your web browser.

    Thread Starter tkse

    (@tkse)

    There’s nothing. Even tho I can’t link to it, I can show you in pictures.

    1) #primary has a 25px margin-top. That is correct.
    https://i.imgur.com/sWsCFku.png

    2) .content has no padding nor margin over it all, yet there’s a whitespace between where #primary and .content starts on the page. Can’t find HTML between them either.
    https://i.imgur.com/1XGrbD5.png

    Edit: I found the whitespace, from the #comments, but it was only visisble in the browsers inspect tool. Removing the margin-css doesn’t actually delete the whitespace.

    Thread Starter tkse

    (@tkse)

    I’m obviously tired. Just needed to make a clear both tag at the end of .content.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comments adds whitespace before .content’ is closed to new replies.