sidebar being pushed down

1 replies
  • WEB DESIGN
  • |
I re-sized the slide show on the front page and some other page elements in style.php to add a sidebar, but I must have missed something as the sidebar is now on the side, but being pushed down. Any idea what I missed?
lifeinthisplace.com
#pushed #sidebar
  • Profile picture of the author MyOwnWebGuy
    Hi There,

    Your sidebar is being "pushed down" because unfortunately you're not using the correct HTML and CSS for what you're trying to achieve. It's a bit complicated to spell out in a post here but basically you're mis-using floats and "margin:0 auto", which creates the unintended layout.

    My recommendation would be to read this article on floats:
    (unfortunately I can't post links until I've reached 15 posts, but do a google search for this: "all about floats css tricks" and it will be the #1 result)

    It might be a bit complicated at first, but definitely stick with it because it should help give you a great understanding of how to successfully structure your HTML elements and use CSS to achieve the layout you want.

    Best of luck,

    Jordan
    {{ DiscussionBoard.errors[6751940].message }}

Trending Topics