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

bueno ya no da error pero no funciona la clase ,te recuerdo que se la quiero asignar a el contenido de la variable especialmente al texto.

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 class='t'>" 
$content "&nbsp;</td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td><img src='imagenes/t03.jpg' width='460' height='10' /></td>
    </tr>
  </table>"
;
                return 
$echo;
                
            } 
Código:
<style type="text/css">

t {font-weight: bold;}

</style>