Hi, I'd like to center an image in a webpage so that no matter the screen or resolution of the viewer, the image will appear dead center. I know that <center> </center> tags will center an object on the horizontal, but I want it to center on the vertical too. Anyone got a clue how I'd do this? Thanks!!
Center a Website might help. It will be easier to just center the content horizontally as well by just using the <p> element. Some browsers won't render the height property, but going back to tables and the "old" way: <table style="width: 100%; height:100%; text-align:center; vertical-align:middle"> Code (markup): will work on most of the browsers. You'll always find a couple of browsers not rendering exactly what you want.