Forums

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

Home Forums Design Droping one div bellow the other

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #252597
    triplebit
    Participant

    I have two divs sharing the whole screen within a parent div.
    I want to force the left one to drop bellow the right one.
    I tried the following things:
    1. to give both 100% width
    2. to float both to the right

    But nothing works.
    Can someone raise a possible solution?
    Thx

    #252599
    Beverleyh
    Participant

    Are you using flexbox perhaps?

    Divs are block-level elements so are 100% wide by default.

    Floats would need to be nulled/removed – unfloated divs stack vertically by default.

    Guessing isn’t helping anyone though. Please provide a **reduced** CodePen demo to help clarify what you have and what you’re trying to do.

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