Absolutely Tech

[Solved] Absolute positioning and screen-resolution problem


Absolute positioning is great for positioning items anywhere on a page but it does not mix well with screen-resolution. It might look fine on your resolution but it might look completely different on another resolution. Element placement changes upon changing the screen resolution or even when resizing the browser window. It is because items positioning is measured from the browser’s window.

To always display it correctly, you can put relative or absolute positioning on the parent element.

Eg:


%MINIFYHTML45ed68ff7e010c2a05c64c99e19fef0534%

Hello World!

Category: CSS

Tagged:

Ubuntu 11.04

The next version of Ubuntu is coming soon

Follow me

Sponsors