ChilliBoy,
I couldn't get the input boxes to stack without a buffer in IE5. The best I could do was the following with the applied styles.
Code:
<style>
table.mytable{
padding: 0px;
margin: 0px;
background-color:#9999cc
}
tr.myrow {
padding: 0px;
margin: 0px;
}
td.mycell {
padding: 0px;
margin: 0px;
background-color: #ccccff
}
form.myform {
padding: 0px;
margin: 0px;
}
input.myinput, select.myselect{
padding: 0px;
margin: 0px;
font-size: 10px;
color:#0033cc;
border-style: solid;
border-width: 1px;
border-color:#000000
}
</style>
<form class="myform">
<table class="mytable" border="0" cellspacing="0" cellpadding="0">
<tr class="myrow">
<td class="mycell">
<input class="myinput" type="text" style="width: 100px" size="10" value="" maxlength="10">
</td>
</tr>
<tr class="myrow">
<td class="mycell">
<input class="myinput" type="text" style="width: 100px" size="10" value="" maxlength="10">
</td>
</tr>
<tr class="myrow">
<td class="mycell">
<select class="myselect" name="" size="1">
<option value="1">text 1</option>
<option value="2">text 2</option>
<option value="3">text 3</option>
</select>
</td>
</tr>
</table>
</form>
If you use the size attribute of the form element tags the size will differ between IE and Netscape. However, if you set the style width attribute in pixels they'll be the same size.
If you use the stye attribute 'font-size' specify the size in pixels not points to get the same look across platforms. This can cause printing problems but you can't have everything.
Shane
<Edited by shane on 02-03-2001 at 11:46 AM>
Bookmarks