Yes, David you are right. I started with a template and was adapting it to 
my needs. I was not sure about the wrapper div and had left it for time 
being to see if I would need it.

> You have no CSS included in the CSS file for #wrapper, and you opened
> and closed #wrapper in the wrong order. My guess is that this happened
> to you because you marched to two  different drums within the same
> layout. You took only some of the corrections the first drummer offered,
> and mixed those up [ literally ] with the corrections that the second
> drummer offered.
>
> "Too many cooks spoil the broth."


Thank you for this explanation Tim. It helps a lot.
Kris

> Overflow: hidden is a funny thing.  If you apply overflow: hidden to the 
> body
> tag, then if your page goes outside of the window, it won't scroll.
>
> But on anything else, in order for things to be hidden by overflow: 
> hidden, you
> need to specify dimensions (height especially).
>
> Since you have overflow: hidden on your container, but no height, it makes 
> the
> container expand to fit everything in it (including floats, which is nice
> because those aren't usually contained, since they're out of the normal 
> flow).
>
> I believe that any non-auto overflow value will do this, but with 
> overflow:
> scroll you get scrollbars, even if you don't need them.
>
> I haven't looked at your page, but my guess is that your footer was 
> floated, so
> the background wasn't showing up because the footer was outside of your
> container, but now you get the background because the float is inside the
> container.
>
> ---Tim 

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to