ballouta Posted April 10, 2009 Share Posted April 10, 2009 Hi, I am trying to write some CSS code: in the htm code, i have: <body> <div id="flash_head"> <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" height="570" width="1000"> <param name="movie" value="flash/header.swf"> <param name="quality" value="High"> <PARAM NAME="wmode" VALUE="opaque"> <embed src="flash/header.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" height="570" width="1000"></object> </div> <div class="main"> </div><!-- main !--> <div class="footer"></div> </body> </html> my CSS is: #flash_head{ position:fixed; text-align:center; margin-left:auto; margin-right:auto; padding:0px; } .main { background-color:#FFFFFF; width:1000px; height:700px; position: fixed; margin:0 145px 0 0; } } .footer { background-image:url(images/footer.jpg); float:right; border:0px; position: relative; width:1000px; height:222px; background-repeat: repeat-x; margin:0px 66 0 0; } The flash Object is centered correctly (you might not see it online now) The problem is that the "main" DIV and the "footer" are NOT positioned corrected, they are going to the right or left wrongly? esp if the screen is wide. would you please help. preview: http://www.motif-services.com/Farid/ many thanks Quote Link to comment Share on other sites More sharing options...
ballouta Posted April 10, 2009 Author Share Posted April 10, 2009 i solved the problem thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.