Table row height question
Posted: Thu Jul 27, 2006 4:29 pm
I am having a problem shrinking my row height. I was wondering how to do it in the following code.
Code: Select all
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<style type="text/css">
body {
background: none;
}
pre.monotext {
font-family: "Andale Mono", "Monotype.com", monospace;
font-size: 12px;
}
</style>
<table cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor='#FFFFFF' onMouseOver="this.bgColor='gold';"
onMouseOut="this.bgColor='#FFFFFF';">
<td align=left><pre class="monotext">1</pre></td>
<td><pre class="monotext">1041</pre></td>
<td><pre class="monotext">example</pre></td>
<td><pre class="monotext">ex</pre></td>
<td align=center><pre class="monotext">ex</pre></td>
<td align=right><pre class="monotext">ex</pre></td>
<td align=right><pre class="monotext">ex</pre></td>
</tr>
<tr bgcolor='#EEEEEE' onMouseOver="this.bgColor='gold';"
onMouseOut="this.bgColor='#EEEEEE';">
<td align=left><pre class="monotext">2</pre></td>
<td><pre class="monotext">1041</pre></td>
<td><pre class="monotext">example</pre></td>
<td><pre class="monotext">ex</pre></td>
<td align=center><pre class="monotext">ex</pre></td>
<td align=right><pre class="monotext">ex</pre></td>
<td align=right><pre class="monotext">ex</pre></td>
</tr>
<tr bgcolor='#FFFFFF' onMouseOver="this.bgColor='gold';"
onMouseOut="this.bgColor='#FFFFFF';">
<td align=left><pre class="monotext">3</pre></td>
<td><pre class="monotext">1041</pre></td>
<td><pre class="monotext">example</pre></td>
<td><pre class="monotext">ex</pre></td>
<td align=center><pre class="monotext">ex</pre></td>
<td align=right><pre class="monotext">ex</pre></td>
<td align=right><pre class="monotext">ex</pre></td>
</tr>
</table>
</body>
</html>