The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Responsive image placement problems
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!
Try relative, not absolute. It will flow outside the box. I think.
Depends what it is you are trying to do but this is the basic method
https://codepen.io/Paulie-D/pen/rGPXxW