Foros del Web » Creando para Internet » HTML »

background

Estas en el tema de background en el foro de HTML en Foros del Web. Hola, Es correcto el 2 background, no se muestra la foto 2.gif. <table width="476" height="227" border="1" background="2.gif"> <tr> <td> <center> <table width="216" border="1" background="2.gif"> <tr> ...
  #1 (permalink)  
Antiguo 02/09/2010, 10:19
 
Fecha de Ingreso: agosto-2010
Mensajes: 55
Antigüedad: 13 años, 8 meses
Puntos: 1
background

Hola,
Es correcto el 2 background, no se muestra la foto 2.gif.

<table width="476" height="227" border="1" background="2.gif">
<tr>
<td>
<center>
<table width="216" border="1" background="2.gif">
<tr>
<td height="94"></td>
</tr>
</table>
</center>
</td>
</tr>
</table>
  #2 (permalink)  
Antiguo 02/09/2010, 12:36
Avatar de mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años, 1 mes
Puntos: 101
Respuesta: background

Cita:
<table width="216" border="1" background="2.gif">
A mi parecer, tendrías que estar usando CSS en vez de poner ese tipo de atributos en el html.
http://www.desarrolloweb.com/articulos/181.php

Si quisieras solucionarlo por ahora, hacé:
Cita:
<table width="216" border="1" style="background: url(2.gif)">
Y ya que estamos, usemos la seccion de style:

Cita:
<table style="background: url(2.gif); border:1px solid black; width:216px ">
Fijate que usando los atributos así, a los numeros hay que darles un valor en pixeles.

Etiquetas: fondo
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 18:06.