Absolute positioning advice | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Absolute positioning advice

Hi, I'm an amateur web developer and I need a question answered about css's absolute positioning property. This property is awesome to place stuff right where I want it, but there is a problem. When the user resizes the page, it screws up the element placement. I have tried multiple things to fix it, including putting the whole page in a div and giving the div a relative position, but that screws up my image. Anyone have any suggestions? Any thoughts are appreciated, thank you

13th May 2018, 10:36 PM
jacksonofgames 28
jacksonofgames 28 - avatar
2 Answers
+ 1
use javascript
13th May 2018, 11:23 PM
Andrea Simone Costa
Andrea Simone Costa - avatar
0
Could you be a little more specific? I know there is a resize method and zoom property, but is there a better way yet?
14th May 2018, 1:22 AM
jacksonofgames 28
jacksonofgames 28 - avatar