• mestew

    (@mestew)


    I’m having trouble with my columns on my site, Mestew.com. I originally had a 3 column theme, and everything appears to be fine until you click on “more” or the post’s headline. Then, my column(s) drop below the comment area. I thought maybe since it was a 3 column theme, I should try a 2 column, but that didn’t work either. And the oddest thing of all, when I’m logged in and I test my site, it works perfectly. But once I log out and hit refresh, the column drops back to the bottom. Does anyone have any ideas? Any settings to adjust? Anything?

Viewing 5 replies - 1 through 5 (of 5 total)
  • lelion

    (@lelion)

    Hi,

    You have a CSS problem, then, I guess:)

    Usually a column drops below another, when there is not enough space for it on the horizontal, so it goes below the other.

    Say you have a page layout with a main wrapper DIV with a width of 760px. Then you have main content DIV, with 500px width, and (let’s suppose) floating sidebar DIV with 165px width. The sidebar will then probably drop below your main div, because 500+165=765 and there’ll be not enough space for it.

    So this could be a problem with the CSS (or html) of the theme you use.

    But it also could be a variety of other options. Maybe you have modified it in a certain way, so it doesn’t display correctly now? Maybe you have added some small piece of content somewhere, which breakes the css layout?

    If you use a pre-made theme, first test without anything added. Try the theme as-is, if it works, then you have have made somewhere a mistake in the code of the page, while editing it.

    Also, test the site using the W3C validator!

    I see there are wrongly nested tags there! (or unclosed ones) (or both;-)

    Check everything, fix, experiment, and you most certainly will come to the point when the mistype will present itself to you:)))

    Good luck!;-)

    Root

    (@root)

    When I was a kid 500 + 165 was 665. Call me old fashioned……

    lelion

    (@lelion)

    600+165, sorry :)))))

    I guess, didn’t yet drink enough coffee this morning ??

    Doodlebee

    (@doodlebee)

    Let’s also not forget that IE has the lovely “3 pixel bug” that it adds to floated elements (like your sidebar, most likely). So adjust your addition for that, because in IE, 600+165=768! (And don’t forget padding issues either – IE’s fun to work with ;))

    lelion

    (@lelion)

    Of course… ??

    But as I checked the W3C Validator, I believe there are some serious nesting issues and/or incorreclty closed elements… So remains for Mestew just to find where the incorrect piece of html is:)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Side Column Dropping Below My Main Content Area’ is closed to new replies.