Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/01/2011, 19:56
st0nk
 
Fecha de Ingreso: julio-2005
Mensajes: 23
Antigüedad: 18 años, 8 meses
Puntos: 0
etiquetas permitidas dentro de UL

Que tal muchachos... tengo el siguiente problema...
En la validacion del w3c me dice:
--------------------------------
1. Error Line 62, Column 26: document type does not allow element "span" here; assuming missing "li" start-tag
<span id="titulosSeccion">fundaciones amigas</span>

--------------------------------
2. Error Line 63, Column 17: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
<li id="tabfix"><a href="#tab3">Otras</a></li>

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

--------------------------------
3. Error Line 64, Column 4: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
<li><a href="#tab2">Interior</a></li>

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

--------------------------------
4. Error Line 65, Column 16: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
<li id="tabs-P"><a href="#tab1">Caracas</a></li>

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

--------------------------------
5. Error Line 66, Column 5: end tag for "li" omitted, but OMITTAG NO was specified
</ul>

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

--------------------------------
6. Info Line 62, Column 1: start tag was here
<span id="titulosSeccion">fundaciones amigas</span>




Mi codigo es:

Código:
<ul class="tabs">
<span id="titulosSeccion">fundaciones amigas</span>
<li  id="tabfix"><a href="#tab3">Otras</a></li>
<li><a href="#tab2">Interior</a></li>
<li id="tabs-P"><a href="#tab1">Caracas</a></li>  
</ul>

<div class="tab_container">
    <div id="tab1" class="tab_content">
	<?php echo $this->content('tab1'); ?>
    </div>
    <div id="tab2" class="tab_content">
	<?php echo $this->content('tab2'); ?>
    </div>
    <div id="tab3" class="tab_content">
	<?php echo $this->content('tab3'); ?>
    </div>
</div>

Entonces, creo que el problema es porque tengo un span dentro del ul... y de ahi se generan todos los errores....

Alguien tiene alguna idea de que podria hacer?