Forums

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

Home Forums CSS Responsive image placement problems

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #261534
    reubenross
    Participant

    Hi guys,

    I am having some problems controlling the placement of an image when the browser size is altered. You can view the page here: https://reubentesting.persona.co (the image in question is the red “society of the spectacle” on the left.

    The CSS/HTML are here: https://codepen.io/reubenross/pen/bozQWx

    Is this code correct? Is there a better way (and a way which results in more predictable behaviour) to do this?

    Thanks!

    #261538
    manufufu
    Participant

    Try relative, not absolute. It will flow outside the box. I think.

    #261539
    Paulie_D
    Member

    Depends what it is you are trying to do but this is the basic method

    https://codepen.io/Paulie-D/pen/rGPXxW

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