![]() |
|
|
|||
|
CSS problem: Clearing Floats
I have a clear: both; applied to my footer div but it is not working when my
float left div expands lengthwise as content fills it ... it is still going underneath the footer instead of pushing it down. Any ideas why? Thanks in advance. |
|
|||
|
Re: CSS problem: Clearing Floats
..oO(nowherecreative)
>I have a clear: both; applied to my footer div but it is not working when my >float left div expands lengthwise as content fills it ... it is still going >underneath the footer instead of pushing it down. Any ideas why? Thanks in >advance. What float? What div? What footer? How should we know what happens in your code without seeing it? Please post a URL. Micha |
|
|||
|
Re: CSS problem: Clearing Floats
nowherecreative wrote:
> I have a clear: both; applied to my footer div but it is not working when my > float left div expands lengthwise as content fills it ... it is still going > underneath the footer instead of pushing it down. Any ideas why? Thanks in > advance. > Get rid of the height on your main-nav div...its the only container using float left on the page so it must be that which you are reffering to. Why give it a height in the first instance IF whats going in it is more than the specified height <sigh> |
|
|||
|
Re: CSS problem: Clearing Floats
Oh my! When I set up the page I made sure there wasn't height applied to that
div, somehow days later I added height to it (obviously I didn't mean to). I didn't even think to check it because it wasn't there when I first set it up. Thanks for your help, much appreciated. :) |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|