Using positioning takes the element out of the document flow and sets it in a "layer" above the rest of the content. Just using the float property should do more of what you want. You may need to fiddle with margins and paddings to get it set where you want it.
-Kevin On Apr 11, 2005 2:49 PM, Matthew Small <[EMAIL PROTECTED]> wrote: > 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 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:153470 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=89.70.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
