Previous Message
Next Message

div borders not containing images

Sent by Secret Agent Gel on 30 October 2004 14:02


having trouble getting div's to contain floated items. here's an image
of what im talking about.

http://gelform.com/upload/uploads/breakout.gif

how can i get the dashed border to wrap around the bottom of the image?
i know this has been covered on the web but im just not sure what to
search for. google isnt helping me today.

css:
..alert { width: 400px; padding: 5px 5px 5px 5px; margin: 0px auto 0px
auto; border: 1px solid #99AA99;}
..alert img {float: right;}

code:
<div class="alert">
<p><img src="/img/clipart/icon.alert.gif" /></p>
<p><%=alert%></p>
</div>

thanks!

corey
_
Corey H Maass
aka Secret Agent Gel
http://www.secretagentgel.com
ICQ: 103314728 | AIM: secretagentgel2
Contact: 646/228.5048
- - - - - - - - - - -
The Kids Are Bored
Live Electronic Music: Wherever you are
http://www.thekidsarebored.com

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: