Problema con la visualizacion de un bbcode Tema Solucionado
Publicado: 05 Ago 2010, 20:32
-Bueno mi objetivo era crear como una especie de borde para las imagenes para que quede un poco mas bonito... depaso de una ves redimenzionarlas a 700 PX por si estas eran mas grande no se sobrepasasen asi que decidi unir... un borde que habia hecho y el redimenzionador de imagenes:
Borde
Redimenzionador de imagenes:
Resultado de su union:
Pero si probamos el siguiente codigo en un probador de CSS o HTML como el siguiente : http://www.w3schools.com/Css/tryit.asp? ... ble-layout [Borrar todo lo que contiene y pegar el siguiente codigo]
Codigo a pegar en la URL de arriba para ver el resultado
Observamos que la imagen es muy angosta... y sobra mucho espacio de la tabla... queria saber como hago para que la tabla se autoajuste al tamaño de la imagen que el usuario desee colocar gracias....
Borde
Código: Seleccionar todo
<table width="80%" align="center" bgcolor="#171717" cellspacing="10" cellpadding="0" style="border-bottom-color:#383838;border-bottom-width:3px;border-bottom-style:solid;border-top-color:#383838;border-top-style:solid;border-top-width:3px; border-left-color:#383838; border-left-width:3px;border-left-style:solid;border-right-color:#383838; border-right-width:3px;border-right-style:solid;">
<tr>
<td style="border-color:#666666; border-style:dashed; border-width:2px;">{TEXT}</td>
</tr>
</table>
Código: Seleccionar todo
<a href="{URL}"><img style="max-width:700px; max-height: 10000px;" src="{URL}" alt="rukon" /></a>
Código: Seleccionar todo
<center><table width="80%" align="center" bgcolor="#171717" cellspacing="10" cellpadding="0" style="border-bottom-color:#383838;border-bottom-width:3px;border-bottom-style:solid;border-top-color:#383838;border-top-style:solid;border-top-width:3px; border-left-color:#383838; border-left-width:3px;border-left-style:solid;border-right-color:#383838; border-right-width:3px;border-right-style:solid;">
<tr>
<td style="border-color:#666666; border-style:dashed; border-width:2px;"><img style="max-width:700px; max-height: 10000px;" src="{URL}" alt="rukon" /></td>
</tr>
</table></center>
Codigo a pegar en la URL de arriba para ver el resultado
Código: Seleccionar todo
<center><table width="80%" align="center" bgcolor="#171717" cellspacing="10" cellpadding="0" style="border-bottom-color:#383838;border-bottom-width:3px;border-bottom-style:solid;border-top-color:#383838;border-top-style:solid;border-top-width:3px; border-left-color:#383838; border-left-width:3px;border-left-style:solid;border-right-color:#383838; border-right-width:3px;border-right-style:solid;">
<tr>
<td style="border-color:#666666; border-style:dashed; border-width:2px;"> <img style="max-width:700px; max-height: 10000px;" src="http://img137.imageshack.us/img137/9652/2rukonz.png
" alt="rukon" /></td>
</tr>
</table></center>