Forums

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

Home Forums CSS [Solved] Div palaver

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

    ahoy all, please why is the bottom div marked “x” not moving when the margin_top value is changed?

    view issue here http://cdpn.io/qyHeb

    #157568
    magicspon
    Participant

    You are adding space above #payload2, you need to add about 500% before the area knocks in the div above. Once it hits that div it starts to move down.

    Have a play with the dev tools in Chrome (or similar), increase the margin-top value and you should see the margin highlight area getting larger….

    Anyhow

    Use display: inline-block on #payload2.

    Cheers

    #157570
    Ij
    Participant

    Gee thanks, setting the display to inline-block solves that problem nicely.
    Thanks again, man!

    #157630
    magicspon
    Participant

    No worries…

    This might not be the best solution, it’s hard to see what the overall layout is meant to be doing… anyhow, enjoy!

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