All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

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

    # October 9, 2012 at 7:17 am

    Agree with Paulie :)

    # October 9, 2012 at 1:00 pm

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

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed