From: Gary White on
On Tue, 20 Sep 2005 00:54:56 -0500, "-D-" <someone(a)NOSPAM.com> wrote:

>Thanks Gary...that got it.
>
>If I may ask one additional question. I've been trying to get my content
>vertically centered within my container div. The container div has the
>height set to 100%. I nested a div within the container and set it's height
>to 50% and position: absolute, but that didn't work.
>
>Here is a test link:
>http://www.dwayneepps.com/login.asp


Since you're displaying that form, my personal suggestion would be to
use a table. I'm not sure exactly what look you're going for, but here's
the way I'd do it:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>MattMinorArt.com Administrator Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
html {height: 100%;}
body {
margin: 0px;
text-align: center;
font-family: Verdana, Arial, Helvetica, sans-serif;
background-color: #000000;
font-size: 1em;
color: #000000;
height: 100%;
}
#container {
width: 790px;
position: relative;z-index: 1;
text-align: left;height: 100%;
background-color: white;
margin: 0 auto;
}
</style>
</head>
<body>
<table id="container">
<tr>
<td><form name="AdminLogin" method="post"
action="admin_access.asp">
<table style="margin:0 auto">
<tr>
<td colspan="2"><h2>Administrator Login</h2></td>
</tr>
<tr>
<td>Login ID:</td>
<td><input name="login" type="text" id="login"></td>
</tr>
<tr>
<td>Password:</td>
<td><input name="pswrd" type="password"
id="pswrd"></td>
</tr>
<tr>
<td colspan="2" style="text-align:center"><input
type="submit" name="Submit" value="Login"></td>
</tr>
</table>
</form></td>
</tr>
</table>
</body>
</html>

Gary
First  |  Prev  | 
Pages: 1 2
Prev: ISScript.msi
Next: DW8 stoped working today