How can I place some HTML element (say, a <div>, for example) in the middle of a browser window (not page, not screen)? Not depending on browser window size, screen resolution, toolbar layout, etc. E.g. I want it to be in the middle of the browser window.
How can I place some HTML element (say, a <div> , for example) in
Share
I surprised that nobody said about position=fixed. It makes exactly what I asked and works in all “human” browsers and IE since 7.