logo       

best way to center a image vertical and horizontal in window: msg#01088

Subject: best way to center a image vertical and horizontal in window
I've seen some tricks to display an image horizontal and vertical
centered on a page. But they al have some problems.
 
The way I use the most is 
 
body {
margin: 0;
padding: 0;
background-color: #000000;
}
#container {
margin: 25% auto;
text-align: center;
}
 
<div id="container">
  <a href="mailto:info-7ph247wCqxw@xxxxxxxxxxxxxxxx";><img src="images/logo.gif" 
height="153"
width="272" border="0" /></a>
</div>
 
This is working but still not 100%. Is there a way that you can display
an image right in the middle of the window?
 
Regards,
 
Sander
______________________________________________________________________
css-discuss [css-d-FPEHb7Xf0XVf4fvhJAioeSCwEArCW2h5@xxxxxxxxxxxxxxxx]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/



<Prev in Thread] Current Thread [Next in Thread>