Foros del Web » Creando para Internet » HTML »

Ayuda para detectar éste error html.

Estas en el tema de Ayuda para detectar éste error html. en el foro de HTML en Foros del Web. Hola amigos. Lo que pasa es que tengo un template enorme y tengo un error, me lo detecta aquí: http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.southerncostarica.b iz&usermedium=all El error segun veo ...
  #1 (permalink)  
Antiguo 22/09/2005, 07:12
 
Fecha de Ingreso: enero-2002
Ubicación: Perez Zeledon Costa Rica
Mensajes: 1.006
Antigüedad: 15 años, 11 meses
Puntos: 11
Mensaje Ayuda para detectar éste error html.

Hola amigos.

Lo que pasa es que tengo un template enorme y tengo un error, me lo detecta aquí:

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.southerncostarica.b iz&usermedium=all

El error segun veo es que no encuentra el "</tr>". de cierre de una expresión, pero yo no encuentro ese error, es más, quisiera saber si hay alguna herramienta para detectarlo, por que buscandolo en el codigo es super dificil.

La template está en el archivo adjunto.

Bahh, no encontré como enviar archivo adjunto!!!!!!!!!!!! y es tan garande que no me permite pegarlo!!!!!!!!!!!!

Última edición por rashid; 22/09/2005 a las 07:16 Razón: no encuentro como enviar archivo adjunto!!!!!!!!
  #2 (permalink)  
Antiguo 22/09/2005, 07:19
 
Fecha de Ingreso: enero-2002
Ubicación: Perez Zeledon Costa Rica
Mensajes: 1.006
Antigüedad: 15 años, 11 meses
Puntos: 11
<?php
/**
* Template color - converted Mambo 4.5.1 template
*/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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" lang="en">
<head>
<?php if ( $my->id ) initEditor(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/<?php echo $cur_template; ?>/css/template_css.css" />
<link rel="shortcut icon" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/images/favicone.ico"/>
<?php // Custom MainMenu extension...
$database->setQuery("SELECT * FROM #__menu WHERE menutype = 'mainmenu' AND published ='1' AND parent = '0' ORDER BY ordering");
$mymenu_rows = $database->loadObjectList();
$mymenu_content = "";
foreach($mymenu_rows as $mymenu_row) {
// print_r($mymenu_rows);
$mymenulink = $mymenu_row->link;
if ($mymenu_row->type != "url") {
$mymenulink .= "&Itemid=$mymenu_row->id";
}
if ($mymenu_row->type != "separator") {
$mymenu_content .= "<a href=\"".sefRelToAbs($mymenulink)."\" class=\"bar\">$mymenu_row->name</a><font color=\"#D3F5D0\"> | </font>";
}
}
$mymenu_content = substr($mymenu_content,0,strlen($mymenu_content)-2);
?>

</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<a name="up" id="up"></a>
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="89" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="105">

<td width="80" ><a href="http://www.southerncostarica.biz/spanish/"><img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/banneriraEpanol2.gif" alt="" width="77" height="89" border="0"/></a></td>
<td width="80" ><p><a href="http://www.southerncostarica.biz/spanish/" title="Touritic and commercial guide to southerm Costa Rica"><strong>Ir
a la versi&oacute;n en<br />
Espa&ntilde;ol</strong></a></p>
</td>
<td width="204" align="left" valign="middle"><?php mosLoadComponent( "banners" ); ?></td>
<td align="left" valign="left" style="background:url('<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/LogoMyPZjpginglesgif.gif') no-repeat; background-position: center;">&nbsp;</td>

</tr>
</table></td>
</tr>
<tr>
<td height="27" background="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/PeekLime_06.gif" bgcolor="#000000" style="background-repeat:repeat-x ">
<div align="left">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="25" align="left" valign="top"><img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/PeekLime_04.gif" alt="" width="25" height="27" align="top"/></td>
<td align="left">&nbsp;<span class="pathway">
<?php mosPathWay(); ?></span></td>
<td width="143" align="right"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right" valign="middle"><img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/search.gif" width="18" height="18" align="absbottom" /></td>
<td><form action='<?php echo sefRelToAbs("index.php"); ?>' method='post'/>
<div align="left">
<input class="searchbox" type="text" name="searchword" height="16" size="15" value="<?php echo _SEARCH_BOX; ?>" onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX; ?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX; ?>') this.value='';" />
<input type="hidden" name="option" value="search" />
</div>
</td></form>
</tr>
</table></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td height="12" background="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/PeekLime_08.gif"></td>
</tr>
<tr>
<td align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center" valign="top"><?php if (mosCountModules( "left" ) + mosCountModules( "user1" ) > 0) { ?>
<td width="165"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="4">
<tr><?php if (mosCountModules( "left" )) { ?>
<td align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="allAroundRa">
<tr>
<td width="11">&nbsp; </td>
<td>&nbsp;
</td>
<td width="19">&nbsp; </td>
</tr>
<tr>
<td>&nbsp;
</td>
<td height="21" align="left" class="allAroundRaTiny"> <?php mosLoadModules ( 'left' ); ?>
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td rowspan="2">&nbsp; </td> <td rowspan="2">&nbsp;
</td>
<td>&nbsp; </td>
</tr>
</table></td><?php } ?>
</tr>
<tr><?php if (mosCountModules( "user1" )) { ?>
<td align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="allAroundRaTiny2">
<tr>
<td width="11">&nbsp; </td>
<td>&nbsp;
</td>
<td width="19">&nbsp; </td>
</tr>
<tr>
<td>&nbsp;
</td>
<td height="21" class="allAroundRaTiny2"><?php mosLoadModules ( 'user1' ); ?></td>
<td>&nbsp;
</td>
</tr>
<tr>
<td rowspan="2">&nbsp; </td> <td rowspan="2">&nbsp;
</td>
<td>&nbsp; </td>
</tr>
</table></td><?php } ?>
</tr>
</table>
<p align="center">The Group Southern <br />
Costa Rica is:</p>
<p align="center"><a href="http://www.dominical.biz">Dominical.Biz</a><br />
<a href="http://www.golfito.biz">Golfito.Biz </a><br />
<a href="http://www.SurCostaRica.Biz">SurCostaRica.Biz</a>
</p>
</td><?php } ?>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="4" class="allAround">
<tr><?php if (mosCountModules( "top" )) { ?>
<td align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="allAround">
<tr>
<td width="11">&nbsp; </td> <td>&nbsp;
</td>
<td width="19">&nbsp; </td>
</tr>
<tr>
<td>&nbsp; </td>
<td align="left" valign="middle" class="yelBkFeatured">
<?php mosLoadModules ( 'top' ); ?>
<p>&nbsp;</p>
<h3 align="center">What is SouthernCostaRica.Biz?
</h3>
<br />
<br />
SouthernCostaRica.Biz is a Tourist and Commercial
guide focused in the <a href="http://southerncostarica.biz/content/view/141/63/" title="Southern Pacific Costa Rica Map">Southern Pacific Area of Costa Rica</a>. <br />
<br />
In this website you will find Commercial and Touristic information of the cities
in the south area of Costa Rica, such as: San Vito, San Isidro Perez Zeledon,
Dominical, <a href="http://southerncostarica.biz/content/view/159/73/" title="Golfito">Golfito</a>,
<a href="http://southerncostarica.biz/content/view/125/73/" title="Puerto Jim&eacute;nez (Corcovado)">Puerto
Jim&eacute;nez (Corcovado)</a>, Ciudad Neily and the Panama Border. And General
Touristic Info. <strong><a href="http://www.southerncostarica.biz/index.php?option=content&task=view&id=249&Itemid=6 5">Read
More...</a></strong><br /><p><br />
</p>
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td>&nbsp; </td>
<td>&nbsp;
</td>
<td>&nbsp; </td>
</tr>
</table></td><?php } ?>
</tr>
<tr>
<td align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="allAroundBlack">
<tr>
<td width="11">&nbsp; </td> <td><table width="100%" border="0">
  #3 (permalink)  
Antiguo 22/09/2005, 07:22
 
Fecha de Ingreso: enero-2002
Ubicación: Perez Zeledon Costa Rica
Mensajes: 1.006
Antigüedad: 15 años, 11 meses
Puntos: 11
<tr>
<td>
<?php mosLoadModules ( 'user3' ); ?>
</td>
<td>
<?php mosLoadModules ( 'user4' ); ?>
</td>
<td>
<?php mosLoadModules ( 'user5' ); ?>
</td>
</tr>
</table>
</td>
<td width="19">&nbsp; </td>
</tr>
<tr>
<td>&nbsp;
</td>
<td align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right" valign="baseline"><img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/date.gif" width="15" height="15" align="absbottom" />&nbsp;<?php echo mosCurrentDate(); ?></td>
</tr>
<tr>
<td align="center" class="allAroundBlack"><?php mosMainBody(); ?></td>
</tr>
</table>
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td>&nbsp; </td>
<td>&nbsp;
</td>
<td>&nbsp; </td>
</tr>
</table></td>
</tr>
</table></td><?php if (mosCountModules( "right" ) + mosCountModules( "user2" ) > 0) { ?>
<td width="165" align="center"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="4">
<tr><?php if (mosCountModules( "right" )) { ?>
<td align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#D6E5AA" class="allAroundRaMarco">
<tr>
<td width="11">&nbsp; </td>
<td>&nbsp;
</td>
<td width="19">&nbsp; </td>
</tr>
<tr>
<td>&nbsp;
</td>
<td width="100%" height="21" align="left"><?php mosLoadModules ( 'right' ); ?></td>
<td>&nbsp;
</td>
</tr>
<tr>
<td rowspan="2">&nbsp; </td>
<td rowspan="2">&nbsp;
</td>
<td>&nbsp; </td>
</tr>
</table></td><?php } ?>
</tr>
<tr><?php if (mosCountModules( "user2" )) { ?>
<td align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="allAroundRaTiny">
<tr>
<td width="11">&nbsp; </td> <td>&nbsp;
</td>
<td width="19">&nbsp; </td>
</tr>
<tr>
<td>&nbsp;
</td>
<td height="21" align="left" bgcolor="#FFFFFF"><?php mosLoadModules ( 'user2' ); ?></td>
<td>&nbsp;
</td>
</tr>
<tr>
<td rowspan="2">&nbsp; </td>
<td rowspan="2">&nbsp;
</td>
<td>&nbsp; </td>
</tr>
</table></td><?php } ?>
</tr>
</table></td>
</tr>
</table></td><?php } ?>
</tr>
<tr><?php if (mosCountModules( "bottom" )) { ?>
<td align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="11">
<img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_01.gif" width="11" height="16" alt=""/></td>
<td background="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_02.gif">
<img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_02.gif" width="24" height="16" alt=""/></td>
<td width="19">
<img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_03.gif" width="19" height="16" alt=""/></td>
</tr>
<tr>
<td background="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_04.gif">
<img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_04.gif" width="11" height="21" alt=""/></td>
<td align="left" bgcolor="#CCCCCC"><?php mosLoadModules ( 'bottom' ); ?>
</td>
<td background="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_06.gif">
<img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_06.gif" width="19" height="21" alt=""/></td>
</tr>
<tr>
<td>
<img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_07.gif" width="11" height="18" alt=""/></td>
<td background="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_08.gif">
<img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_08.gif" width="24" height="18" alt=""/></td>
<td>
<img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/maingrey_09.gif" width="19" height="18" alt=""/></td>
</tr>
</table></td><?php } ?>
</tr>
<tr>
<td align="center" valign="top">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="21" align="center" background="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/PeekLime_12.gif"><span class="bar"><a href="<?php echo sefRelToAbs($_SERVER['REQUEST_URI'])."#up"; ?>"><img src="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/top.gif" alt="Go to top of page" width="15" height="12" border="0" /></a>&nbsp;&nbsp;<?php echo $mymenu_content ?></span> </td>
</tr>
<tr>
<td height="20" style="background-repeat:repeat-x" background="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/peeklime/images/PeekLime_18.gif"><div align="center"><a href="http://www.southerncostarica.biz/" target="_blank">Todo
derecho reservado por SouthernCostaRica.biz</a> Cel. (506) 354-58-91&nbsp;</div></td>
</tr>
<tr align="center" valign="top">
<td><?php mosLoadModules ( 'inset' ); ?><br>
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?></td>
</tr>
</table>
</body>
</html>
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 23:33.