CSS for td
i have applied css styles <td> inside table row.but couldn't increase width.pls help.
here code:
echo "<table align=\"center\" class=\"markinfo\"><tr><td><b>paper code</b></td><td><b>title</b></td><td><b>cia</b></td><td><b>ese</b></td><td><b>credits earned</b></td><td><b>grade</b></td><td><b>grade point</b></td></tr>";
my css:
.markinfo {
height: 150px;
width: 200px;
margin-top: 10px;
margin-bottom: 10px;
font-family: droidserif;
font-size: 14px;
}
.markinfo td {
padding: 20px;
text-align: center;
width: 700px;
}
try
<table align=\"center\" class=\"markinfo\">
<tr>
<td><b>paper code</b></td>
<td><b>title</b></td>
<td>bcia</td>
<td>ese</ td>
<td>credits earned</td>
<td>grade</td>
<td>grade point</td>
</tr>
</table>
you have missedthe closing </table> tag
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment