quisiera agregar este formato de tabla en css .datagrid table { border-collapse: collapse; text-align: left; width: 100%; } .datagrid {font: normal 12px/150% Arial, Helvetica, sans-serif; background: #fff; overflow: hidden; border: 1px solid #006699; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }.datagrid table td, .datagrid table th { padding: 3px 0px; }.datagrid table thead th {background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #006699), color-stop(1, #00557F) );background:-moz-linear-gradient( center top, #006699 5%, #00557F 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#006699', endColorstr='#00557F');background-color:#006699; color:#FFFFFF; font-size: 15px; font-weight: bold; border-left: 1px solid #0070A8; } .datagrid table thead th:first-child { border: none; }.datagrid table tbody td { color: #00496B; border-left: 1px solid #E1EEF4;font-size: 12px;font-weight: normal; }.datagrid table tbody .alt td { background: #E1EEF4; color: #00496B; }.datagrid table tbody td:first-child { border-left: none; }.datagrid table tbody tr:last-child td { border-bottom: none; } en este script en php <?php ini_set('max_execution_time', 300); //connect to database if (!$link = @odbc_connect("Driver={SQL Server};Server=ip;", 'name', 'pass')) die ("Couln't connect to Database."); //output HTML echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Título</title> <link rel="stylesheet" type="text/css" href=""> </head> <body> <script type="text/javascript" src="wz_tooltip.js"></script> <right>'; //output table header echo '<table border="0" cellspacing="5" cellpadding="9"> <body bgcolor="white" text="black"> <table border="2"> <tr> <th>Columna1</th> <th>Columna2</th> </tr>'; //sql query $sql = "sql script"; $res = odbc_exec($link, $sql); while($row = odbc_fetch_array($res)) { echo "<tr>"; echo "<td>". $row['col1'] ."</td><td>". $row['col2'] ."</td>"; echo "</tr>"; } echo "</table></center>"; ?> ¿Cómo podría hacer?