how can i get some text center screen? this is what i have so far:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
vertical-align: middle;
text-align: center;
top: 50%;
}
-->
</style>
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle">
<p class="style1">
<strong><img src="universal/oops.gif" width="19" height="16"> Oops</strong>! <img src="universal/oops.gif" width="19" height="16"><br>
We hope to get this feature working as soon as possible
</p>
</td>
</tr>
</table>
</body>
as you can see, i've tried centering by both setting 'vertical-align: middle;' in the style, and by creating a table with a single cell that alligns centrally. I had no luck with the style at all. The table seems to work in dreamweaver, but not ie. any ideas?
____________________________________________________
If you like a post, show you care by giving it a <censored>.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
vertical-align: middle;
text-align: center;
top: 50%;
}
-->
</style>
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle">
<p class="style1">
<strong><img src="universal/oops.gif" width="19" height="16"> Oops</strong>! <img src="universal/oops.gif" width="19" height="16"><br>
We hope to get this feature working as soon as possible
</p>
</td>
</tr>
</table>
</body>
as you can see, i've tried centering by both setting 'vertical-align: middle;' in the style, and by creating a table with a single cell that alligns centrally. I had no luck with the style at all. The table seems to work in dreamweaver, but not ie. any ideas?
____________________________________________________
If you like a post, show you care by giving it a <censored>.