Please help with floating divs

H

hithrustkick

class 'flush' has clear:both clears the floated navbar so will move
*below* #navbar... This is correct behavior correct clear property.

That div is a separate div from the content area div, and I was
wanting that one to go under the navbar, so that there would be a
space between the footer. Removing that div did fix the problem with
the left navbar pushing the content down, but now my margins are
broken, and I'm not sure that was root of the problem, though it does
look to be something with clearing. Any other ideas? Thanks again.
 
H

hithrustkick

Oh, oops. You meant the other class=flush divs. Taking those out
solved the problem. Thanks a ton!
 
J

Jonathan N. Little

That div is a separate div from the content area div, and I was
wanting that one to go under the navbar, so that there would be a
space between the footer. Removing that div did fix the problem with
the left navbar pushing the content down, but now my margins are
broken, and I'm not sure that was root of the problem, though it does
look to be something with clearing. Any other ideas? Thanks again.
Does not matter, a 'clear' clears *all* floated elements the precede the
clearing element regardless if it is a direct decedent or not.

Float your little pics to the right but for the paragraphs only
*clear: right* not *both* so not to effect the navbar.
 
J

Jonathan N. Little

Oh, oops. You meant the other class=flush divs. Taking those out
solved the problem. Thanks a ton!
GG strikes again! How to screw up a post on so many levels...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top