Hi Rosie,
The div's not misbehaving, it's the floated image ... but that's how floats are meant to work.
Clearing the float by adding dl { clear:both; } to your stylesheet will give you what you want.
Cheers, Mike
On Tuesday, June 8, 2004, at 11:46 PM, Rosie Norwood wrote:
Hi all,
Sorry for the basic question but I am new to making DIVs behave. I am converting my old site from tables to DIVs and trying to get a similar look.
The page troubling me is: http://www.blackwork.com/test/sample.html The CSS is at: http://www.blackwork.com/test/stitches.css - the rules relating to the div class site is right at the bottom.
I want the image to fill the div so that the div completely contains it and the bottom border appears after the image.
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************