OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
Suggestions to clean up this CSS
This page's ID:
31190
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Ok this is another problem I'm having and it's not working right. I'm going crazy trying to figure this one out... I need to have an image either float to the left, right, or center. Here is the CSS to make it float left. .leftimg { float: left; margin-right: 15px; border:none; margin-left: 30px; } .caption { color: #4E99CA; font-size: 11px; text-align: center; line-height: 15px; } Then the html would look like this: <div class="leftimg"><img src="image.jpg" width="250" /><div class="caption">This is a caption</div></div> But for some reason the text isn't wrapping correctly. It makes the picture box extend way past the width of the image creating ugly white space. Google is not helping in any way with this either.... grrr.... [img]http://www.wayoutwestenterprises.com/images/rob_sp_sig.gif[/img]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »