Autor Tema: [Ayuda] Con este código html x.x  (Leído 423 veces)

Desconectado Flooder

  • PHPerit@
  • *
  • Mensajes: 6
  • Karma: 0
    • Ver Perfil
[Ayuda] Con este código html x.x
« en: 27 de Noviembre de 2009, 17:23:26 pm »
Bueh, yo tengo un Cutenews, y dónde pone el titulo y la categoría de las notis puse un "botom":



Pero tengo un error, cuando lo pongo se "Desconfigura" el diseño donde pone las noticias.. No sé si me explico, queda de esta manera:


¿Cómo lo arreglo?, el código que uso es:

Código: [Seleccionar]
<html><head>
<center>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body>
<p></p><div align="">
  <table width="485" border="0" cellpadding="0" cellspacing="0">
    <tbody><tr>
      <td> </td>
    </tr>
    <tr>
      <td valign="bottom"><img src="http://www.newhfk.zxq.net/news/news_img/news_arriba.PNG" width="485" border="0" height="15"></td>
    </tr>
          <th background="http://www.newhfk.zxq.net/news/news_img/box_not.png" table width="482" height="46"><span style="color: #FFF; font-weight: bold; font-family: Verdana;"> {title}</span></span>      <span style="font-family: Arial; font-weight: color: #FFF;">Categoría:</span> {category}<tr>
       <td background="http://www.newhfk.zxq.net/news/news_img/news_medio.png"><table width="485" border="0" cellpadding="" cellspacing="">

         
<div><div>     {short-story}</div></div>


      <img
src="http://www.newhfk.zxq.net/news/news_img/report.PNG" > <span style="color: rgb(51, 204, 255); font-weight: bold; font-family: Arial;">{author}</span>           
{date}           
           
<img
src="http://www.newhfk.zxq.net/news/news_img/coment.PNG" > [com-link]Comentar[/com-link]
</tr>
      </tbody></table></td>
    </tr>
    <tr>
      <td><img src="http://www.newhfk.zxq.net/news/news_img/news_abajo.PNG" width="485" border="0" height="12"></td></center>

Comunidad PHPeros

[Ayuda] Con este código html x.x
« en: 27 de Noviembre de 2009, 17:23:26 pm »

Desconectado Siquillote

  • PHPero Master
  • ******
  • Mensajes: 4.229
  • Karma: 179
  • Sexo: Masculino
    • Ver Perfil
Re:[Ayuda] Con este código html x.x
« Respuesta #1 en: 29 de Noviembre de 2009, 12:17:21 pm »
Esque lo que estás haciendo es poner la imagen como fondo de tabla y claro si la tabla es más grande que la IMG pues lo que va a hacer es rellenar toda la tabla con la misma IMG. eso es lo que te está pasando , que se está repitiendo la IMG

Lo que puedes hacer es disminuir el width de la tabla o celda y debería funcionar :D

#Fdo. Physlet

Desconectado NDSi

  • PHPero Avanzado
  • ****
  • Mensajes: 410
  • Karma: 8
  • Sexo: Masculino
    • Ver Perfil
Re:[Ayuda] Con este código html x.x
« Respuesta #2 en: 29 de Noviembre de 2009, 22:18:19 pm »
Esque lo que estás haciendo es poner la imagen como fondo de tabla y claro si la tabla es más grande que la IMG pues lo que va a hacer es rellenar toda la tabla con la misma IMG. eso es lo que te está pasando , que se está repitiendo la IMG

Lo que puedes hacer es disminuir el width de la tabla o celda y debería funcionar :D

¿Tambien se podria configurar el fondo como no-repeat?