Ian,

Thank you for sharing James' post with the list. This is the clearest explanation of float and clear I've seen. I've been working with them for a while, but this made the light bulb really go on!

Ian Sweeney wrote:

On 6/5/05, James Bennett < [EMAIL PROTECTED]> wrote:
A floated element is removed from "normal flow"; in other words, it
suddenly stops having some of its normal effect on the things around
it. One of the changes is that backgrounds and borders don't carry
past a float unless there's something below which clears it; from the
point of view of the border, the element it wraps around ends where
the float begins (since there isn't anything in "normal flow" past
that point).

To solve this you'll either need to have something else below the
#copyright div with 'clear: right', or you'll need to clear it using
some other method. Several useful techniques are listed here:
http://www.positioniseverything.net/easyclearing.html


-- -------------------------------------------------------------

James,

Many thanks. This makes sense. As a result I came up with
http://iansweeney.me.uk/p1/solution.htm

Respect,

Ian.


--
Barbara Dozetos ~ Web Designer/Graphic Designer
Physician's Computer Company  *  (p)802-846-5532
1 Main St., #7                *  (f)802-846-8178        
Winooski, VT 05404            *  [EMAIL PROTECTED]
www.pcc.com

Pediatric software just got smarter. Your practice just got healthier.

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

Reply via email to