Grow your CSS skills. Land your dream job.

Having problem with Float

  • # October 9, 2012 at 5:14 am

    I have a main container and two div classes inside it. One is sidebar and another is content area. I want the sidebar to be fixed and the content area fluid depending on the screen size of the page. The sidebar width is 195px and should be align to left. Content area to the right with width (screen resolution – 195px).

    Can I have a pure solution for this?

    # October 9, 2012 at 6:17 am

    Although what I think you really want will only work with the flex-box property..this seems to be working

    http://codepen.io/Paulie-D/pen/cHBfa

    # October 9, 2012 at 7:17 am

    Agree with Paulie :)

    # October 9, 2012 at 1:00 pm

    http://codepen.io/anon/pen/crpae

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

You must be logged in to reply to this topic.

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