Hi there!!
I do not know how to fix the alignment/size problem for my tables (cells contents).
1. Because of Form tag, the height of my cell increase.
Code is:
<table border="1" cellspacing="0" cellpadding="0"><tr>
<td>
<form method="post" Name="formgotoPage">
<input type="hidden" name="pageRequest" Value="result">
<input type="hidden" name="pageAction" Value>
<script language="javascript">
<!--
function SubmitForm(el){
document.formgotoPage.pageAction.value = el
document.formgotoPage.submit()
}
-->
</script>
<font face="verdana" size="1">
<%For i = 1 to 10%>
<a href="javascript:SubmitForm(<%=i%>)"><%=i%></a>
<%Next%>
</font>
</form>
</td>
<td>
<form method="post" action id="formNext" name="formNext">
<input type="hidden" name="pageRequest" Value="result">
<input type="hidden" name="pageAction" Value="next">
<a href="javascript:document.formNext.submit();">
<img SRC="images/nav_next.gif" alt="Next" WIDTH="17" HEIGHT="20" border=0></a>
</form>
</td>
</tr>
</table>
As I remove the Form tags from cells, extra height space will be removed.
2. Do not know how to reduce the extra width of 1st cell containing limg and 3rd cell containing rimg. It is kind of that width of cell should adjust as per contents in it. Sometime, I am really unable to understand the table behaviour:-(
Code is:
<table border=0 cellpadding=0 cellspacing=0>
<tr><td align=left valign=top><Img src="images/limg.gif" alt="limg" height=15 width=6></td>
<td bgcolor="#0000A0"><font size="1" face="Verdana, Arial, Helvetica"color="#FFFFFF">
<b>State</td>
<td valign=top><Img src="images/rimg.gif" alt="rimg" width=6 height=15></td>
</tr>
<tr><td colspan=3><select multiple size="5" name="states" >
<option value=""><%=string(15,"-" &" All States " & string(25,"-"%></option>
<OPTION>A</OPTION>
<OPTION>A</OPTION>
<OPTION>A</OPTION>
<OPTION>A</OPTION>
<OPTION>A</OPTION>
<OPTION>A</OPTION>
</SELECT></td></tr>
</table>
Thanks to all those help me to solve this.
I do not know how to fix the alignment/size problem for my tables (cells contents).
1. Because of Form tag, the height of my cell increase.
Code is:
<table border="1" cellspacing="0" cellpadding="0"><tr>
<td>
<form method="post" Name="formgotoPage">
<input type="hidden" name="pageRequest" Value="result">
<input type="hidden" name="pageAction" Value>
<script language="javascript">
<!--
function SubmitForm(el){
document.formgotoPage.pageAction.value = el
document.formgotoPage.submit()
}
-->
</script>
<font face="verdana" size="1">
<%For i = 1 to 10%>
<a href="javascript:SubmitForm(<%=i%>)"><%=i%></a>
<%Next%>
</font>
</form>
</td>
<td>
<form method="post" action id="formNext" name="formNext">
<input type="hidden" name="pageRequest" Value="result">
<input type="hidden" name="pageAction" Value="next">
<a href="javascript:document.formNext.submit();">
<img SRC="images/nav_next.gif" alt="Next" WIDTH="17" HEIGHT="20" border=0></a>
</form>
</td>
</tr>
</table>
As I remove the Form tags from cells, extra height space will be removed.
2. Do not know how to reduce the extra width of 1st cell containing limg and 3rd cell containing rimg. It is kind of that width of cell should adjust as per contents in it. Sometime, I am really unable to understand the table behaviour:-(
Code is:
<table border=0 cellpadding=0 cellspacing=0>
<tr><td align=left valign=top><Img src="images/limg.gif" alt="limg" height=15 width=6></td>
<td bgcolor="#0000A0"><font size="1" face="Verdana, Arial, Helvetica"color="#FFFFFF">
<b>State</td>
<td valign=top><Img src="images/rimg.gif" alt="rimg" width=6 height=15></td>
</tr>
<tr><td colspan=3><select multiple size="5" name="states" >
<option value=""><%=string(15,"-" &" All States " & string(25,"-"%></option>
<OPTION>A</OPTION>
<OPTION>A</OPTION>
<OPTION>A</OPTION>
<OPTION>A</OPTION>
<OPTION>A</OPTION>
<OPTION>A</OPTION>
</SELECT></td></tr>
</table>
Thanks to all those help me to solve this.