rabbitt rabbitt - 1 year ago 96
HTML Question

Center content horizontally and vertically in HTML?

I have a table which surrounds all the content of a webpage, I would like to center this table horizontally and vertically inside the browser window. It is a much smaller content area than that of the average browser so there should be no issues.

Any help is greatly appreciated.

Answer Source

add this code to the top of the html file within the HEAD tags:

    align: center;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download