Cant understand how to properly resize and position elements

i couldnt understand the positioning topic. i mean i know how it works but how do we code it so that when we rezize the screen the webpage doesnt isnt effected by it.

you would actually want a page to change as the size of the screen changes, it’s called responsive design and it’s useful when your site is being displayed on other devices like phones and tablets which have different screen sizes.
But if for some reason you want your site to stay as it is as much as possible, you can use absolute unit like pixels when editing element’s size.

I booked marked this article (just so happened to be from fCC) until I got the flow of it over time and I still keep it in my bookmarks folder for reference to this day.

Hope it helps you as much as it did me! I was so lost at first myself.

1 Like