I want the input username, password, remember me to be in one line, lined up in to right hand corner. That's not what I am getting. All the input forms are one line at the top left hand corner. Here is my html and css code.
Code:div#login-form {position:relative; top: 25px; right: 10px; width: 600px; height: 30px; margin: 0; } div#login {position:relative; } div#password {position:relative; } div#username {position:relative; } div#remember {position:relative; }PHP Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="temp.css" type="text/css" />
</head>
<body>
<div id="login-form" >
<form action="/login" id="login" method="post">
<label for="username">Username</label>
<input type="text" name="username" id="username"size="15" tabindex="1"/>
<label for="password">Password</label>
<input type="password" name="password" id="password" size="15" tabindex="2" />
<label for="remember">Remember Me</label>
<input type="checkbox" name="remember" id="remember" tabindex="3" checked="checked" />
<input type="submit" value="Go" tabindex="4" />
</form>
</div>
</body>
</html>





Bookmarks