HighDots Forums  

CSS problem: Clearing Floats

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS problem: Clearing Floats in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nowherecreative
 
Posts: n/a

Default CSS problem: Clearing Floats - 07-24-2008 , 09:16 AM






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.


Reply With Quote
  #2  
Old   
Michael Fesser
 
Posts: n/a

Default Re: CSS problem: Clearing Floats - 07-24-2008 , 09:31 AM






..oO(nowherecreative)

Quote:
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


Reply With Quote
  #3  
Old   
Osgood
 
Posts: n/a

Default Re: CSS problem: Clearing Floats - 07-24-2008 , 09:35 AM



nowherecreative wrote:
Quote:
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>


Reply With Quote
  #4  
Old   
nowherecreative
 
Posts: n/a

Default Re: CSS problem: Clearing Floats - 07-24-2008 , 10:12 AM



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.


Reply With Quote
  #5  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: CSS problem: Clearing Floats - 07-24-2008 , 10:19 AM



Heights and widths happen when you drag borders of containers. It's a great
argument for never using Design view for placement adjustment.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"nowherecreative" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
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.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.