Hi guys and girls Im trying to make my header repeat.
What I have:
I have a straight-forward <div> header with two <div>'s (logo and login)inside the header. The <div> logo is on the left and the <div> login is on the right.
HTML
<div id = "header">
<div id = "logo"> <div/>
<div id = "login"> <div/>
<div/>
CSS
#header
{
width: 1400px;
height: 173px;
background-color: blue;
background-repeat: repeat-x;
margin-left: auto;
margin-right: auto;
}
#logo
{
margin-left: 50px;
width: 370px;
height: 173px;
float: left;
}
#login
{
margin-left: 590px;
width: 370px;
height: 115px;
float: left;
}
What I want:
The header <div> should repeat itself. As soon as I take out the width: in the header <div> then it does repeat itself but then the two <div>'s inside the header <div> dont follow the page like it does with the width: element.
My header is the same as that of Facebook's main/register page where you have the blue header that repeats, then the logo on the left and the login on the right: http://www.facebook.com/
Now I just want my header to repeat like theirs.
Your help would be appreciated!