dkloeck
asked on
vvveasy center image
i'm a very bloody n%b in this,
I just want to center an image horizontal & vertical acording to the window size
nothing else is on the page
I just want to center an image horizontal & vertical acording to the window size
nothing else is on the page
ASKER
but the image is a link to another page, isn't there another way?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can use this code. It is simply a table!
<html>
<head>
<title>Example</title>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" height="100%">
<tr>
<td style="text-align: center">
Place your image here, with the links and everything.
</td>
</tr>
</table>
</body>
</html>
<html>
<head>
<title>Example</title>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" height="100%">
<tr>
<td style="text-align: center">
Place your image here, with the links and everything.
</td>
</tr>
</table>
</body>
</html>
<html>
<head>
<style type="text/css">
<!--
body {background-image: url(myimage.gif); background-position:center
//-->
</style>
</head>
<body>
</body>
</html>