| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
knocking heads
Join Date: Jul 2003
Location: London, UK
Posts: 1,945
|
CSS vertical and horizontal centering
I want to center an image in the middle of a page using CSS but there doesnt seem to be a way to do this In the past I wouldve used two tables, the first with a width and height of 100% and another inside which is centered and vertically aligned to the middle, and hey presto, whatever the size of the screen, the content would be in the middle of the browser anyone know of a way to do this in CSS? |
|
|
|
![]() |