I can't quite get a div to position itself over another div. What I'm trying to
create is a content div that has a big image in it. Then placing a promo div
box right on top of it... the promo box will contain html text.
My problem is, one appears either above or below the other depending on where I
place it. I tried some floats, positions, nothing is working.
Here's my content css:
div#content {text-align:center; margin-top: 4px;}
div#content img{border: 1px solid #003366;}
div#content .promobox {
top: 100px;
border: solid 1px #000000;
width: 200px;
height: 100px;
float: right;
}
And the html
<div id="content">
<img src="images/contentpic.jpg" alt="content" width="680">
<div class="promobox">
This is some promo text
</div>
</div>
Thanks,
Will
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276042
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4