Centralizar texto pagina html

4 participantes

Ir para baixo

Tópico resolvido Centralizar texto pagina html

Mensagem por psicovk 08.01.13 23:01

Qual é minha questão:
Como eu centralizo está frase na minha pagina html : Bem vindo ao Shopping do LadBlood Otserv.

Codigo: 

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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<center><img src=http://i50.tinypic.com/amcpc1.png></center>
<?php
if(!$logged)
if($action == "logout")
$main_content .= '<div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url(tibiacom/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" ></div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td><font color="fafafa">Bem vindo ao Shopping do LadBlood Otserv.</font></td></tr> </table> </div> </table></div></td></tr>
<br><table width="100%" border="2" cellpadding="4" cellspacing="1">
<tbody><tr>
<td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td>
</tr>
<tr bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de Points</b></td><td width="35%"><b>Valor</b></td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 5 Points</td><td>R$5,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 10 Points</td><td>R$10,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 20 Points</td><td>R$20,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 40 Points</td><td>R$40,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 60 Points</td><td>R$60,00</td></tr>
<tr bgcolor="#f1e0c6"><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td></tr>
</tbody></table>
<br></br>
<table border="2" id="table1"><tbody><tr border="2">
<center><font size="2"><b></b></font></center><div style="width: 0%">
<form method="post" target="_new" action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px 0; float: left;">
<p>
<input type="hidden" name="email_cobranca" value="SEU-EMAIL PAG SEGURO AQUI">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="item_id_1" value="2000050">
















<input type="hidden" name="item_quant_1" 30"><td width="250" bgcolor="#505050"
<br><table border="2"><tbody><tr border="2"><td bgcolor="#505050" class="white">
<strong>Nome do Seu Character (Sem erro):</strong></td></tr></tbody></table>
<table border="2"><tbody><tr border="2"><td bgcolor="grey"><input type="text" name="item_descr_1" id="character"></td></tr></tbody><tbody><tr border="5"><td bgcolor="#505050" class="white">
<strong>Seu nome (Sem erro):</strong></td></tr></tbody></table>
<table border="5"><tbody><tr border="5"><td bgcolor="grey"><input type="text" name="item_descr_1" id="name"></td></tr></table><br>
<input type="hidden" name="item_quant_1" value="1">
<br><table border="2"><tbody><tr border="2"><td width="153" bgcolor="#505050" class="white"><span class="style11 style4"><strong>Valor do pagamento:</strong></span></td>
</tr></tbody></table>
<table border="0"><tbody><tr border="2">
<td width="96" bgcolor="grey"><label>
<select name="item_valor_1" id="item_valor_1" tabindex="2">
<option selected>Selecione</option>
<option value="5,00">5 Points</option>
<option value="10,00">10 Points</option>
<option value="20,00">20 Points</option>
<option value="30,00">30 Points</option>
<option value="40,00">40 Points</option>
<option value="50,00">50 Points</option>
<option value="60,00">60 Points</option>
<option value="70,00">70 Points</option>
<option value="80,00">80 Points</option>
<option value="90,00">90 Points</option>
<option value="100,00">100 Points</option>
<option value="110,00">110 Points</option>
<option value="120,00">120 Points</option>
<option value="130,00">130 Points</option>
<option value="140,00">140 Points</option>
<option value="150,00">150 Points</option>
</select>
</label></td>
</tr></tbody></table>
</td>
</tr>
<br>
<br>
<input type="hidden" name="item_frete_1" value="000">
<br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050"><input type="submit" value="Finalizar Compra"></td></tr></tbody></table>
</p><div></div>
<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font size="4"><font color="fafafa">Pelo PagSeguro é possível realizar doações por Boletos Bancários, Cartões de credito e Transferências entre contas PagSeguro. Após efetuar a doação aguarde o prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão entregues dentro do prazo definido ou após a aprovação do pagamento no PagSeguro.</b></font>'; } ?></font>
<style>#character{width:240px !important;}#name{width:234px !important;}#table1{margin-top:-100px !important;}
body{
background-image: url(http://fantibia.servegame.com:8080/images/56-tibia-wallpaper-31.jpg);
}</style>
<!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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />


Endereço do meu fórum:
http://ladblood.forumeiro.com

Versão do fórum:
PHPBB3


Última edição por psicovk em 09.01.13 18:58, editado 2 vez(es)
psicovk
psicovk
****

Membro desde : 01/07/2012
Mensagens : 372
Pontos : 644

https://ajuda.forumeiros.com

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por Roevs 08.01.13 23:05

Olá,

Troque o código por este

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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<center><img src=http://i50.tinypic.com/amcpc1.png></center>
<?php
if(!$logged)
if($action == "logout")
$main_content .= '<div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url(tibiacom/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" ></div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td><font color="fafafa"><center>Bem vindo ao Shopping do LadBlood Otserv.</center></font></td></tr> </table> </div> </table></div></td></tr>
<br><table width="100%" border="2" cellpadding="4" cellspacing="1">
<tbody><tr>
<td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td>
</tr>
<tr bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de Points</b></td><td width="35%"><b>Valor</b></td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 5 Points</td><td>R$5,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 10 Points</td><td>R$10,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 20 Points</td><td>R$20,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 40 Points</td><td>R$40,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 60 Points</td><td>R$60,00</td></tr>
<tr bgcolor="#f1e0c6"><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td></tr>
</tbody></table>
<br></br>
<table border="2" id="table1"><tbody><tr border="2">
<center><font size="2"><b></b></font></center><div style="width: 0%">
<form method="post" target="_new" action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px 0; float: left;">
<p>
<input type="hidden" name="email_cobranca" value="SEU-EMAIL PAG SEGURO AQUI">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="item_id_1" value="2000050">
















<input type="hidden" name="item_quant_1" 30"><td width="250" bgcolor="#505050"
<br><table border="2"><tbody><tr border="2"><td bgcolor="#505050" class="white">
<strong>Nome do Seu Character (Sem erro):</strong></td></tr></tbody></table>
<table border="2"><tbody><tr border="2"><td bgcolor="grey"><input type="text" name="item_descr_1" id="character"></td></tr></tbody><tbody><tr border="5"><td bgcolor="#505050" class="white">
<strong>Seu nome (Sem erro):</strong></td></tr></tbody></table>
<table border="5"><tbody><tr border="5"><td bgcolor="grey"><input type="text" name="item_descr_1" id="name"></td></tr></table><br>
<input type="hidden" name="item_quant_1" value="1">
<br><table border="2"><tbody><tr border="2"><td width="153" bgcolor="#505050" class="white"><span class="style11 style4"><strong>Valor do pagamento:</strong></span></td>
</tr></tbody></table>
<table border="0"><tbody><tr border="2">
<td width="96" bgcolor="grey"><label>
<select name="item_valor_1" id="item_valor_1" tabindex="2">
<option selected>Selecione</option>
<option value="5,00">5 Points</option>
<option value="10,00">10 Points</option>
<option value="20,00">20 Points</option>
<option value="30,00">30 Points</option>
<option value="40,00">40 Points</option>
<option value="50,00">50 Points</option>
<option value="60,00">60 Points</option>
<option value="70,00">70 Points</option>
<option value="80,00">80 Points</option>
<option value="90,00">90 Points</option>
<option value="100,00">100 Points</option>
<option value="110,00">110 Points</option>
<option value="120,00">120 Points</option>
<option value="130,00">130 Points</option>
<option value="140,00">140 Points</option>
<option value="150,00">150 Points</option>
</select>
</label></td>
</tr></tbody></table>
</td>
</tr>
<br>
<br>
<input type="hidden" name="item_frete_1" value="000">
<br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050"><input type="submit" value="Finalizar Compra"></td></tr></tbody></table>
</p><div></div>
<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font size="4"><font color="fafafa">Pelo PagSeguro é possível realizar doações por Boletos Bancários, Cartões de credito e Transferências entre contas PagSeguro. Após efetuar a doação aguarde o prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão entregues dentro do prazo definido ou após a aprovação do pagamento no PagSeguro.</b></font>'; } ?></font>
<style>#character{width:240px !important;}#name{width:234px !important;}#table1{margin-top:-100px !important;}
body{
background-image: url(http://fantibia.servegame.com:8080/images/56-tibia-wallpaper-31.jpg);
}</style>
<!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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />

Até
Roevs
Roevs
Membro Entusiasta

Membro desde : 10/02/2012
Mensagens : 6484
Pontos : 8343

https://www.sololevelingrpg.com/

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por psicovk 08.01.13 23:06

Não funcionou
psicovk
psicovk
****

Membro desde : 01/07/2012
Mensagens : 372
Pontos : 644

https://ajuda.forumeiros.com

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por Roevs 08.01.13 23:09

Olá,

Tente este

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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<center><img src=http://i50.tinypic.com/amcpc1.png></center>
<?php
if(!$logged)
if($action == "logout")
$main_content .= '<div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url(tibiacom/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" ></div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td><font color="fafafa"><p align=”center”>Bem vindo ao Shopping do LadBlood Otserv.</center></font></td></tr> </table> </div> </table></div></td></tr>
<br><table width="100%" border="2" cellpadding="4" cellspacing="1">
<tbody><tr>
<td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td>
</tr>
<tr bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de Points</b></td><td width="35%"><b>Valor</b></td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 5 Points</td><td>R$5,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 10 Points</td><td>R$10,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 20 Points</td><td>R$20,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 40 Points</td><td>R$40,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 60 Points</td><td>R$60,00</td></tr>
<tr bgcolor="#f1e0c6"><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td></tr>
</tbody></table>
<br></br>
<table border="2" id="table1"><tbody><tr border="2">
<center><font size="2"><b></b></font></center><div style="width: 0%">
<form method="post" target="_new" action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px 0; float: left;">
<p>
<input type="hidden" name="email_cobranca" value="SEU-EMAIL PAG SEGURO AQUI">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="item_id_1" value="2000050">
















<input type="hidden" name="item_quant_1" 30"><td width="250" bgcolor="#505050"
<br><table border="2"><tbody><tr border="2"><td bgcolor="#505050" class="white">
<strong>Nome do Seu Character (Sem erro):</strong></td></tr></tbody></table>
<table border="2"><tbody><tr border="2"><td bgcolor="grey"><input type="text" name="item_descr_1" id="character"></td></tr></tbody><tbody><tr border="5"><td bgcolor="#505050" class="white">
<strong>Seu nome (Sem erro):</strong></td></tr></tbody></table>
<table border="5"><tbody><tr border="5"><td bgcolor="grey"><input type="text" name="item_descr_1" id="name"></td></tr></table><br>
<input type="hidden" name="item_quant_1" value="1">
<br><table border="2"><tbody><tr border="2"><td width="153" bgcolor="#505050" class="white"><span class="style11 style4"><strong>Valor do pagamento:</strong></span></td>
</tr></tbody></table>
<table border="0"><tbody><tr border="2">
<td width="96" bgcolor="grey"><label>
<select name="item_valor_1" id="item_valor_1" tabindex="2">
<option selected>Selecione</option>
<option value="5,00">5 Points</option>
<option value="10,00">10 Points</option>
<option value="20,00">20 Points</option>
<option value="30,00">30 Points</option>
<option value="40,00">40 Points</option>
<option value="50,00">50 Points</option>
<option value="60,00">60 Points</option>
<option value="70,00">70 Points</option>
<option value="80,00">80 Points</option>
<option value="90,00">90 Points</option>
<option value="100,00">100 Points</option>
<option value="110,00">110 Points</option>
<option value="120,00">120 Points</option>
<option value="130,00">130 Points</option>
<option value="140,00">140 Points</option>
<option value="150,00">150 Points</option>
</select>
</label></td>
</tr></tbody></table>
</td>
</tr>
<br>
<br>
<input type="hidden" name="item_frete_1" value="000">
<br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050"><input type="submit" value="Finalizar Compra"></td></tr></tbody></table>
</p><div></div>
<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font size="4"><font color="fafafa">Pelo PagSeguro é possível realizar doações por Boletos Bancários, Cartões de credito e Transferências entre contas PagSeguro. Após efetuar a doação aguarde o prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão entregues dentro do prazo definido ou após a aprovação do pagamento no PagSeguro.</b></font>'; } ?></font>
<style>#character{width:240px !important;}#name{width:234px !important;}#table1{margin-top:-100px !important;}
body{
background-image: url(http://fantibia.servegame.com:8080/images/56-tibia-wallpaper-31.jpg);
}</style>
<!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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />

Até
Roevs
Roevs
Membro Entusiasta

Membro desde : 10/02/2012
Mensagens : 6484
Pontos : 8343

https://www.sololevelingrpg.com/

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por psicovk 08.01.13 23:14

Não funcionou.
psicovk
psicovk
****

Membro desde : 01/07/2012
Mensagens : 372
Pontos : 644

https://ajuda.forumeiros.com

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por seender 09.01.13 0:09

Olá!

Troque por este:
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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<center><img src=http://i50.tinypic.com/amcpc1.png></center>
<?php
if(!$logged)
if($action == "logout")
$main_content .= '<div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url(tibiacom/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" ></div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td><font color="fafafa"><center>Bem vindo ao Shopping do LadBlood Otserv.</center></font></td></tr> </table> </div> </table></div></td></tr>
<br><table width="100%" border="2" cellpadding="4" cellspacing="1">
<tbody><tr>
<td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td>
</tr>
<tr bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de Points</b></td><td width="35%"><b>Valor</b></td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 5 Points</td><td>R$5,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 10 Points</td><td>R$10,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 20 Points</td><td>R$20,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 40 Points</td><td>R$40,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 60 Points</td><td>R$60,00</td></tr>
<tr bgcolor="#f1e0c6"><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td></tr>
</tbody></table>
<br></br>
<table border="2" id="table1"><tbody><tr border="2">
<center><font size="2"><b></b></font></center><div style="width: 0%">
<form method="post" target="_new" action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px 0; float: left;">
<p>
<input type="hidden" name="email_cobranca" value="SEU-EMAIL PAG SEGURO AQUI">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="item_id_1" value="2000050">
















<input type="hidden" name="item_quant_1" 30"><td width="250" bgcolor="#505050"
<br><table border="2"><tbody><tr border="2"><td bgcolor="#505050" class="white">
<strong>Nome do Seu Character (Sem erro):</strong></td></tr></tbody></table>
<table border="2"><tbody><tr border="2"><td bgcolor="grey"><input type="text" name="item_descr_1" id="character"></td></tr></tbody><tbody><tr border="5"><td bgcolor="#505050" class="white">
<strong>Seu nome (Sem erro):</strong></td></tr></tbody></table>
<table border="5"><tbody><tr border="5"><td bgcolor="grey"><input type="text" name="item_descr_1" id="name"></td></tr></table><br>
<input type="hidden" name="item_quant_1" value="1">
<br><table border="2"><tbody><tr border="2"><td width="153" bgcolor="#505050" class="white"><span class="style11 style4"><strong>Valor do pagamento:</strong></span></td>
</tr></tbody></table>
<table border="0"><tbody><tr border="2">
<td width="96" bgcolor="grey"><label>
<select name="item_valor_1" id="item_valor_1" tabindex="2">
<option selected>Selecione</option>
<option value="5,00">5 Points</option>
<option value="10,00">10 Points</option>
<option value="20,00">20 Points</option>
<option value="30,00">30 Points</option>
<option value="40,00">40 Points</option>
<option value="50,00">50 Points</option>
<option value="60,00">60 Points</option>
<option value="70,00">70 Points</option>
<option value="80,00">80 Points</option>
<option value="90,00">90 Points</option>
<option value="100,00">100 Points</option>
<option value="110,00">110 Points</option>
<option value="120,00">120 Points</option>
<option value="130,00">130 Points</option>
<option value="140,00">140 Points</option>
<option value="150,00">150 Points</option>
</select>
</label></td>
</tr></tbody></table>
</td>
</tr>
<br>
<br>
<input type="hidden" name="item_frete_1" value="000">
<br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050"><input type="submit" value="Finalizar Compra"></td></tr></tbody></table>
</p><div></div>
<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font size="4"><font color="fafafa">Pelo PagSeguro é possível realizar doações por Boletos Bancários, Cartões de credito e Transferências entre contas PagSeguro. Após efetuar a doação aguarde o prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão entregues dentro do prazo definido ou após a aprovação do pagamento no PagSeguro.</b></font>'; } ?></font>
<style>#character{width:240px !important;}#name{width:234px !important;}#table1{margin-top:-100px !important;}
body{
background-image: url(http://fantibia.servegame.com:8080/images/56-tibia-wallpaper-31.jpg);
}</style>
Até mais!
seender
seender
Membro Entusiasta

Membro desde : 07/04/2009
Mensagens : 9449
Pontos : 12455

http://www.divulgamaisweb.com https://www.facebook.com/Divulga-Mais-Web-874814432638426/

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por psicovk 09.01.13 0:13

Não funcionou seender.
psicovk
psicovk
****

Membro desde : 01/07/2012
Mensagens : 372
Pontos : 644

https://ajuda.forumeiros.com

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por seender 09.01.13 1:26

Olá!

Substitua o código por este:
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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<center><img src=http://i50.tinypic.com/amcpc1.png></center>
<?php
if(!$logged)
if($action == "logout")
$main_content .= '<div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url(tibiacom/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" ></div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td><font color="fafafa"><span class="bem">Bem vindo ao Shopping do LadBlood Otserv.</div></font></td></tr> </table> </div> </table></div></td></tr>
<br><table width="100%" border="2" cellpadding="4" cellspacing="1">
<tbody><tr>
<td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td>
</tr>
<tr bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de Points</b></td><td width="35%"><b>Valor</b></td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 5 Points</td><td>R$5,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 10 Points</td><td>R$10,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 20 Points</td><td>R$20,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 40 Points</td><td>R$40,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 60 Points</td><td>R$60,00</td></tr>
<tr bgcolor="#f1e0c6"><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td></tr>
</tbody></table>
<br></br>
<table border="2" id="table1"><tbody><tr border="2">
<center><font size="2"><b></b></font></center><div style="width: 0%">
<form method="post" target="_new" action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px 0; float: left;">
<p>
<input type="hidden" name="email_cobranca" value="SEU-EMAIL PAG SEGURO AQUI">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="item_id_1" value="2000050">
















<input type="hidden" name="item_quant_1" 30"><td width="250" bgcolor="#505050"
<br><table border="2"><tbody><tr border="2"><td bgcolor="#505050" class="white">
<strong>Nome do Seu Character (Sem erro):</strong></td></tr></tbody></table>
<table border="2"><tbody><tr border="2"><td bgcolor="grey"><input type="text" name="item_descr_1" id="character"></td></tr></tbody><tbody><tr border="5"><td bgcolor="#505050" class="white">
<strong>Seu nome (Sem erro):</strong></td></tr></tbody></table>
<table border="5"><tbody><tr border="5"><td bgcolor="grey"><input type="text" name="item_descr_1" id="name"></td></tr></table><br>
<input type="hidden" name="item_quant_1" value="1">
<br><table border="2"><tbody><tr border="2"><td width="153" bgcolor="#505050" class="white"><span class="style11 style4"><strong>Valor do pagamento:</strong></span></td>
</tr></tbody></table>
<table border="0"><tbody><tr border="2">
<td width="96" bgcolor="grey"><label>
<select name="item_valor_1" id="item_valor_1" tabindex="2">
<option selected>Selecione</option>
<option value="5,00">5 Points</option>
<option value="10,00">10 Points</option>
<option value="20,00">20 Points</option>
<option value="30,00">30 Points</option>
<option value="40,00">40 Points</option>
<option value="50,00">50 Points</option>
<option value="60,00">60 Points</option>
<option value="70,00">70 Points</option>
<option value="80,00">80 Points</option>
<option value="90,00">90 Points</option>
<option value="100,00">100 Points</option>
<option value="110,00">110 Points</option>
<option value="120,00">120 Points</option>
<option value="130,00">130 Points</option>
<option value="140,00">140 Points</option>
<option value="150,00">150 Points</option>
</select>
</label></td>
</tr></tbody></table>
</td>
</tr>
<br>
<br>
<input type="hidden" name="item_frete_1" value="000">
<br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050"><input type="submit" value="Finalizar Compra"></td></tr></tbody></table>
</p><div></div>
<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font size="4"><font color="fafafa">Pelo PagSeguro é possível realizar doações por Boletos Bancários, Cartões de credito e Transferências entre contas PagSeguro. Após efetuar a doação aguarde o prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão entregues dentro do prazo definido ou após a aprovação do pagamento no PagSeguro.</b></font>'; } ?></font>
<style>#character{width:240px !important;}#name{width:234px !important;}#table1{margin-top:-100px !important;}
span.bem{margin-left:510px !important;}
body{
background-image: url(http://fantibia.servegame.com:8080/images/56-tibia-wallpaper-31.jpg);
}</style>
Até mais!
seender
seender
Membro Entusiasta

Membro desde : 07/04/2009
Mensagens : 9449
Pontos : 12455

http://www.divulgamaisweb.com https://www.facebook.com/Divulga-Mais-Web-874814432638426/

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por psicovk 09.01.13 1:42

Seender devido a um bug que ocorreu neste script ele mudou um pouco, faça a alteração nesse:

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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<center><img src=http://i50.tinypic.com/amcpc1.png></center>
<?php
if(!$logged)
if($action == "logout")
$main_content .= '<div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url(tibiacom/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" ></div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td><font color="fafafa"><p align=”center”>Bem vindo ao Shopping do LadBlood Otserv.</center></font></td></tr> </table> </div> </table></div></td></tr>
<br><table width="100%" border="2" cellpadding="4" cellspacing="1">
<tbody><tr>
<td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td>
</tr>
<tr bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de Points</b></td><td width="35%"><b>Valor</b></td></tr>
<tr bgcolor="#d4c0a1"><td><img src="http://imgur.com/VvxPx.png"> 5 Points</td><td>R$5,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="http://imgur.com/VvxPx.png"> 10 Points</td><td>R$10,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="http://imgur.com/VvxPx.png"> 20 Points</td><td>R$20,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="http://imgur.com/VvxPx.png"> 40 Points</td><td>R$40,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="http://imgur.com/VvxPx.png"> 60 Points</td><td>R$60,00</td></tr>
<tr bgcolor="#f1e0c6"><td><center><img src=""> E assim por diante!!! </center></td><td><center><img src=""> E assim por diante!!! <img src=""></center></td></tr>
</tbody></table>
<br></br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050">
<center><font size="2"><b></b></font></center>
<div style="width: 0%">
<form method="post" target="_new" action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px 0; float: left;">
<p>
<input type="hidden" name="email_cobranca" value="SEU-EMAIL PAG SEGURO AQUI">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="item_id_1" value="2000050">
<br><table border="2"><tbody><tr border="2"><td bgcolor="#505050" class="white"><strong>Nome do Seu Character (Sem erro):</strong></td></tr></tbody></table>
<table border="2"><tbody><tr border="2"><td bgcolor="grey"><input type="text" name="item_descr_1"></td></tr></tbody></table><br>
<input type="hidden" name="item_quant_1" value="1">
<br><table border="2"><tbody><tr border="2"><td width="153" bgcolor="#505050" class="white"><span class="style11 style4"><strong>Valor do pagamento:</strong></span></td>
</tr></tbody></table>
<table border="0"><tbody><tr border="2">
<td width="96" bgcolor="grey"><label>
<select name="item_valor_1" id="item_valor_1" tabindex="2">
<option selected>Selecione</option>
          <option value="5,00">5 Points</option>
          <option value="10,00">10 Points</option>
          <option value="20,00">20 Points</option>
          <option value="30,00">30 Points</option>
          <option value="40,00">40 Points</option>
          <option value="50,00">50 Points</option>
          <option value="60,00">60 Points</option>
          <option value="70,00">70 Points</option>
          <option value="80,00">80 Points</option>
          <option value="90,00">90 Points</option>
          <option value="100,00">100 Points</option>
          <option value="110,00">110 Points</option>
          <option value="120,00">120 Points</option>
          <option value="130,00">130 Points</option>
          <option value="140,00">140 Points</option>
          <option value="150,00">150 Points</option>
                                                            </select>
  </label></td>
</tr></tbody></table>

</td>
</tr>
<br>
<br>
<input type="hidden" name="item_frete_1" value="000">
<br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050"><input type="submit" value="Finalizar Compra"></td></tr></tbody></table>
</p>
<div></div>
<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font size="4"><font color="fafafa">Pelo PagSeguro é possível realizar doações por Boletos Bancários, Cartões de credito e Transferências entre contas PagSeguro. Após efetuar a doação aguarde o prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão entregues dentro do prazo definido ou após a aprovação do pagamento no PagSeguro.</b></font>'; } ?></font>
<style>#character{width:240px !important;}#name{width:234px !important;}#table1{margin-top:-100px !important;}
body{
background-image: url(http://fantibia.servegame.com:8080/images/56-tibia-wallpaper-31.jpg);
}</style>
<!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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
psicovk
psicovk
****

Membro desde : 01/07/2012
Mensagens : 372
Pontos : 644

https://ajuda.forumeiros.com

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por seender 09.01.13 1:45

Olá!

Troque por este então:
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" dir="ltr" id="min-width"
xml:lang="pt" lang="pt"><meta http-equiv="content-type"
content="text/html; charset=UTF-8"><meta http-equiv="Content-Type"
 content="text/html;charset=iso-8859-1" />
<center><img src=http://i50.tinypic.com/amcpc1.png></center>
<?php
if(!$logged)
if($action == "logout")
$main_content
 .= '<div class="TableContainer" > <table class="Table1"
cellpadding="0" cellspacing="0" > <div class="CaptionContainer"
> <div class="CaptionInnerContainer" > <span
class="CaptionEdgeLeftTop"
style="background-image:url(tibiacom/images/content/box-frame-edge.gif);"
 /></span> <span class="CaptionEdgeRightTop"
style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);"
 /></span> <span class="CaptionBorderTop"
style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);"
 ></span> <span class="CaptionVerticalLeft"
style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);"
 /></span> <div class="Text" ></div> <span
class="CaptionVerticalRight"
style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);"
 /></span> <span class="CaptionBorderBottom"
style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);"
 ></span> <span class="CaptionEdgeLeftBottom"
style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);"
 /></span> <span class="CaptionEdgeRightBottom"
style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);"
 /></span> </div> </div> <tr> <td>
<div class="InnerTableContainer" > <table style="width:100%;"
><tr><td><font color="fafafa"><p
align=”center”><span class="bem">Bem vindo ao Shopping do LadBlood Otserv.</span></center></font></td></tr> </table>
 </div> </table></div></td></tr>
<br><table width="100%" border="2" cellpadding="4" cellspacing="1">
<tbody><tr>
<td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td>
</tr>
<tr
 bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de
Points</b></td><td
width="35%"><b>Valor</b></td></tr>
<tr
bgcolor="#d4c0a1"><td><img
src="http://imgur.com/VvxPx.png"> 5
Points</td><td>R$5,00</td></tr>
<tr
bgcolor="#f1e0c6"><td><img
src="http://imgur.com/VvxPx.png"> 10
Points</td><td>R$10,00</td></tr>
<tr
bgcolor="#d4c0a1"><td><img
src="http://imgur.com/VvxPx.png"> 20
Points</td><td>R$20,00</td></tr>
<tr
bgcolor="#f1e0c6"><td><img
src="http://imgur.com/VvxPx.png"> 40
Points</td><td>R$40,00</td></tr>
<tr
bgcolor="#d4c0a1"><td><img
src="http://imgur.com/VvxPx.png"> 60
Points</td><td>R$60,00</td></tr>
<tr
bgcolor="#f1e0c6"><td><center><img src=""> E assim
por diante!!! </center></td><td><center><img
src=""> E assim por diante!!! <img
src=""></center></td></tr>
</tbody></table>
<br></br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050">
<center><font size="2"><b></b></font></center>
<div style="width: 0%">
<form
 method="post" target="_new"
action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx"
 name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px
0; float: left;">
<p>
<input type="hidden" name="email_cobranca" value="SEU-EMAIL PAG SEGURO AQUI">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="item_id_1" value="2000050">
<br><table
 border="2"><tbody><tr border="2"><td
bgcolor="#505050" class="white"><strong>Nome do Seu Character
(Sem
erro):</strong></td></tr></tbody></table>
<table
 border="2"><tbody><tr border="2"><td
bgcolor="grey"><input type="text"
name="item_descr_1"></td></tr></tbody></table><br>
<input type="hidden" name="item_quant_1" value="1">
<br><table
 border="2"><tbody><tr border="2"><td width="153"
bgcolor="#505050" class="white"><span class="style11
style4"><strong>Valor do
pagamento:</strong></span></td>
</tr></tbody></table>
<table border="0"><tbody><tr border="2">
<td width="96" bgcolor="grey"><label>
<select name="item_valor_1" id="item_valor_1" tabindex="2">
<option selected>Selecione</option>
          <option value="5,00">5 Points</option>
          <option value="10,00">10 Points</option>
          <option value="20,00">20 Points</option>
          <option value="30,00">30 Points</option>
          <option value="40,00">40 Points</option>
          <option value="50,00">50 Points</option>
          <option value="60,00">60 Points</option>
          <option value="70,00">70 Points</option>
          <option value="80,00">80 Points</option>
          <option value="90,00">90 Points</option>
          <option value="100,00">100 Points</option>
          <option value="110,00">110 Points</option>
          <option value="120,00">120 Points</option>
          <option value="130,00">130 Points</option>
          <option value="140,00">140 Points</option>
          <option value="150,00">150 Points</option>
                                                            </select>
  </label></td>
</tr></tbody></table>

</td>
</tr>
<br>
<br>
<input type="hidden" name="item_frete_1" value="000">
<br>
<table
 border="2"><tbody><tr border="2"><td
bgcolor="#505050"><input type="submit" value="Finalizar
Compra"></td></tr></tbody></table>
</p>
<div></div>
<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font
 size="4"><font color="fafafa">Pelo PagSeguro é possível
realizar doações por Boletos Bancários, Cartões de credito e
Transferências entre contas PagSeguro. Após efetuar a doação aguarde o
prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão
entregues dentro do prazo definido ou após a aprovação do pagamento no
PagSeguro.</b></font>'; } ?></font>
<style>#character{width:240px !important;}#name{width:234px !important;}#table1{margin-top:-100px !important;}
body{
background-image: url(http://fantibia.servegame.com:8080/images/56-tibia-wallpaper-31.jpg);
}
span.bem{margin-left:510px !important;}</style>
<!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" dir="ltr" id="min-width"
xml:lang="pt" lang="pt"><meta http-equiv="content-type"
content="text/html; charset=UTF-8"><meta http-equiv="Content-Type"
 content="text/html;charset=iso-8859-1" />
Melhores cumprimentos,
seender
seender
seender
Membro Entusiasta

Membro desde : 07/04/2009
Mensagens : 9449
Pontos : 12455

http://www.divulgamaisweb.com https://www.facebook.com/Divulga-Mais-Web-874814432638426/

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por psicovk 09.01.13 2:02

Pode fechar.
psicovk
psicovk
****

Membro desde : 01/07/2012
Mensagens : 372
Pontos : 644

https://ajuda.forumeiros.com

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por LucaaS Sizanoski 09.01.13 2:08

Tente esse codigo -

Código:
<center>
<!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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<center><img src=http://i50.tinypic.com/amcpc1.png></center>
<?php
if(!$logged)
if($action == "logout")
$main_content .= '<div class="TableContainer" > <table class="Table1" cellpadding="0" cellspacing="0" > <div class="CaptionContainer" > <div class="CaptionInnerContainer" > <span class="CaptionEdgeLeftTop" style="background-image:url(tibiacom/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <div class="Text" ></div> <span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></span> <span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);" ></span> <span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> <span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></span> </div> </div> <tr> <td><center> <div class="InnerTableContainer" > <table style="width:100%;" ><tr><td><font color="fafafa">Bem vindo ao Shopping do LadBlood Otserv.</font></td></tr> </table> </div> </table></div></td></tr></center>
<br><table width="100%" border="2" cellpadding="4" cellspacing="1">
<tbody><tr>
<td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td>
</tr>
<tr bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de Points</b></td><td width="35%"><b>Valor</b></td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 5 Points</td><td>R$5,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 10 Points</td><td>R$10,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 20 Points</td><td>R$20,00</td></tr>
<tr bgcolor="#f1e0c6"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 40 Points</td><td>R$40,00</td></tr>
<tr bgcolor="#d4c0a1"><td><img src="./layouts/tibiacom/images/content/bullet.gif"> 60 Points</td><td>R$60,00</td></tr>
<tr bgcolor="#f1e0c6"><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td><td><center><img src="./layouts/tibiacom/images/content/bullet.gif"> E assim por diante!!! <img src="./layouts/tibiacom/images/content/bullet.gif"></center></td></tr>
</tbody></table>
<br></br>
<table border="2" id="table1"><tbody><tr border="2">
<center><font size="2"><b></b></font></center><div style="width: 0%">
<form method="post" target="_new" action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px 0; float: left;">
<p>
<input type="hidden" name="email_cobranca" value="SEU-EMAIL PAG SEGURO AQUI">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="item_id_1" value="2000050">
















<input type="hidden" name="item_quant_1" 30"><td width="250" bgcolor="#505050"
<br><table border="2"><tbody><tr border="2"><td bgcolor="#505050" class="white">
<strong>Nome do Seu Character (Sem erro):</strong></td></tr></tbody></table>
<table border="2"><tbody><tr border="2"><td bgcolor="grey"><input type="text" name="item_descr_1" id="character"></td></tr></tbody><tbody><tr border="5"><td bgcolor="#505050" class="white">
<strong>Seu nome (Sem erro):</strong></td></tr></tbody></table>
<table border="5"><tbody><tr border="5"><td bgcolor="grey"><input type="text" name="item_descr_1" id="name"></td></tr></table><br>
<input type="hidden" name="item_quant_1" value="1">
<br><table border="2"><tbody><tr border="2"><td width="153" bgcolor="#505050" class="white"><span class="style11 style4"><strong>Valor do pagamento:</strong></span></td>
</tr></tbody></table>
<table border="0"><tbody><tr border="2">
<td width="96" bgcolor="grey"><label>
<select name="item_valor_1" id="item_valor_1" tabindex="2">
<option selected>Selecione</option>
<option value="5,00">5 Points</option>
<option value="10,00">10 Points</option>
<option value="20,00">20 Points</option>
<option value="30,00">30 Points</option>
<option value="40,00">40 Points</option>
<option value="50,00">50 Points</option>
<option value="60,00">60 Points</option>
<option value="70,00">70 Points</option>
<option value="80,00">80 Points</option>
<option value="90,00">90 Points</option>
<option value="100,00">100 Points</option>
<option value="110,00">110 Points</option>
<option value="120,00">120 Points</option>
<option value="130,00">130 Points</option>
<option value="140,00">140 Points</option>
<option value="150,00">150 Points</option>
</select>
</label></td>
</tr></tbody></table>
</td>
</tr>
<br>
<br>
<input type="hidden" name="item_frete_1" value="000">
<br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050"><input type="submit" value="Finalizar Compra"></td></tr></tbody></table>
</p><div></div>
<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font size="4"><font color="fafafa">Pelo PagSeguro é possível realizar doações por Boletos Bancários, Cartões de credito e Transferências entre contas PagSeguro. Após efetuar a doação aguarde o prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão entregues dentro do prazo definido ou após a aprovação do pagamento no PagSeguro.</b></font>'; } ?></font>
<style>#character{width:240px !important;}#name{width:234px !important;}#table1{margin-top:-100px !important;}
body{
background-image: url(http://fantibia.servegame.com:8080/images/56-tibia-wallpaper-31.jpg);
}</style>
<!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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" /></center>

Até mais , Resulta ? Cordialmente iFasT Café
LucaaS Sizanoski
LucaaS Sizanoski
***

Membro desde : 27/11/2012
Mensagens : 183
Pontos : 238

Ir para o topo Ir para baixo

Tópico resolvido Re: Centralizar texto pagina html

Mensagem por seender 09.01.13 2:09

Olá!

Troque por este:
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" dir="ltr" id="min-width"
xml:lang="pt" lang="pt"><meta http-equiv="content-type"
content="text/html; charset=UTF-8"><meta http-equiv="Content-Type"
 content="text/html;charset=iso-8859-1" />
<center><img src=http://i50.tinypic.com/amcpc1.png></center>
<?php
if(!$logged)
if($action == "logout")
$main_content
 .= '<div class="TableContainer" > <table class="Table1"
cellpadding="0" cellspacing="0" > <div class="CaptionContainer"
> <div class="CaptionInnerContainer" > <span
class="CaptionEdgeLeftTop"
style="background-image:url(tibiacom/images/content/box-frame-edge.gif);"
 /></span> <span class="CaptionEdgeRightTop"
style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);"
 /></span> <span class="CaptionBorderTop"
style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);"
 ></span> <span class="CaptionVerticalLeft"
style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);"
 /></span> <div class="Text" ></div> <span
class="CaptionVerticalRight"
style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);"
 /></span> <span class="CaptionBorderBottom"
style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif);"
 ></span> <span class="CaptionEdgeLeftBottom"
style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);"
 /></span> <span class="CaptionEdgeRightBottom"
style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);"
 /></span> </div> </div> <tr> <td>
<div class="InnerTableContainer" > <table style="width:100%;"
><tr><td><font color="fafafa"><p
align=”center”><span class="bem">Bem vindo ao Shopping do LadBlood Otserv.</span></center></font></td></tr> </table>
 </div> </table></div></td></tr>
<br><table width="100%" border="2" cellpadding="4" cellspacing="1">
<tbody><tr>
<td class="white" colspan="3" bgcolor="#505050"><span class="style4">Detalhes dos Points.</span></td>
</tr>
<tr
 bgcolor="#f1e0c6"><td width="35%"><b>Quantidade de
Points</b></td><td
width="35%"><b>Valor</b></td></tr>
<tr
bgcolor="#d4c0a1"><td><img
src="http://imgur.com/VvxPx.png"> 5
Points</td><td>R$5,00</td></tr>
<tr
bgcolor="#f1e0c6"><td><img
src="http://imgur.com/VvxPx.png"> 10
Points</td><td>R$10,00</td></tr>
<tr
bgcolor="#d4c0a1"><td><img
src="http://imgur.com/VvxPx.png"> 20
Points</td><td>R$20,00</td></tr>
<tr
bgcolor="#f1e0c6"><td><img
src="http://imgur.com/VvxPx.png"> 40
Points</td><td>R$40,00</td></tr>
<tr
bgcolor="#d4c0a1"><td><img
src="http://imgur.com/VvxPx.png"> 60
Points</td><td>R$60,00</td></tr>
<tr
bgcolor="#f1e0c6"><td><center><img src=""> E assim
por diante!!! </center></td><td><center><img
src=""> E assim por diante!!! <img
src=""></center></td></tr>
</tbody></table>
<br></br>
<table border="2"><tbody><tr border="2"><td bgcolor="#505050">
<center><font size="2"><b></b></font></center>
<div style="width: 0%">
<form
 method="post" target="_new"
action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx"
 name="LOGIN" class="formulario" style="width: 450px; margin: 0 0 10px
0; float: left;">
<p>
<input type="hidden" name="email_cobranca" value="SEU-EMAIL PAG SEGURO AQUI">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="item_id_1" value="2000050">
<br><table
 border="2"><tbody><tr border="2"><td
bgcolor="#505050" class="white"><strong>Nome do Seu Character
(Sem
erro):</strong></td></tr></tbody></table>
<table
 border="2"><tbody><tr border="2"><td
bgcolor="grey"><input type="text"
name="item_descr_1"></td></tr></tbody></table><br>
<input type="hidden" name="item_quant_1" value="1">
<br><table
 border="2"><tbody><tr border="2"><td width="153"
bgcolor="#505050" class="white"><span class="style11
style4"><strong>Valor do
pagamento:</strong></span></td>
</tr></tbody></table>
<table border="0"><tbody><tr border="2">
<td width="96" bgcolor="grey"><label>
<select name="item_valor_1" id="item_valor_1" tabindex="2">
<option selected>Selecione</option>
          <option value="5,00">5 Points</option>
          <option value="10,00">10 Points</option>
          <option value="20,00">20 Points</option>
          <option value="30,00">30 Points</option>
          <option value="40,00">40 Points</option>
          <option value="50,00">50 Points</option>
          <option value="60,00">60 Points</option>
          <option value="70,00">70 Points</option>
          <option value="80,00">80 Points</option>
          <option value="90,00">90 Points</option>
          <option value="100,00">100 Points</option>
          <option value="110,00">110 Points</option>
          <option value="120,00">120 Points</option>
          <option value="130,00">130 Points</option>
          <option value="140,00">140 Points</option>
          <option value="150,00">150 Points</option>
                                                            </select>
  </label></td>
</tr></tbody></table>

</td>
</tr>
<br>
<br>
<input type="hidden" name="item_frete_1" value="000">
<br>
<table
 border="2"><tbody><tr border="2"><td
bgcolor="#505050"><input type="submit" value="Finalizar Compra"></td></tr></tbody></table>
</p>
<div></div>
<tr>
</tr>
</tbody></table></form>
<br></br><br></br><b><font size="4"><font color="fafafa">Pelo PagSeguro é possível realizar doações por Boletos Bancários, Cartões de credito e Transferências entre contas PagSeguro. Após efetuar a doação aguarde o prazo de 24/48hrs para a conclusão da sua doação.Os Coins serão entregues dentro do prazo definido ou após a aprovação do pagamento no
PagSeguro.</b></font>'; } ?></font>
<style>#character{width:240px !important;}#name{width:234px !important;}#table1{margin-top:-100px !important;}
body{
background-image: url(http://fantibia.servegame.com:8080/images/56-tibia-wallpaper-31.jpg);
}
span.bem{margin-left:510px !important;}</style>
<!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" dir="ltr" id="min-width" xml:lang="pt" lang="pt"><meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta http-equiv="Content-Type"  content="text/html;charset=iso-8859-1" />
Até mais!
seender
seender
Membro Entusiasta

Membro desde : 07/04/2009
Mensagens : 9449
Pontos : 12455

http://www.divulgamaisweb.com https://www.facebook.com/Divulga-Mais-Web-874814432638426/

Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

 
Permissões neste sub-fórum
Não podes responder a tópicos