Sou meio novo no dreamweaver, estou a 2 dias usando-o e estou com um problemão!
no teste fica normal, mas no site o background n aparece!
estou fazendo um site em php, deem uma olhada no código.
<!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>Karsus RO</title>
<style type="text/css">
<!--
body {
background: #666666;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
background-color: #666666;
font-family: fantasy;
font-size: 100%;
font-style: normal;
font-weight: normal;
background-repeat: repeat;
}
.oneColElsCtr #container {
width: 800px;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: justify; /* this overrides the text-align: center on the body element. */
background-image: http://img217.imageshack.us/my.php?image=bgcopydj5.png(bgcopydj5.png);
height: 750px;
}
.oneColElsCtr #mainContent {
padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
}
.oneColElsCtr #container {
}
.oneColElsCtr #container p {
}
body,td,th {
color: #333333;
font-size: large;
}
#apDiv1 {
position:absolute;
width:391px;
height:349px;
z-index:1;
left: 323px;
top: 372px;
}
.style1 {
font-size: larger;
color: #666666;
font-family: Vinque;
}
.style2 {color: #333333}
.style3 {font-size: 36px}
.style5 {font-size: 14px; }
#apDiv3 { position:absolute;
width:200px;
height:115px;
z-index:2;
left: 125px;
top: 299px;
}
-->
</style>
</head>
<body class="oneColElsCtr" tracingsrc="http://img217.imageshack.us/my.php?image=bgcopydj5.png" tracingopacity="0">
<div id="container"><!-- end #container -->
<p> </p>
<ol><blockquote> </blockquote>
</ol>
<p align="center"> </p>
<div class="oneColElsCtr">
<div class="style1" id="apDiv1">
<div align="center" class="style2"></div>
<div align="center" class="style2">
<p class="style3">NotÃcias</p>
<p>Site Aberto!</p>
<p><a href="http://z10.invisionfree.com/KarsusRO/index.php?showtopic=1">Servidor em fase de testes!</a></p>
<p> </p>
<p> </p>
<p><a href="http://z10.invisionfree.com/KarsusRO/index.php?showforum=1" class="style5" align="center">ver todas as notÃcias</a></p>
</div>
</div>
</div><p> </p>
<div id="apDiv3">
<div align="center">
<div align="right">
<div align="left">
<pre>Home Downloads <a href="http://z10.invisionfree.com/KarsusRO/index.php?act=idx">Fórum</a> Staff Cadastro Servidores VIP CP</pre>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Pergunta
Átilla
Sou meio novo no dreamweaver, estou a 2 dias usando-o e estou com um problemão!
no teste fica normal, mas no site o background n aparece!
estou fazendo um site em php, deem uma olhada no código.
<!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>Karsus RO</title> <style type="text/css"> <!-- body { background: #666666; margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */ padding: 0; text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */ color: #000000; background-color: #666666; font-family: fantasy; font-size: 100%; font-style: normal; font-weight: normal; background-repeat: repeat; } .oneColElsCtr #container { width: 800px; margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */ border: 1px solid #000000; text-align: justify; /* this overrides the text-align: center on the body element. */ background-image: http://img217.imageshack.us/my.php?image=bgcopydj5.png(bgcopydj5.png); height: 750px; } .oneColElsCtr #mainContent { padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */ } .oneColElsCtr #container { } .oneColElsCtr #container p { } body,td,th { color: #333333; font-size: large; } #apDiv1 { position:absolute; width:391px; height:349px; z-index:1; left: 323px; top: 372px; } .style1 { font-size: larger; color: #666666; font-family: Vinque; } .style2 {color: #333333} .style3 {font-size: 36px} .style5 {font-size: 14px; } #apDiv3 { position:absolute; width:200px; height:115px; z-index:2; left: 125px; top: 299px; } --> </style> </head> <body class="oneColElsCtr" tracingsrc="http://img217.imageshack.us/my.php?image=bgcopydj5.png" tracingopacity="0"> <div id="container"><!-- end #container --> <p> </p> <ol><blockquote> </blockquote> </ol> <p align="center"> </p> <div class="oneColElsCtr"> <div class="style1" id="apDiv1"> <div align="center" class="style2"></div> <div align="center" class="style2"> <p class="style3">NotÃcias</p> <p>Site Aberto!</p> <p><a href="http://z10.invisionfree.com/KarsusRO/index.php?showtopic=1">Servidor em fase de testes!</a></p> <p> </p> <p> </p> <p><a href="http://z10.invisionfree.com/KarsusRO/index.php?showforum=1" class="style5" align="center">ver todas as notÃcias</a></p> </div> </div> </div><p> </p> <div id="apDiv3"> <div align="center"> <div align="right"> <div align="left"> <pre>Home Downloads <a href="http://z10.invisionfree.com/KarsusRO/index.php?act=idx">Fórum</a> Staff Cadastro Servidores VIP CP</pre> </div> </div> </div> </div> </div> </body> </html>grato
Link para o comentário
Compartilhar em outros sites
1 resposta a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.