Programación Web y Scripting > XHTML

 Ayuda En Html !!!

(1/1)

Diabliyo:
Hola:

Estoy repasando un tuto y me he puesto a mi mismo una pruebilla y pues me he quedado atascado----

Quiero hacer una web conformada por 4 partes o tablas:

Cabezera ( aqui el Titulo )
Tabla Izquierna ( aqui el Menu )
Tabla Central ( aqui las Noticias )
Tabla Derecha ( aqui los Links o Encuestas )

Hice un codigo, pero no me queda bien, ya que si agrando al TABLA, las celdas quedan en medio :(...

Ayuda porfas..


--- Código: Text ---<html>  <head>  <title>------ Mi Web -------</title>    <script lenguage="javascript">  <!--  window.status=( "Mi Web" );  //-->  </script>  </head>   <body bgcolor="#000000" text="#FFFFFF">  <table border="1" align="center" cellpadding="4" cellspacing="5" height="25%" width="80%">  <td align="center">TITULO DEL WEB</td>  </table>  <p align="center">  <p align="center"><marquee align="middle" scrolldelay="150" loop="infinite" direction="left" width="60%"><font size="3" color="#898989" face="OCR A Extended"><b>----> TraduDark v2.0 <---- Encuentra Todo sobre: Hacking, Cracking, Juegos, Parches, Traducciones, Programacion, Tutoriales, Trucos, Anime...Todo xD...   by Diabliyo</b></marquee>  <p align="center">  <table align="center" border="1" height="20%"width="80%" cellspacing="5">  </td><td align="center" width="21%">  <table align="center" border="1" width="97%">    <th align="center">MENUS</th>  </table>  </td><td align="center" width="55%">  <table align="center" border="1" width="99%">    <th align="center">NOTICIAS</th>  </table>  </td><td align="right" width="21%">  <table align="center" border="1" width="97%">    <th align="center">LINKS</th>  </table>  </td></table>   </table>  <p align="center">  </body></html> 

Kev:
:huh:  No te entiendo bien cual es tu problema  :huh:

 :blink: Estas seguro que querias postearlo en la seccio XHTML???? porque si es asi tu documento tiene varias cosas incorrectas para llegar a ser XHTML, una cosa es HTML y otra XHTML..

 :huh:
 :comp:  :huh:

Kev:
Lo de las celdas que no cambian de tamaño es porque no estableciste las propiedades height y width


--- Código: Text --- <html>  <head>  <title>------ Mi Web -------</title>    <script lenguage="javascript">  <!--  window.status=( "Mi Web" );  //-->  </script>  </head>   <body bgcolor="#000000" text="#FFFFFF">  <table border="1" align="center" cellpadding="4" cellspacing="5" height="25%" width="80%">  <td align="center">TITULO DEL WEB</td>  </table>  <p align="center">  <p align="center"><marquee align="middle" scrolldelay="150" loop="infinite" direction="left" width="60%"><font size="3" color="#898989" face="OCR A Extended"><b>----> TraduDark v2.0 <---- Encuentra Todo sobre: Hacking, Cracking, Juegos, Parches, Traducciones, Programacion, Tutoriales, Trucos, Anime...Todo xD...   by Diabliyo</b></marquee>  <p align="center">  <table align="center" border="1" height="20%"width="100%" cellspacing="5">  </td><td align="center" width="21%"> <table align="center" border="1" width="100%" height="100%">   <th align="center">MENUS</th> </table>  </td><td align="center" width="55%"> <table align="center" border="1" width="100%" height="100%">   <th align="center">NOTICIAS</th> </table>  </td><td align="right" width="21%"> <table align="center" border="1" width="100%" height="100%">   <th align="center">LINKS</th> </table>  </td></table>   </table>  <p align="center">  </body></html>  
Ahora si yo creo que debe ser lo que quieres

 :huh:  Pero esto no es XHTML  :huh:
Adios  :hola:

Reinberg:
coincido en lo que dijo Kev, sin embargo, yo los utilizo dandoles el ancho total de la tabla para que quede fija de un solo tamaño no importando el ancho de la pantalla del usuario dela pagina.

<table border="1" align="center" cellpadding="4" cellspacing="5" height="20" width="80">
  </table>

de esta manera la tabla queda fija.

sin embargo la decision es la que mejor se adecue a tus necesidades.

Navegación

[0] Índice de Mensajes

Ir a la versión completa