Zaloguj | Zarejestruj | FAQ
Anonymous

Centralizar banner.swf

+ Odpowiedz

Posty: 1 Strona 1 z 1


Centralizar banner.swf

przez jfjofeir » N wrz 20, 2015 10:48 pm

De uma hora para outra a página desgovernou e não consigo mais fazer o flash ficar centralizado. Já tentei de todas as formas e nada, procurei outros fóruns e nada dó flash ficar centralizado. Então se alguém puder ajudar eu agradeço. Eis o código:

#medidas {
text-align:left;
width: 1240px;
margin: auto;
}
body {
text-align:center;
margin:auto;
padding:0;
}
body{
background-image:url(img/layout/fundo2.jpg);
background-repeat:repeat-x;
}
#jornal{
position:absolute;
top:0px;
left:56.3%;
width:496px;
height:190px;>
}
#home{
position:absolute;
top:145px;
left:175px;
width:119px;
height:34x;
}
#agua{
position:absolute;
top:145px;
left:294px;
width:119px;
height:34px;
}
#dengue{
position:absolute;
top:145px;
left:413px;
width:119px;
height:34px;
}
#capixaba{
position:absolute;
top:145px;
left:532px;
width:119px;
height:34px;
}
#formulario{
position:absolute;
top:145px;
left:651px;
width:119px;
height:34px;
{
#menu{
position:absolute;
top:185px;
left:0px;
width:1240px;
height:30px;
border:0px solid #000000;
text-align:right;
line-height:30px
word-spacing:10px;
color:#A0A0A0;
font-family:arial, verdana;
font-size:15px;
}
#banner{
position:relative;
top:210px;
left:0px;
width:1000px;
height:500px;
border:0px solid #000000;
}
.lkMenu{
text-decoration:none;
color:#a0a0a0;
font-weight:bold;
}
lkMenu:hover{
color:#003333;
}

#main{
position:absolute;
top:0px;
left:50%;
width:1240px;
margin-left:-620px;
}
</style>

</head>
<body>
<div id="medidas">
<div id="main">
<div id="jornal"><img src="img/layout/jornal.jpg"/></div>
<div id="home"><a href="index.html" target="_self"><img src="img/layout/b1_.jpg" border="0" onMouseOver="this.src='img/layout/bt1.gif'" onMouseOut="this.src='img/layout/b1_.jpg'"/></a></div>
<div id="agua"><a href="agua.html" target="_self"><img src="img/layout/b2_.jpg" border="0" onMouseOver="this.src='img/layout/bt2.gif'" onMouseOut="this.src='img/layout/b2_.jpg'"/></a></div>
<div id="dengue"><a href="dengue.html" target="_self"><img src="img/layout/b3_.jpg" border="0" onMouseOver="this.src='img/layout/bt3.gif'" onMouseOut="this.src='img/layout/b3_.jpg'" /></a></div>
<div id="capixaba"><a href="capixaba.html" target="_self"><img src="img/layout/b4_.jpg" border="0" onMouseOver="this.src='img/layout/bt4.gif'" onMouseOut="this.src='img/layout/b4_.jpg'"/></a></div>
<div id="formulario"><a href="form.html" target="_self"><img src="img/layout/b5_.jpg" border="0" onMouseOver="this.src='img/layout/bt5.gif'" onMouseOut="this.src='img/layout/b5_.jpg'"/></a></div>
<div id="menu">
<a href="index.html" target="_self" class="lkMenu"></a> -
</div>
<div id="banner">
<object data="banner.swf" width="770px" height="400px">
<param name="quality" value="best"/>
<embed src="img/layout/banner.swf" width="770px" height="400px" quality="best"></embed>
</object>
</div>
</div>
</div>


</body>

</html>
Avatar użytkownika

jfjofeir

  • Posty: 1
  • Dołączył(a): N wrz 20, 2015 10:43 pm


+ Odpowiedz

Strona 1 z 1