Center a DIV
Moderator: General Moderators
Center a DIV
Would anyone know how I could horizontally center a DIV section in the middle of a page. The DIV needs to be fixed at 800 pixels wide but of course the page width may vary from different resolution settings on the users machine.
Thanks for your quick reply. Tried that but found that it doesn't work in IE. Found the solution.Oren wrote:Set the left and right margins to 'auto'.
http://www.andybudd.com/archives/2004/0 ... /index.php