Ver Mensaje Individual
  #5 (permalink)  
Antiguo 30/10/2010, 11:00
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 9 meses
Puntos: 1567
Respuesta: Ayuda con <var></var>

Entiendo menos aun.

mjlucena, donde está la variable texto en la función?

En todo caso con lo siguiente lograría los deseado

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>html var</title>
  6. </head>
  7.  
  8. <var>
  9. &lt;div id=&quot;lighBox&quot;&gt;<br />
  10. &lt;div class=&quot;LBcontent&quot;&gt;<br />
  11. &lt;div   class=&quot;LBtitle&quot;&gt;Titulo&lt;/div&gt;<br />
  12.  
  13. Contenido<br />
  14. &lt;div   class=&quot;LBbottom&quot;&gt;Bottom&lt;/div&gt;<br />
  15. &lt;div   class=&quot;LBborderTop&quot;&gt;&lt;/div&gt;<br />
  16. &lt;div   class=&quot;LBborderBottom&quot;&gt;&lt;/div&gt;<br />
  17. &lt;div   class=&quot;LBborderLeft&quot;&gt;&lt;/div&gt;<br />
  18.  
  19. &lt;div   class=&quot;LBborderRight&quot;&gt;&lt;/div&gt;<br />
  20. &lt;/div&gt;<br />
  21. &lt;/div&gt;<br />
  22. </var>
  23. </body>
  24. </html>

Pero, insisto, eso se aleja del concepto de la definición del tag html var

Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.