View Single Post
Old 11-03-2008, 09:55 AM  
potter
Confirmed User
 
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
Quote:
Originally Posted by FlexxAeon View Post
for example: when i want to do a "coming soon" page i like for the logo and/or text to sit in the middle of the page, scaling to the size of the browser window so it is always absolute middle. i STILL can't do this effectively is CSS due to lack of a "vertical align" attribute, and still use a table lol
If you simply want the image in the center of the page.

body{
background: url('image.jpg') center center;
}

If you want the image to stretch. Just put the image on the page and make it's width and height set to 100%.
__________________

potter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote