Jump to content

CSS problem with positioning.


jege

Recommended Posts

Hi!

 

I was trying to create some simple website for myself and got it to work. So i just tested few things and noticed when i make smaller my browser view one all the things just overlap others.

 

How can i make so that the elements stay on their place whatever its resized or not.

 

Thanks

if they overlap, you're having issues with the z-index (google that)

 

Easiest thing is to wrap everything in 1 container (a <div>)  and give that a fixed width.

 

Another thing could be to work with percentages, but that is far more complicated. I recommend you read abit about the z-index and test out the wrapper.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.