Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/01/2008, 12:17
Avatar de DoPeY-BBS
DoPeY-BBS
 
Fecha de Ingreso: octubre-2005
Ubicación: Santo Domingo, Dominican Republic, Dominican Republic
Mensajes: 574
Antigüedad: 18 años, 6 meses
Puntos: 12
Re: titulo con borde

Aquí te va una versión un poco mejorada

Código HTML:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>tabla</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="tablas.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table>
  <tr>
  <tr> 
    <td colspan="2" class="encabezado">Esto es un encabezado</font> </tr>
	  <tr>
    <td ><table class="tabla">
        <tr> 
          <td width="69">prueba 1</td>
        </tr>
        <tr> 
          <td>prueba 2</td>
        </tr>
        <tr>
          <td>prueba tres</td>
        </tr>
      </table>  
    </table>
</body>
</html> 
este es el css
Código HTML:
.tabla {
	border: thin dotted #999999;
	font-family: "Times New Roman", Times, serif;
	color: #0000FF;

}
.encabezado {
	color: #993300;
}
Tanto el codigo css como el de html tienen que estar en la misma carpeta para que funcione
__________________
http://www.htmldog.com/HTML, CSS, and JavaScript,

http://tutorialphp.net/
Aprende PHP en 12 capítulos

Última edición por DoPeY-BBS; 04/01/2008 a las 13:08 Razón: estito respuesta