Mysterious space between two divs (3 posts)

  1. breakfastspoon
    Posted 7 years ago #

    I've been making a theme for my wordpress blog (obviously), and everything worked just fine offline (screenshot), but when I put the CSS and HTML online, I got a space between the title and the main content -> http://www.therandomplanet.com/blog/

    Here's a copy of my CSS: http://www.therandomplanet.com/stuff/wpstyle.css

    Any ideas? It's probably a silly oversight, but I've been starring at it for a while and I can't see it.

  2. supernovia
    Posted 7 years ago #

    That is acting strangely :-( Do you have the web developer toolbar in your browser? You can try tweaking the css or html until it goes away. I noticed one quick tweak here seemed to solve it but I can't say why:

    padding-top: 1px;

    inside your #maincontent

    You might need to run your site through a validator to see if there's anything wonky, and then fixing that will likely clear up any bizarre css issues.

    Good luck, and if you're celebrating it, Happy Thanksgiving! :)


  3. CoronaMan
    Posted 7 years ago #

    The error is in your CSS.

    .innertube {margin:15px;}
    should read
    .innertube {margin:0 15px;}

    and the problem is gone....

Topic Closed

This topic has been closed to new replies.

About this Topic