Would be very nice if someone can help me out with this issue.
My website is not done yet, but i already see that it looks different on other laptop screens.
On my laptop screen it looks fine, but when someone else opens it, it looks different. Content from one section flows into another section.
You can find a read only link below.
The issue is you have set your background image to fixed and the width to 100 vw, when the content is forced to grow at a smaller screen size due to limited space it wraps below the space the background image is allow to take up.
I would set your bg image to cover and then position it accordingly, like so:
You need to use rem units instead of px values → replace all px values with their rem equivalent. When entering an input in a size field, type “(number)rem” to use (note: rem units are NOT ‘em’ units).
PX values are rendered differently across resolutions, whilst rem units stay consistent.
This is not how rem units work. One rem equals to whatever html font size is used. Since by default html font size is set in pixels rems are also a static amount of pixels.
Default html font size is 16pt, not px. px values are different to pt values and are dictated by operating system/hardware.
Ultra-high resolutions displays that downscale (e.g. 6k→4k) like Apple’s retina display do some weird things which make px values render differently to rem values comparing e.g. a 13" to a 15" mbpro
Since the amount of content visible for any particular device depends on the said device resolution - something you cannot control, the best thing to do is to not worry about this. This is how everything on the web is - some devices will show a lot of content, some will show you only part of it without scrolling. It’s a non-issue
@Alex_Pan @dram
Hi guys, thank you very much for your answers. So i should not worry at all about this ?
Or can i try to use the rem units just to be sure ?