How to place some html element, say div, in a middle of a browser window (not page, not screen)? Not depend on browser window size, screen resolution, toolbar layout, etc. E.g. I want it to be in the middle of the browser window.
Have you tried anything yet? Please post the html and css of what you have so far. Don’t forget to format the code by placing three backticks (`) on the line before the code and three backticks on the line after.
Please click the magnifying glass in the menu bar at the top of your browser window. In the search field, type: “center element in browser window”.
The question has been asked and answered for centuries. You might want to choose one of the more modern methods.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.