xtheunderdog
06-16-2004, 11:32 PM
i'm wondering if there's a code to put an image in the exact center of a screen both horizontally and vertically no matter the resolution? thanks!
|
View Full Version : exact center xtheunderdog 06-16-2004, 11:32 PM i'm wondering if there's a code to put an image in the exact center of a screen both horizontally and vertically no matter the resolution? thanks! lefty 06-16-2004, 11:45 PM Is it a background image, or a regular ol' image? If it's the latter (which I'm assuming?), you could put it in a giant table and position it to the center of the cell, but that will center everything else on your page as well... xtheunderdog 06-16-2004, 11:50 PM and set the cell width and height to 100%? Even so, how would it center vertically? and, can i put iframes on top of a table? because what i'm putting in the middle is an image on top of which will go iframes, kind of hard to describe. skyjuice 06-17-2004, 03:04 AM you could set the table for <table align=center valign=center> and then you could use div layers to put the iframe over it. |