CSS Question-problem with post size (3 posts)

  1. ryanriggin
    Posted 10 years ago #

    Could someone please help me with the following problem. This has been annoying me for quite some time, and I can't seem to identify the problem. Whenever I write a post, I have to create artificial line breaks, because if I don't the post pushes my sidebar div way down to the bottom. I had a similar problem with the comments div, but I fixed it.

    The webpage is http://www.ryanriggin.com, and the style sheet can be found here.


  2. genevaroth
    Posted 10 years ago #

    yes, I have the same problem with large images or text- or if the user in IE has big fonts- it just pushes the sidebar down. I am not a CSS guru

  3. HugoA
    Posted 10 years ago #

    You have a typo on #main-content your missing the ';' after the width property value.

    It would be best if you removed the padding on the container and main-content divs as together with the widths of your content and sidebar they are not leaving enough room and you will find the sidebar being forced to the next clear line. try to pad on inner containers not on layout containers if you can help it, this also avoids the box model problem.

    Once you have the width working on the main-content element if you still have problems with text then fix a width to .post to ensure that you get text wrap.

Topic Closed

This topic has been closed to new replies.

About this Topic