NorthStarDA
IS-IT--Management
i have 2 tables that whos heights are too high based on the values in CSS. the first one is about 3 pixels too tall and the second seems to have an extra line in it.
CSS 1
Table 1
This table should be 40px high, it appears there are 2 pixels under the images in the <tr>
---------------------------------------
CSS 2
Table 2
the second row looks like it has an extra line break when viewed in IE, in mozilla it looks fine
i appreciate any help
=========================================
I have not failed. I've just found 10,000 ways that won't work.
Thomas A. Edison
CSS 1
Code:
.menubar {
background-color: #D8D5CD;
border: 1px solid #999999;
padding: 0px;
height: 40px;
}
Table 1
Code:
<table width="100%" cellpadding="0" cellspacing="0" class="menubar">
<tr>
<td width="63">
<a href="agenda.cfm"><img src="images/menu_agenda_off.gif" width="63" height="40" border="0"></a>
</td>
<td width="68">
<a href="calendar.cfm"><img src="images/menu_calendar_off.gif" width="68" height="40" border="0"></a>
</td>
<td>
</td>
</tr>
</table>
---------------------------------------
CSS 2
Code:
.page-header {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-top-color: #999999;
border-right-color: #999999;
border-bottom-color: #999999;
border-left-color: #999999;
color: #333333;
font-family: Verdana, Arial, Helvetica, sans-serif;
Table 2
Code:
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><img src="../images/spacer.gif" alt="" width="1" height="5"></td></tr>
[b]
<tr><td class="page-header"><h1>Agenda</h1></td><td align="right" class="page-header"><h2>Name</h2></td></tr>
[/b]
<tr><td colspan="2"><img src="../images/spacer.gif" alt="" width="1" height="10"></td></tr>
</table>
the second row looks like it has an extra line break when viewed in IE, in mozilla it looks fine
i appreciate any help
=========================================
I have not failed. I've just found 10,000 ways that won't work.
Thomas A. Edison