Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/09/2008, 16:17
fumondj
 
Fecha de Ingreso: octubre-2006
Mensajes: 471
Antigüedad: 17 años, 6 meses
Puntos: 1
Como le pongo una clase?

hola bueno pues no se donde tengo que ponerle la clase de CSS con la propiedad font-weight para el contenido de la variable .$content. en la table , o en la variable que ahi dentro y si es en la variable como se la pongo?

Código PHP:
if(!defined("flash_script")) die("Error");

function 
tabla_cont ($title,$content)
           {

             
$echo '<table width="460" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td height="40" background="imagenes/t01.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><div align="center">'
.$title.'</div></td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td background="imagenes/t02.jpg" class="f"><table width="385" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td>'
.$content.'&nbsp;</td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td><img src="imagenes/t03.jpg" width="460" height="10" /></td>
    </tr>
  </table>'
;
                return 
$echo;
                
            }