Forum Moderators: not2easy

Message Too Old, No Replies

Position fieldset in the middle of the IE screen

         

actsusl

5:07 pm on Jan 7, 2009 (gmt 0)

10+ Year Member



I have created one login screen using form & fielset.

But how can I place the fieldset in the middle of the browser screen.
In case user shrink the window size .... the fieldset should adjust itself to the middle of the screen.

Please find the html code below.
------------------------------------------------------

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" type="text/css" href="css/login.css" />

<title></title>
</head>

<body>


<form>
<fieldset>

<br />
<label for="name">Email:</label> <input type="text" id="name" size="31" />


<br />
<label for="mail">Password:</label> <input type="text" id="mail" size="18" />

<br />
<input type="submit" name="button2" id="button2" value="Login >" class="button" />
</fieldset>

</form>

</body>

</html>

------------------------------------------------------------

Thanks in advance.
AcTsUsL

swa66

9:23 pm on Jan 7, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld! [webmasterworld.com]

Take a look a this recent thread, it might hold what you seek:
[webmasterworld.com...]