Ive got a div...
...that doesn't want to be centered on the page. I can center it horizontally, but I cant figure out how to do so vertically.
There is no way you can center align a div vertically by using css the only way you can center align a div by giving margin from top like
There are already many tutorials on how to center an element (inline/block) horizontally and vertically. Since you're dealing with DIV which is block, it will be easy.
Here are some guides for you:
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)