I have a div with a background image repeat-y
and three divs inside that divCode:#mainContent { background: #000000 url(../img/solutions_mid.png) top left repeat-y; width: 950px; padding: 0; margin: 0; padding-left: 28px; }
in the flashNavi div I have a flash include.Code:#wording1 { position: relative; float: left; width: 320px; padding: 0; margin: 0; padding-top: 10px; } #wording2 { position: relative; float: left; width: 320px; padding: 0; margin: 0; padding-top: 10px; margin-left: 10px; } #flashNavi { position: relative; height: 100%; padding: 0; margin: 0; padding-top: 5px; margin-left: 10px; }
the effect is to have a three column layout with text in the first two columns and a vertical flash navigation bar in the third.
The problem is that the backgrond image won't streach all the way down to the bottom of the mainContent div. It will only go as far down as the the flash navigation is tall. if I display none to the flashNavi div the background disapears all together.
How is this possible? I've checked it on Firefox Safari and Opera
here is the html.
Code:<div id="mainContent"> <img src="../img/title.png" alt="#" /> <div id="wording1"> <h2>Text</h2><hr /> <p>Long text</p> <div id="wording2"> <h2>text</h2><hr /> <p><img src="../img/sm_icon_portal.png">Long Text</p> </div> <div id="flashNavi"> <!--[if IE]><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="214" height="360"><script>/*<![endif]--> <object type="application/x-shockwave-flash" data="../flash/navi_functions.swf" width="214" height="360"><script type="text/javascript">/**/</script> <param name="movie" value="../flash/navi_functions.swf" /> </object> </div> </div>





Bookmarks