Block elements next to floating elements
Posted: Sat Jun 12, 2010 10:37 am
Attempting to Google this has been hell, so I've decided to simply ask.
How would one force a block element to end before a floating element? By default, block elements extend as far as they can, causing them to be partially covered by by the floating element. However, a client wants his headers to be in rounded boxes, but wants those rounded boxes to end next to a floating image rather than behind the image. I'm completely stumped as to how I would do this.
Any suggestions?
How would one force a block element to end before a floating element? By default, block elements extend as far as they can, causing them to be partially covered by by the floating element. However, a client wants his headers to be in rounded boxes, but wants those rounded boxes to end next to a floating image rather than behind the image. I'm completely stumped as to how I would do this.
Any suggestions?