Try <div id="BannerAd200x200" style="float:left; margin-top: 200px; margin-left:280px;}
Floating and positioning are two separate items and do not work in conjunction with each other. Top and left only work with position:relative or position:absolute. So to achieve the positioning, you must use margin-left and margin-right. If you really want to learn about some of this stuff, I am teaching an Advanced CSS class on the Tuesday before CFUNITED. http://www.cfunited.com/classes.cfm Sandy Clark -----Original Message----- From: Matthew Small [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 3:50 PM To: CF-Community Subject: CSS question Hi there, I'm doing CSS for pretty much the first time, and I've found it to be incredibly useful. I'm having a hard time figuring out exactly how to do something. Here's my code <!-- Featured Article --> <div id="FeaturedArticle"> <div id="FeaturedArticleBody"> #FeaturedArticle.Body# <div id="BannerAd200x200" style="float:left; position: absolute; top: 200px; left:280px; width:200px; height:200px;"> <img src="#BannerAd200x200#" width="200" height="200"> </div> </div> </div> I am trying to get the BannerAd200x200 image to be 200px from the top and 280px from the left, with the text FeaturedArticle.Body to wrap around it. I'm getting the position right, but the text is flowing underneath the image rather than around it. What am I doing wrong? BTW, there's a lot more to this code than you're seeing, so let me know if you need more to help me. Thank you, Matthew Small ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:153541 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
