twac-co
12-13-2007, 02:06 AM
In my site header, I want to have a logo on the left, and a banner on the right (using 2 images). The CSS allows for a fluid layout and I want the images to remain on the left and right no matter how the page is resized.
#header {
padding: .5em;
min-width: 800px;
}
#header h1 {
padding: 0;
margin: 0;
}
#logo {
float: left;
}
#banner {
float: right;
}
That coding in the CSS produces the desired effect, but the rest of the page content is behind the header instead of under it. I'm sure I'm just missing something simple. Any ideas??
Thanks much!
#header {
padding: .5em;
min-width: 800px;
}
#header h1 {
padding: 0;
margin: 0;
}
#logo {
float: left;
}
#banner {
float: right;
}
That coding in the CSS produces the desired effect, but the rest of the page content is behind the header instead of under it. I'm sure I'm just missing something simple. Any ideas??
Thanks much!