Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Fluid two-column layout snapping to single-column layout too soon

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #167945
    Ravingdork
    Participant

    I am working on a fluid, two-column layout web site for a friend of mine. However, when I compress the window frame, the right column jumps/snaps underneath the left column before the frame has even been reduced by half, leaving ugly white space to the right of the now left-aligned single column.

    I would like the right column to continue compressing until is about the same default width of the left column before changing into a single column layout. I’ve toyed with the numbers and min- and max-widths, but I can’t seem to get anything to work.

    You can see the site for yourself here.

    #167976
    Ravingdork
    Participant

    What’s border-box?

    #167991
    Krish1980
    Participant

    I would like the right column to continue compressing until is about the same default width of the left column before changing into a single column layout

    You can use absolute positioning.

    Codepen example

    #167992
    Paulie_D
    Member

    A Codepen reduced case would be useful. This doesn’t sound difficult though.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.