Template HTML
Página 1 de 1 • Compartilhe
Template HTML
Qual é sua questão:
Olá.
Gostaria que me ajudassem a solucionar o erro do código HTML abaixo (É de um template - View_profile )
O Template é Phpbb2 .
Já revisei ele muitas vezes,mas continua dando a mensagem : A baliza foi fechada antes de ter sido aberta ou ela não foi aberta.
Código
Que medidas você tomou para corrigir o problema:
Tentei muitas vezes,Fiquei conferindo tag por tag.
Apresente-nos imagens do problema (se necessário):
Não é necessário.
Olá.
Gostaria que me ajudassem a solucionar o erro do código HTML abaixo (É de um template - View_profile )
O Template é Phpbb2 .
Já revisei ele muitas vezes,mas continua dando a mensagem : A baliza foi fechada antes de ter sido aberta ou ela não foi aberta.
Código
- Código:
<style>
.personagemmeio {
min-height: 583px !important;
max-height: 590px;
}
.personagemesquerda {
width: 40%;
}
.avatar {
background-color: black;
border: 1px solid black;
}
.frm-set.clearfix {
margin-top: 47px;
border: 1px solid #06067A;
padding: 11px;
}
table{
width: 96%;
}
#field_id10 {
font-size: 40px !important;
}
#field_id-14 .field_uneditable {
font-size: 22px;
}
#field_id12 .field_uneditable {
overflow: auto;
height: 34px;
width: 77%;
}
#field_id-14 img {
vertical-align: middle;
}
#field_id-13 .field_uneditable {
font-size: 22px;
}
#field_id-13 img {
vertical-align: middle;
}
#field_id10 .ajax-profil_parent {
text-align: center !important;
}
#field_id-13 {
color: white !Important;
display: block;
background-color: #131600;
border: 2px solid #919100;
border-radius: 26px 0 27px 0;
box-shadow: inset 0 0 20px #BDBD07;
position: relative;
left: 281px;
top: -1em;
font-weight: 700;
padding: 32px;
text-align: center;
text-shadow: 0 1px 0 #D5CD0C,0 2px 0 #615900,0 3px 0 #7C7C00,0 4px 0 #808006,0 5px 0 #C2C200,0 6px 1px rgba(253, 203, 0, .1),0 0 5px rgba(175, 57, 11, .1),0 1px 3px rgba(235, 255, 0, .3),0 3px 5px rgba(0, 0, 0, .2),0 5px 10px rgba(0, 0, 0, .25),0 10px 10px rgba(0, 0, 0, .2),0 20px 20px rgba(0, 0, 0, .15);
text-transform: uppercase;
width: 103px;
}
#field_id-14 {
display: block;
background-color: #001601;
border: 2px solid #2E9100;
border-radius: 26px 0 27px 0;
box-shadow: inset 0 0 20px #2BBD07;
position: absolute;
left: 22em;
font-weight: 700;
padding: 32px;
text-align: center;
text-shadow: 0 1px 0 #14D50C,0 2px 0 #0C6100,0 3px 0 #0F7C00,0 4px 0 #06800B,0 5px 0 #17C200,0 6px 1px rgba(253, 203, 0, .1),0 0 5px rgba(175, 57, 11, .1),0 1px 3px rgba(0, 255, 10, .3),0 3px 5px rgba(0, 0, 0, .2),0 5px 10px rgba(0, 0, 0, .25),0 10px 10px rgba(0, 0, 0, .2),0 20px 20px rgba(0, 0, 0, .15);
text-transform: uppercase;
width: 102px;
}
.personagemmeio {
padding-bottom: 73px;
}
.avatar img {
width: 122px;
}
.avatar img {
width: 154px;
max-width: 154px;
min-width: 143px;
}
.on {
margin-top: -150px !Important;
}
.ranked {
color: black;
position: relative;
left: 21em;
box-shadow: 0 0 40px blue;
top: -7em;
padding: 11px;
border-radius: 20px;
}
.on {
color: #0FDB0F;
text-align: center;
font-weight: bold;
font-family: Arial;
text-transform: uppercase;
letter-spacing: -1px;
margin: 14px;
text-shadow: 1px 1px 8px;
}
#field_id10 {
display: block;
background-color: #161000;
border: 2px solid #915E00;
border-radius: 26px 0 27px 0;
box-shadow: inset 0 0 20px #BD6D07;
position: absolute;
left: 21em;
font-weight: 700;
padding: 32px;
text-align: center;
text-shadow: 0 1px 0 #D58C0C,0 2px 0 #614600,0 3px 0 #7C5F00,0 4px 0 #804006,0 5px 0 #C26500,0 6px 1px rgba(253, 203, 0, .1),0 0 5px rgba(175, 57, 11, .1),0 1px 3px rgba(255, 214, 0, .3),0 3px 5px rgba(0, 0, 0, .2),0 5px 10px rgba(0, 0, 0, .25),0 10px 10px rgba(0, 0, 0, .2),0 20px 20px rgba(0, 0, 0, .15);
text-transform: uppercase;
width: 102px;
}
.personagemesquerda {
float: left;
border-right: 22px solid #05058F;
border-left: none;
}
#field_id10 td span {
font-size: 25px;
}
#field_id10 .field_uneditable {
margin-left: -11px;
}
.personagemmeio:hover,.ranked:hover {
box-shadow: inset 0px 82px 221px blue;
}
.ranked {
text-align: center;
}
table:first-child:hover {box-shadow: inset 0px 82px 221px darkblue;
}
.avatar img:hover {
box-shadow: 0px 0px 30px #03F;
}
table {
border: none !Important;
}
.personagem {
}
.personagemmeio {
float: left;
border-right: 21px solid #060685;
padding: 26px;
}</style>
<div class="personagem">
<div class="personagemesquerda ">
<table>
<tr>
<td class="row1" rowspan="3" valign="top">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td align="right" valign="top" nowrap="nowrap"><span class="gen">{L_LAST_VISITED}: </span>
</td>
<td><b><span class="gen">{LAST_VISIT_TIME}</span></b>
</td>
</tr>
<!-- BEGIN switch_dhow_mp -->
<tr>
<td align="right" valign="middle" nowrap="nowrap"><span class="gen">{L_PRIVATE_MSG}: </span>
</td>
<td><b><span class="gen">{PRIVATE_MSG}</span></b>
</td>
</tr>
<tr id="field_id{profile_field.ID}">
<td width="40%" align="right" valign="top" nowrap="nowrap"><span class="gen">{profile_field.LABEL} </span>
</td>
<td width="60%" width="100%"><b><span class="gen">{profile_field.CONTENT}</span></b><!-- BEGIN profil_type_user_posts --><br /><span class="genmed">[{POST_PERCENT_STATS} / {POST_DAY_STATS}]</span> <br />
<span class="genmed"><a rel="nofollow" class="genmed" href="/st/{PUSERNAME}">{L_SEARCH_USER_POSTS} :</a><br />
- <a rel="nofollow" class="genmed" href="/sta/{PUSERNAME}">{L_TOPICS}</a><br />
- <a rel="nofollow" class="genmed" href="/spa/{PUSERNAME}">{L_POSTS}</a></span><!-- END profil_type_user_posts -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="personagemmeio">
<div class="avatar">{AVATAR_IMG}</div>
<div class="ranked">{POSTER_RANK}</div>
<div class="on">{USER_ONLINE}</div>
</div>
<!-- END switch_rpg -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<!-- BEGIN switch_rpg -->
<tr>
<td colspan="2" class="catLeft" align="center"><b><span class="gen">{L_VIEWING_RPG}</span></b></td>
</tr>
<tr>
<td class="row1" align="center" valign="top" height="6">
{RPG_IMAGE}<br /><br />
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN rpg_fields_left -->
<tr>
<td align="right" valign="middle" nowrap="nowrap">
<span class="gen">{switch_rpg.rpg_fields_left.F_NAME} : </span>
</td>
<td width="100%" valign="middle" nowrap="nowrap">
<b><span class="gen">{switch_rpg.rpg_fields_left.F_VALUE_NEW}</span></b>
</td>
</tr>
<!-- END rpg_fields_left -->
</table>
</td>
<td class="row1" align="center" valign="top" height="6">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN rpg_fields -->
<tr>
<td align="right" valign="middle" nowrap="nowrap">
<span class="gen">{switch_rpg.rpg_fields.F_NAME} : </span>
</td>
<td width="100%" valign="baseline">
<b><span class="gen">{switch_rpg.rpg_fields.F_VALUE_NEW}</span></b>
</td>
</tr>
<!-- END rpg_fields -->
</table>
</td>
</tr>
<tr>
<td colspan="2" align="center" class="row1">
{U_ADMIN_RPG}
</td>
</tr>
<!-- END switch_rpg -->
</table>
</div>
<script src="{JS_DIR}jquery/json/jquery.json-1.3.min.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
$('[id^=field_id]').each(function(){
if ( $(this).find('.field_editable').is('span') )
{
$(this).hover(function()
{
if( $(this).find('.field_editable.invisible').is('span') )
{
$(this).find('.field_editable').prev().addClass('ajax-profil_hover').parent().addClass('ajax-profil_parent').append('<div class="ajax-profil_edit"><img src="{AJAX_EDIT_IMG}" /></div>');
$(this).find('.ajax-profil_edit').attr({
alt: "{L_FIELD_EDIT_VALUE}",
title: "{L_FIELD_EDIT_VALUE}"
}).click(function(){
$(this).prev().prev().removeClass('ajax-profil_hover').addClass('invisible').next().removeClass('invisible').append('<img src="{AJAX_VALID_IMG}" class="ajax-profil_valid" />').find('input,select');
$(this).prev().find('.ajax-profil_valid').attr({
alt: "{L_VALIDATE}",
title: "{L_VALIDATE}"
}).click(function(){
var content = new Array();
$(this).parent().find('[name]').each(function(){
var type_special = $(this).is('input[type=radio],input[type=checkbox]');
if ( (type_special && $(this).is(':checked')) || !type_special )
{
content.push(new Array($(this).attr('name'), $(this).attr('value')));
}
});
var id_name = $(this).parents('[id^=field_id]').attr('id');
var id = id_name.substring(8, id_name.length);
$.post(
"{U_AJAX_PROFILE}",
{id:id,user:"{CUR_USER_ID}",active:"{CUR_USER_ACTIVE}",content:$.toJSON(content),tid:"{TID}"},
function(data){
$.each(data, function(i, item){
$('[id=field_id' + i + ']').find('.field_uneditable').html(item).end().find('.ajax-profil_valid').remove().end().find('.field_editable').addClass('invisible').end().find('.field_uneditable').removeClass('invisible');
});
},
"json"
);
});
$(this).remove();
});
}
},function()
{
if( $(this).find('.field_editable.invisible').is('span') )
{
$(this).find('.field_editable').prev().removeClass('ajax-profil_hover');
$(this).find('.ajax-profil_edit').remove();
}
});
}
});
});
//]]>
</script>
Que medidas você tomou para corrigir o problema:
Tentei muitas vezes,Fiquei conferindo tag por tag.
Apresente-nos imagens do problema (se necessário):
Não é necessário.
Re: Template HTML
Olá!
Tente este código:
Até Mais!
Tente este código:
- Código:
<style>
.personagemmeio {
min-height: 583px !important;
max-height: 590px;
}
.personagemesquerda {
width: 40%;
}
.avatar {
background-color: black;
border: 1px solid black;
}
.frm-set.clearfix {
margin-top: 47px;
border: 1px solid #06067A;
padding: 11px;
}
table{
width: 96%;
}
#field_id10 {
font-size: 40px !important;
}
#field_id-14 .field_uneditable {
font-size: 22px;
}
#field_id12 .field_uneditable {
overflow: auto;
height: 34px;
width: 77%;
}
#field_id-14 img {
vertical-align: middle;
}
#field_id-13 .field_uneditable {
font-size: 22px;
}
#field_id-13 img {
vertical-align: middle;
}
#field_id10 .ajax-profil_parent {
text-align: center !important;
}
#field_id-13 {
color: white !Important;
display: block;
background-color: #131600;
border: 2px solid #919100;
border-radius: 26px 0 27px 0;
box-shadow: inset 0 0 20px #BDBD07;
position: relative;
left: 281px;
top: -1em;
font-weight: 700;
padding: 32px;
text-align: center;
text-shadow: 0 1px 0 #D5CD0C,0 2px 0 #615900,0 3px 0 #7C7C00,0 4px 0 #808006,0 5px 0 #C2C200,0 6px 1px rgba(253, 203, 0, .1),0 0 5px rgba(175, 57, 11, .1),0 1px 3px rgba(235, 255, 0, .3),0 3px 5px rgba(0, 0, 0, .2),0 5px 10px rgba(0, 0, 0, .25),0 10px 10px rgba(0, 0, 0, .2),0 20px 20px rgba(0, 0, 0, .15);
text-transform: uppercase;
width: 103px;
}
#field_id-14 {
display: block;
background-color: #001601;
border: 2px solid #2E9100;
border-radius: 26px 0 27px 0;
box-shadow: inset 0 0 20px #2BBD07;
position: absolute;
left: 22em;
font-weight: 700;
padding: 32px;
text-align: center;
text-shadow: 0 1px 0 #14D50C,0 2px 0 #0C6100,0 3px 0 #0F7C00,0 4px 0 #06800B,0 5px 0 #17C200,0 6px 1px rgba(253, 203, 0, .1),0 0 5px rgba(175, 57, 11, .1),0 1px 3px rgba(0, 255, 10, .3),0 3px 5px rgba(0, 0, 0, .2),0 5px 10px rgba(0, 0, 0, .25),0 10px 10px rgba(0, 0, 0, .2),0 20px 20px rgba(0, 0, 0, .15);
text-transform: uppercase;
width: 102px;
}
.personagemmeio {
padding-bottom: 73px;
}
.avatar img {
width: 122px;
}
.avatar img {
width: 154px;
max-width: 154px;
min-width: 143px;
}
.on {
margin-top: -150px !Important;
}
.ranked {
color: black;
position: relative;
left: 21em;
box-shadow: 0 0 40px blue;
top: -7em;
padding: 11px;
border-radius: 20px;
}
.on {
color: #0FDB0F;
text-align: center;
font-weight: bold;
font-family: Arial;
text-transform: uppercase;
letter-spacing: -1px;
margin: 14px;
text-shadow: 1px 1px 8px;
}
#field_id10 {
display: block;
background-color: #161000;
border: 2px solid #915E00;
border-radius: 26px 0 27px 0;
box-shadow: inset 0 0 20px #BD6D07;
position: absolute;
left: 21em;
font-weight: 700;
padding: 32px;
text-align: center;
text-shadow: 0 1px 0 #D58C0C,0 2px 0 #614600,0 3px 0 #7C5F00,0 4px 0 #804006,0 5px 0 #C26500,0 6px 1px rgba(253, 203, 0, .1),0 0 5px rgba(175, 57, 11, .1),0 1px 3px rgba(255, 214, 0, .3),0 3px 5px rgba(0, 0, 0, .2),0 5px 10px rgba(0, 0, 0, .25),0 10px 10px rgba(0, 0, 0, .2),0 20px 20px rgba(0, 0, 0, .15);
text-transform: uppercase;
width: 102px;
}
.personagemesquerda {
float: left;
border-right: 22px solid #05058F;
border-left: none;
}
#field_id10 td span {
font-size: 25px;
}
#field_id10 .field_uneditable {
margin-left: -11px;
}
.personagemmeio:hover,.ranked:hover {
box-shadow: inset 0px 82px 221px blue;
}
.ranked {
text-align: center;
}
table:first-child:hover {box-shadow: inset 0px 82px 221px darkblue;
}
.avatar img:hover {
box-shadow: 0px 0px 30px #03F;
}
table {
border: none !Important;
}
.personagem {
}
.personagemmeio {
float: left;
border-right: 21px solid #060685;
padding: 26px;
}</style>
<div class="personagem">
<div class="personagemesquerda ">
<table>
<tr>
<td class="row1" rowspan="3" valign="top">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td align="right" valign="top" nowrap="nowrap"><span class="gen">{L_LAST_VISITED}: </span>
</td>
<td><b><span class="gen">{LAST_VISIT_TIME}</span></b>
</td>
</tr>
<!-- BEGIN switch_dhow_mp -->
<tr>
<td align="right" valign="middle" nowrap="nowrap"><span class="gen">{L_PRIVATE_MSG}: </span>
</td>
<td><b><span class="gen">{PRIVATE_MSG}</span></b>
</td>
</tr>
<tr id="field_id{profile_field.ID}">
<td width="40%" align="right" valign="top" nowrap="nowrap"><span class="gen">{profile_field.LABEL} </span>
</td>
<td width="60%" width="100%"><b><span class="gen">{profile_field.CONTENT}</span></b><!-- BEGIN profil_type_user_posts --><br /><span class="genmed">[{POST_PERCENT_STATS} / {POST_DAY_STATS}]</span> <br />
<span class="genmed"><a rel="nofollow" class="genmed" href="/st/{PUSERNAME}">{L_SEARCH_USER_POSTS} :</a><br />
- <a rel="nofollow" class="genmed" href="/sta/{PUSERNAME}">{L_TOPICS}</a><br />
- <a rel="nofollow" class="genmed" href="/spa/{PUSERNAME}">{L_POSTS}</a></span><!-- END profil_type_user_posts -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="personagemmeio">
<div class="avatar">{AVATAR_IMG}</div>
<div class="ranked">{POSTER_RANK}</div>
<div class="on">{USER_ONLINE}</div>
</div>
<!-- END switch_rpg -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<!-- BEGIN switch_rpg -->
<tr>
<td colspan="2" class="catLeft" align="center"><b><span class="gen">{L_VIEWING_RPG}</span></b></td>
</tr>
<tr>
<td class="row1" align="center" valign="top" height="6">
{RPG_IMAGE}<br /><br />
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN rpg_fields_left -->
<tr>
<td align="right" valign="middle" nowrap="nowrap">
<span class="gen">{switch_rpg.rpg_fields_left.F_NAME} : </span>
</td>
<td width="100%" valign="middle" nowrap="nowrap">
<b><span class="gen">{switch_rpg.rpg_fields_left.F_VALUE_NEW}</span></b>
</td>
</tr>
<!-- END rpg_fields_left -->
</table>
</td>
<td class="row1" align="center" valign="top" height="6">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN rpg_fields -->
<tr>
<td align="right" valign="middle" nowrap="nowrap">
<span class="gen">{switch_rpg.rpg_fields.F_NAME} : </span>
</td>
<td width="100%" valign="baseline">
<b><span class="gen">{switch_rpg.rpg_fields.F_VALUE_NEW}</span></b>
</td>
</tr>
<!-- END rpg_fields -->
</table>
</td>
</tr>
<tr>
<td colspan="2" align="center" class="row1">
{U_ADMIN_RPG}
</td>
</tr>
<!-- END switch_rpg -->
</table>
</div>
<script src="{JS_DIR}jquery/json/jquery.json-1.3.min.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
$('[id^=field_id]').each(function(){
if ( $(this).find('.field_editable').is('span') )
{
$(this).hover(function()
{
if( $(this).find('.field_editable.invisible').is('span') )
{
$(this).find('.field_editable').prev().addClass('ajax-profil_hover').parent().addClass('ajax-profil_parent').append('<div class="ajax-profil_edit"><img src="{AJAX_EDIT_IMG}" /></div>');
$(this).find('.ajax-profil_edit').attr({
alt: "{L_FIELD_EDIT_VALUE}",
title: "{L_FIELD_EDIT_VALUE}"
}).click(function(){
$(this).prev().prev().removeClass('ajax-profil_hover').addClass('invisible').next().removeClass('invisible').append('<img src="{AJAX_VALID_IMG}" class="ajax-profil_valid" />').find('input,select');
$(this).prev().find('.ajax-profil_valid').attr({
<alt: "{L_VALIDATE}",
< title: "{L_VALIDATE}"
}).click(function(){
var content = new Array();
$(this).parent().find('[name]').each(function(){
var type_special = $(this).is('input[type=radio],input[type=checkbox]');
if ( (type_special && $(this).is(':checked')) || !type_special )
{
content.push(new Array($(this).attr('name'), $(this).attr('value')));
}
});
var id_name = $(this).parents('[id^=field_id]').attr('id');
var id = id_name.substring(8, id_name.length);
$.post(
"{U_AJAX_PROFILE}",
{id:id,user:"{CUR_USER_ID}",active:"{CUR_USER_ACTIVE}",content:$.toJSON(content),tid:"{TID}"},
function(data){
$.each(data, function(i, item){
$('[id=field_id' + i + ']').find('.field_uneditable').html(item).end().find('.ajax-profil_valid').remove().end().find('.field_editable').addClass('invisible').end().find('.field_uneditable').removeClass('invisible');
});
},
"json"
);
});
$(this).remove();
});
}
},function()
{
if( $(this).find('.field_editable.invisible').is('span') )
{
$(this).find('.field_editable').prev().removeClass('ajax-profil_hover');
$(this).find('.ajax-profil_edit').remove();
}
});
}
});
});
//]]>
</script>
Até Mais!
Re: Template HTML
Continua com o mesmo problema amigo.
A baliza foi fechada antes de ter sido aberta ou ela não foi aberta.
Re: Template HTML
Boa tarde Lucas.
Eu andei observando seu código, mas não consegui identificar o problema. O código está correto, mas, eu vi que a metade do template foi descartado. Você teria que iniciar o template de novo.
Eu andei observando seu código, mas não consegui identificar o problema. O código está correto, mas, eu vi que a metade do template foi descartado. Você teria que iniciar o template de novo.
Re: Template HTML
EDIT
Gombor,Eu consegui \o
Eu peguei esse template eu que já tinha feito e comecei a editar tudo de novo,dessa vez saiu certinho,obrigado á todos que ajudaram.
Gombor,Eu consegui \o
Eu peguei esse template eu que já tinha feito e comecei a editar tudo de novo,dessa vez saiu certinho,obrigado á todos que ajudaram.
Re: Template HTML
Oi Lucas!
Desculpe-nos por desapontá-lo, mas é como eu disse, o código estava certo, mas faltava algo e você teria que recomeçar o código de novo.
Atenciosamente,
Gombor.
Desculpe-nos por desapontá-lo, mas é como eu disse, o código estava certo, mas faltava algo e você teria que recomeçar o código de novo.
Atenciosamente,
Gombor.
Conteúdo patrocinado
Tópicos semelhantes
» Criar uma página HTML
» WictorP Template v1
» Template de visualização do perfil avançado (view_profile_body)
» Como instalar um template baixado da internet
» Utilizar pagina HTML
» WictorP Template v1
» Template de visualização do perfil avançado (view_profile_body)
» Como instalar um template baixado da internet
» Utilizar pagina HTML
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|