Hi,
I’m trying to make the website name and login fields (user name, id, and login button) the same line, but I always get that the login form goes down 1 line.
Here is the HTML:
[code=html] </head>
<body>
<div class=”topheader”>
<h1 class=”heading”>website name</h1>
<form class=”usernotlogged”>
Username:
<input type=”text” name=”firstname”>
Password:
<input type=”password” name=’password”>
<input type=”submit” value=”Log In”>
</form>
</div>
</div>
[code=html]
body
{
color: #222;
background-color: #fff;
font: 1.3em Arial, Geneva, sans-serif;
}
.topheader
{
color: #fff;
background: #011fff;
padding: 1.2em 1.4em;
}
.heading { margin-left:16%; }
.usernotlogged { margin-left: 54%; }