Grow your CSS skills. Land your dream job.

CSS Positioning Issue. Unable to add second sidebar

  • # April 22, 2013 at 7:53 am

    I am unable to add 2 sidebars in a sample webpage that I made today.

    I was able to add one sidebar floating to the left. But when I made another div for right sidebar, and increased ‘body’ width from 960px to 1400 px then I see that the footbar is on the right. Why? I want the footbar to be seated at the bottom only. So my question is why did the footer move to the right? And what is the solution for it?

    Here is the codepen link as the code isn’t showing up properly : http://cdpn.io/oreyA

    # April 22, 2013 at 8:06 am

    Because you have the footer in the sidebar:

    # April 22, 2013 at 8:12 am

    > I want the footbar to be seated at the bottom only

    What does that mean?

    # April 22, 2013 at 8:16 am

    You might want to look at something like this: http://codepen.io/Paulie-D/pen/85ba2b7cd3fd966a03546f4b72628d6b

    It’s one way.

    # April 22, 2013 at 9:48 am

    Thanks. Problem solved as pointed out by @CrocoDillon

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".