Nested DIVs not working for me?
ok probaly missing here where.. first have 3 divs, 1 kind of wrapper div ( div class="content2wrap" ) other 2 ( div class="content2img" , div class="content2dis" )are suppose inside wrapper. want 2 inside side side inside wrapper when float 1 of 2 left or right wrapper div collapses , ignores other 2 divs.
i want image on left , discrition right beside right.
i put height on "content2wrap" plan on using set other products on page , height changing.
here url http://www.nostalgiamerchant.biz/test.html
i have uploaded html , css of code part of page, , yes know image missing. here code below.
html
<div class="content2wrap">
<div class="content2img">
<img src="radio_images/suspense_radio/suspense-v1.gif" alt="suspense vol. 1" width="115" height="120" border="0" />
</div>
<div class="content2dis">
suspense - vol. 1
suspense presented radio drama's dealing life , death situations. highly popular audiences, @ peak, suspense 1 of radio’s best. film stars loved it. first few years shows introduced “the man in black” played joseph kearns. suspense debuted on june 17, 1942. suspense subtitled "radio's outstanding theater of thrills". suspense featured leading
hollywood actors of era. (read history of suspense).
starring of hollywoods greatest stars
1940 - 43 - 20 episodes on 10 cds. read more information , titles.
</div>
</div>
css
.content2wrap{
width:615px;
padding:5px 5px 5px 5px;
}
.content2img{
margin:10px 5px 0px 10px;
width:150px;
flaot:left;
}
.content2dis{
font-family:"arial black", gadget, sans-serif;
width:auto;
}
thanks
try adding overflow:hidden to wrapper.
.content2wrap{
width: 615px;
padding: 5px;
overflow:hidden; /**for float containment**/
}
nancy o.
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment