Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/11/2007, 21:33
atorrante
 
Fecha de Ingreso: julio-2007
Mensajes: 49
Antigüedad: 16 años, 9 meses
Puntos: 1
De acuerdo Re: no puedo dar formato al texto

Hola, ahí solo tienes definido el color del Backgound o fondo, para el texto debes hacerlo ahi mismo si quieres.. o llamar todo el estilo incluyendo el backgound desde un css, te quedará mucho más ordenado..

pero para darle formato al texto sería así:

Código:
<html>
<head>
<title></title>
<style type="text/css">
td subC1
{
    background-color: #FFFF00;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	color:#FF0000;
}

td subC2
{
    background-color: #00FFFF;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	color:#FF0000;
}
</style>
</head>
<body>
<table>
<tr>
<td><subC1>Color 1</subC1></td>
<td><subC2>Color 2</subC2></td>
</tr>
</table>
</body>
</html>
Saludos