I am trying to create a header with links and H1 tag to the left and login box to the right with 100px padding to the right of the sign in boxes.
I want to push the sign in boxes to he top of the page so it is inline with the link and H1 URL
<body>
<h1><a href="index.html"> Website URL</a></h1>
<header>
<div>
<a href="#" title="Link"> Blog</a>
<a href="#" title= "Link"> Link</a>
<a href="#" title = "Link"> Link</a>
<div id="sign-in">
<form>
User Name or Email: <input type="text" name="User Name or Email">
Password: <input type="password" name="lastname">
<input type = "button" oneclick="alert('')" value = "Login"><br> 'text'
</form>
</div>
</div>
</header>
</body>
#sign-in{
float: right;
clear: right;
padding-right: 100px;
}
Aucun commentaire:
Enregistrer un commentaire