Foros del Web » Creando para Internet » HTML »

Problema con tabla

Estas en el tema de Problema con tabla en el foro de HTML en Foros del Web. Hola amigos La razon por la cual abro este tema es por que no puedo crear una tabla como esta: Imagen --> img70.imageshack.us/img70/777/23640199.png No importan ...
  #1 (permalink)  
Antiguo 10/10/2009, 12:14
 
Fecha de Ingreso: octubre-2009
Mensajes: 29
Antigüedad: 14 años, 6 meses
Puntos: 0
Problema con tabla

Hola amigos
La razon por la cual abro este tema es por que no puedo crear una tabla como esta:

Imagen --> img70.imageshack.us/img70/777/23640199.png

No importan las medidas (yo se las puedo cambiar despues), alguien me puede ayudar?
Gracias de antemano
  #2 (permalink)  
Antiguo 10/10/2009, 12:35
Avatar de deirdre  
Fecha de Ingreso: mayo-2009
Mensajes: 690
Antigüedad: 14 años, 11 meses
Puntos: 45
Respuesta: Problema con tabla

¿Tiene que ser tabla? No prefieres, mejor, hacerlo en div + css.

Si pones lo que llevas hecho te podremos ayudar mejor.

Bye
  #3 (permalink)  
Antiguo 10/10/2009, 13:04
 
Fecha de Ingreso: octubre-2009
Mensajes: 29
Antigüedad: 14 años, 6 meses
Puntos: 0
Respuesta: Problema con tabla

si, si tiene que ser tabla, esto es lo que tengo en la tabla:

Código PHP:
<table width="700px" border="0" cellspacing="0" cellpadding="0" id="e-ntabla" bgcolor="#F7F7F7" onmouseover="this.bgColor= '#F1EFEF'" onmouseout="this.bgColor='#F7F7F7'">
<
tr
   <
td style="color:{textC}" width="80%">{category-icon} <h4 align="left">{title}</h4>
      <
span style="line-height:20px; color: #6C6C6C;">Escrito el {datepor <strong>{author}</strongen {category} <a title="RSS Feed" href=""><img src="" border=0  />
</
a></td
  </
tr>
<
tr rows="1"
<
td width="100%" rowspan="1"><div style="text-align:justify; border-top:1px solid #D3D3D3; width:649px; line-height:15px;" >{short-story}</div><br><div style="margin-left:1px; margin-right:1px; text-align: right; padding-right:1px; margin-bottom: 1px; padding-top: 1px; padding-bottom: 1px; border-bottom: 1px dotted #818181;" ></div><br><div align="right"><strong>[full-link]Leer Todo[/full-link] <span property="dc:content">&#9668;</span><span property="dc:content">►</span> [link]Comentar Noticia  ({comments-num})[/link]</strong></div></td>
</tr
</
table
y asi es como se ve:

img194.imageshack.us/img194/8913/66817921.png


me gustaria que la imagen "noticias" este a un lado del titulo y no arriva, por eso quiero una tabla como la que mostre anteiormente ¿si se puede?
  #4 (permalink)  
Antiguo 10/10/2009, 17:01
Avatar de deirdre  
Fecha de Ingreso: mayo-2009
Mensajes: 690
Antigüedad: 14 años, 11 meses
Puntos: 45
Respuesta: Problema con tabla

Hola WebPL

Intenta de esta forma y nos comunicas el resultado:

Código HTML:
<table width="700px" border="0" cellspacing="0" cellpadding="0" id="e-ntabla" bgcolor="#F7F7F7" onmouseover="this.bgColor= '#F1EFEF'" onmouseout="this.bgColor='#F7F7F7'"> 
<tr>  
   <td style="color:{textC}" width="80%"><span style="float: left">{category-icon}</span> <span style="float: left"><h4 align="left">{title}</h4></span><span style="display:block; clear:both"></span> 
      <span style="line-height:20px; color: #6C6C6C;">Escrito el {date} por <strong>{author}</strong> en {category} <a title="RSS Feed" href=""><img src="" border=0  /></a></span>
      </td>  
  </tr> 
<tr rows="1">  
<td width="100%" rowspan="1"><div style="text-align:justify; border-top:1px solid #D3D3D3; width:649px; line-height:15px;" >{short-story}</div><br><div style="margin-left:1px; margin-right:1px; text-align: right; padding-right:1px; margin-bottom: 1px; padding-top: 1px; padding-bottom: 1px; border-bottom: 1px dotted #818181;" ></div><br><div align="right"><strong>[full-link]Leer Todo[/full-link] <span property="dc:content"></span><span property="dc:content"></span> [link]Comentar Noticia  ({comments-num})[/link]</strong></div></td> 
</tr>  
</table> 
Esperando...

Bye
  #5 (permalink)  
Antiguo 10/10/2009, 21:31
 
Fecha de Ingreso: febrero-2007
Mensajes: 112
Antigüedad: 17 años, 2 meses
Puntos: 0
Respuesta: Problema con tabla

ya deidre te doy una buena solucion aqui esta la mia

Código HTML:
<table width="98%" border="0" cellspacing="1" cellpadding="1">
  <!--DWLayoutTable-->
  <tr>
    <td width="118"><span style="color:{textC}">{category-icon} </span></td>
    <td width="822">{title}</td>
  </tr>
  <tr>
    <td height="19" colspan="2" valign="top"><span style="color:{textC}"><span style="line-height:20px; color: #6C6C6C;">Escrito el {date} por <strong>{author}</strong> en {category} <a title="RSS Feed" href=""><img src="" style="v" border="0"> </a></span><br /><br />{short-story}</td>
  </tr>
  <tr>
    <td height="19" colspan="2" valign="top"><div align="right"><strong>[full-link]Leer Todo[/full-link] <span property="dc:content"></span><span property="dc:content"></span> [link]Comentar Noticia  ({comments-num})[/link]</strong></div></td>
  </tr>
</table> 
__________________
Piensa en Web! Concepto Web Studio
  #6 (permalink)  
Antiguo 11/10/2009, 08:53
 
Fecha de Ingreso: octubre-2009
Mensajes: 29
Antigüedad: 14 años, 6 meses
Puntos: 0
Respuesta: Problema con tabla

eK_Linux, deirdre, les devo una, me sirvieron mucho ambas tablas, muchas gracias!
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:38.