Jump to content

[SOLVED] CSS problem


ballouta

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/153512-solved-css-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.