eder.js2005 Posted May 12, 2012 Report Share Posted May 12, 2012 ola pessoal, seguinte:estou com probleminha quanto a compreensao do codigo fonte sitenão consigo centralizar a pagina "home"acessem link: www.osprimogenitos.com.brsegue codigo:<html><head><title>Os Primogênitos</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><!-- ImageReady Styles (index.psd) --><style type="text/css"><!--div.Tabela_01 { position:relative; left:0px; top:0px; width:775px; height:760px;}div.index-01 { position:absolute; left:0px; top:0px; width:494px; height:119px;}div.index-02 { position:absolute; left:494px; top:0px; width:281px; height:148px;}div.index-03 { position:absolute; left:0px; top:119px; width:76px; height:29px;}div.index-04 { position:absolute; left:76px; top:119px; width:100px; height:29px;}div.index-05 { position:absolute; left:176px; top:119px; width:127px; height:29px;}div.index-06 { position:absolute; left:303px; top:119px; width:92px; height:29px;}div.index-07 { position:absolute; left:395px; top:119px; width:99px; height:29px;}div.index-08 { position:absolute; left:0px; top:148px; width:494px; height:560px;}div.index-09 { position:absolute; left:494px; top:148px; width:281px; height:247px;}div.index-10 { position:absolute; left:494px; top:395px; width:281px; height:313px;}div.index-11 { position:absolute; left:0px; top:708px; width:119px; height:52px;}div.index-12 { position:absolute; left:119px; top:708px; width:44px; height:19px;}div.index-13 { position:absolute; left:163px; top:708px; width:58px; height:19px;}div.index-14 { position:absolute; left:221px; top:708px; width:86px; height:19px;}div.index-15 { position:absolute; left:307px; top:708px; width:57px; height:19px;}div.index-16 { position:absolute; left:364px; top:708px; width:68px; height:19px;}div.index-17 { position:absolute; left:432px; top:708px; width:343px; height:52px;}div.index-18 { position:absolute; left:119px; top:727px; width:313px; height:33px;}div.index-19 { position:absolute; left:432px; top:708px; width:343px; height:52px;}--></style><!-- End ImageReady Styles --></head><body style="background-color:#C0C0C0; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;"><!-- ImageReady Slices (index0002.psd) --><center><div class="Tabela_01"> <div class="index-01"> <img src="imagens/index/index_01.jpg" width="494" height="119" alt=""> </div> <div class="index-02"> <img src="imagens/index/index_02.jpg" width="281" height="148" alt=""> </div> <div class="index-03"> <a href="index.php"> <img src="imagens/index/index_03.jpg" width="76" height="29" border="0" alt=""></a> </div> <div class="index-04"> <a href="index.php?acao=a_dupla"> <img src="imagens/index/index_04.jpg" width="100" height="29" border="0" alt=""></a> </div> <div class="index-05"> <a href="index.php?acao=discografia"> <img src="imagens/index/index_05.jpg" width="127" height="29" border="0" alt=""></a> </div> <div class="index-06"> <a href="index.php?acao=agenda"> <img src="imagens/index/index_06.jpg" width="92" height="29" border="0" alt=""></a> </div> <div class="index-07"> <a href="index.php?acao=contatos"> <img src="imagens/index/index_07.jpg" width="99" height="29" border="0" alt=""></a> </div> <div class="index-08"> <!-- Início do conteúdo do site --> <? if(empty($_GET["acao"])) {include("home.php");} else{ if ($_GET["acao"]==a_dupla") { include("a_dupla.php"); } if ($_GET["acao]=="discografia") { include("discografia.php"); } if ($_GET["acao"]==agenda") { include("agenda.php"); } if ($_GET["acao]=="contatos") { include("contatos.php"); } } ?> <!-- Final do conteúdo do site --> </div> <div class="index-09"> <img src="imagens/index/index_09.jpg" width="281" height="247" alt=""> </div> <div class="index-10"> <img src="imagens/index/index_10.jpg" width="281" height="313" alt=""> </div> <div class="index-11"> <img src="imagens/index/index_11.jpg" width="119" height="52" alt=""> </div> <div class="index-12"> <a href="index.php"> <img src="imagens/index/index_12.jpg" width="44" height="19" border="0" alt=""></a> </div> <div class="index-13"> <a href="index.php?acao=a_dupla"> <img src="imagens/index/index_13.jpg" width="58" height="19" border="0" alt=""></a> </div> <div class="index-14"> <a href="index.php?acao=discografia"> <img src="imagens/index/index_14.jpg" width="86" height="19" border="0" alt=""></a> </div> <div class="index-15"> <a href="index.php?acao=agenda"> <img src="imagens/index/index_15.jpg" width="57" height="19" border="0" alt=""></a> </div> <div class="index-16"> <a href="index.php?acao=contatos"> <img src="imagens/index/index_16.jpg" width="68" height="19" border="0" alt=""></a> </div> <div class="index-17"> <img src="imagens/index/index_17.jpg" width="343" height="52" alt=""> </div> <div class="index-18"> <img src="imagens/index/index_18.jpg" width="313" height="33" alt=""> </div> <div class="index-19"> <embed src="vinheta.wav" width="70" height="25" autostart="true"> </div></div></center><!-- End ImageReady Slices --></body></html> Quote Link to comment Share on other sites More sharing options...
0 Jhonas Posted May 13, 2012 Report Share Posted May 13, 2012 vejahttp://www.maujor.com/dicas/pg_centrada.phpabraço Quote Link to comment Share on other sites More sharing options...
Question
eder.js2005
ola pessoal, seguinte:
estou com probleminha quanto a
compreensao do codigo fonte site
não consigo centralizar a pagina "home"
acessem link:
www.osprimogenitos.com.br
segue codigo:
<html>
<head>
<title>Os Primogênitos</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ImageReady Styles (index.psd) -->
<style type="text/css">
<!--
div.Tabela_01 {
position:relative;
left:0px;
top:0px;
width:775px;
height:760px;
}
div.index-01 {
position:absolute;
left:0px;
top:0px;
width:494px;
height:119px;
}
div.index-02 {
position:absolute;
left:494px;
top:0px;
width:281px;
height:148px;
}
div.index-03 {
position:absolute;
left:0px;
top:119px;
width:76px;
height:29px;
}
div.index-04 {
position:absolute;
left:76px;
top:119px;
width:100px;
height:29px;
}
div.index-05 {
position:absolute;
left:176px;
top:119px;
width:127px;
height:29px;
}
div.index-06 {
position:absolute;
left:303px;
top:119px;
width:92px;
height:29px;
}
div.index-07 {
position:absolute;
left:395px;
top:119px;
width:99px;
height:29px;
}
div.index-08 {
position:absolute;
left:0px;
top:148px;
width:494px;
height:560px;
}
div.index-09 {
position:absolute;
left:494px;
top:148px;
width:281px;
height:247px;
}
div.index-10 {
position:absolute;
left:494px;
top:395px;
width:281px;
height:313px;
}
div.index-11 {
position:absolute;
left:0px;
top:708px;
width:119px;
height:52px;
}
div.index-12 {
position:absolute;
left:119px;
top:708px;
width:44px;
height:19px;
}
div.index-13 {
position:absolute;
left:163px;
top:708px;
width:58px;
height:19px;
}
div.index-14 {
position:absolute;
left:221px;
top:708px;
width:86px;
height:19px;
}
div.index-15 {
position:absolute;
left:307px;
top:708px;
width:57px;
height:19px;
}
div.index-16 {
position:absolute;
left:364px;
top:708px;
width:68px;
height:19px;
}
div.index-17 {
position:absolute;
left:432px;
top:708px;
width:343px;
height:52px;
}
div.index-18 {
position:absolute;
left:119px;
top:727px;
width:313px;
height:33px;
}
div.index-19 {
position:absolute;
left:432px;
top:708px;
width:343px;
height:52px;
}
-->
</style>
<!-- End ImageReady Styles -->
</head>
<body style="background-color:#C0C0C0; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
<!-- ImageReady Slices (index0002.psd) -->
<center>
<div class="Tabela_01">
<div class="index-01">
<img src="imagens/index/index_01.jpg" width="494" height="119" alt="">
</div>
<div class="index-02">
<img src="imagens/index/index_02.jpg" width="281" height="148" alt="">
</div>
<div class="index-03">
<a href="index.php">
<img src="imagens/index/index_03.jpg" width="76" height="29" border="0" alt=""></a>
</div>
<div class="index-04">
<a href="index.php?acao=a_dupla">
<img src="imagens/index/index_04.jpg" width="100" height="29" border="0" alt=""></a>
</div>
<div class="index-05">
<a href="index.php?acao=discografia">
<img src="imagens/index/index_05.jpg" width="127" height="29" border="0" alt=""></a>
</div>
<div class="index-06">
<a href="index.php?acao=agenda">
<img src="imagens/index/index_06.jpg" width="92" height="29" border="0" alt=""></a>
</div>
<div class="index-07">
<a href="index.php?acao=contatos">
<img src="imagens/index/index_07.jpg" width="99" height="29" border="0" alt=""></a>
</div>
<div class="index-08">
<!-- Início do conteúdo do site -->
<?
if(empty($_GET["acao"]))
{include("home.php");}
else{
if ($_GET["acao"]==a_dupla")
{
include("a_dupla.php");
}
if ($_GET["acao]=="discografia")
{
include("discografia.php");
}
if ($_GET["acao"]==agenda")
{
include("agenda.php");
}
if ($_GET["acao]=="contatos")
{
include("contatos.php");
}
}
?>
<!-- Final do conteúdo do site -->
</div>
<div class="index-09">
<img src="imagens/index/index_09.jpg" width="281" height="247" alt="">
</div>
<div class="index-10">
<img src="imagens/index/index_10.jpg" width="281" height="313" alt="">
</div>
<div class="index-11">
<img src="imagens/index/index_11.jpg" width="119" height="52" alt="">
</div>
<div class="index-12">
<a href="index.php">
<img src="imagens/index/index_12.jpg" width="44" height="19" border="0" alt=""></a>
</div>
<div class="index-13">
<a href="index.php?acao=a_dupla">
<img src="imagens/index/index_13.jpg" width="58" height="19" border="0" alt=""></a>
</div>
<div class="index-14">
<a href="index.php?acao=discografia">
<img src="imagens/index/index_14.jpg" width="86" height="19" border="0" alt=""></a>
</div>
<div class="index-15">
<a href="index.php?acao=agenda">
<img src="imagens/index/index_15.jpg" width="57" height="19" border="0" alt=""></a>
</div>
<div class="index-16">
<a href="index.php?acao=contatos">
<img src="imagens/index/index_16.jpg" width="68" height="19" border="0" alt=""></a>
</div>
<div class="index-17">
<img src="imagens/index/index_17.jpg" width="343" height="52" alt="">
</div>
<div class="index-18">
<img src="imagens/index/index_18.jpg" width="313" height="33" alt="">
</div>
<div class="index-19">
<embed src="vinheta.wav" width="70" height="25" autostart="true">
</div>
</div>
</center>
<!-- End ImageReady Slices -->
</body>
</html>
Link to comment
Share on other sites
1 answer to this question
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.