Hello, as the title indicates i have a problem that i cant resolve and i appreciate if you can help me.
Well, as I want to have a page with 3 different backgrounds y used 2 divs for the first two divs and a background color page for the third. All of them with margin and padding set in 0 so the width can strech 100% the browser.
Then i want all the content centered on those divs. And thatīs the BIG PROBLEM.
I was able to center the logo at the header div and a flash swf (itīs a banner and the menu). Also its remains centered in Iexplorer. But the div that contains the texts and photos it stays at the left. I canīt make it center it.
I am reading a lot of tutorials but i canīt find the answer.
I paste my code here so you can have a clear idea of what i want to do. Also i upload the page:
http://www.digital-x.com.ar/HTML/test/testing.html.
Thanks a lot!!!!!!!!!!!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body{
padding:0;
height:100%;
margin: 0px;
background-color: #FBFAF4;
text-align: center;
min-height:100%;
}
#wrap{
margin: 0 auto;
padding: 0 auto;
width: 100%;
height

;
display: inline;
}
#clear {
clear: both;
margin-right: 0px;
margin-bottom: 0px;
height: 4px;
}
#line {
background-image: url(image/bck_lineup.png);
background-position: top;
height: 9px;
}
#bg_header {
background-image: url(image/bck_header.png);
background-repeat: repeat-x;
height: 130px;
margin: 0;
padding: 0;
}
#logo{
height: 80px;
width: 618px;
text-align: center;
position: relative;
margin: auto;
margin-top: 30px;
}
#bg_medio {
background-image: url(image/bck_medio.png);
background-repeat: repeat-x;
height: 209px;
text-align:center;
margin:0;
padding:0;
}
#flash{
text-align: center;
height: 209px;
width: 719px;
position: relative;
display:inline;
}
#footer {
text-align: center;
clear: both;
width: auto;
}
#content {
margin-left: auto;
margin-right: auto;
background-color: #FBFAF4;
text-align: left;
display: block;
height: 200px;
float: left;
}
#box {
width: 719px;
background-color: #F2EFE6;
position: relative;
margin-left: 15px;
}
-->
<!--[if IE]>
.item {
margin-left: 20px;
padding: 0px;
}
<![EndIf] {
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<div id="wrap">
<div id="bg_header">
<div id="line"></div>
<div id="logo" align="center"><img src="image/logo.png" width="496" height="80" align="middle" /></div>
</div> <!--end wrap-->
<div id="bg_medio">
<div id="menu" align="center"></div>
<div id="flash" align="center">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','719','heigh t','209','src','image/Movie1','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','image/Movie1' ); //end AC code
</script><noscript><object classid="clsid

27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="719" height="209">
<param name="movie" value="image/Movie1.swf" />
<param name="quality" value="high" />
<embed src="image/Movie1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="719" height="209"></embed>
</object>
</noscript></div>
</div>
</div>
<br />
<div id="content">
<div id="box">Content for id "box" Goes He<br />
</div>
</div> <!--end content-->
<div id="footer">footer here</div>
</body>
</html>