nofel
February 13, 2010, 4:30pm
1
hey folks, i am cleaning html i found that the programmer pasted too many divs and got me confused.now as a result in IE 8. the lower box which says Report result shows double box. now i fixed that thing in my other pages but this one seems out of hand as i loose count of divs. can anyone help or is it coz of something else. here is link
thnx in advance
Editt:i firgured out its the same problem as i was facing before which paul pointed me out about forms and i fixed it. but still i wanna cleanup extra divs
Luki_be
February 13, 2010, 5:36pm
2
Hi, you’re link still had the closing div tag before the closing form tag. Put the closing div tag after the closing form tag:
<div class="search-box" id="searchbox" style="display:block">
<div class="rightcorner-lite">
<!-- corners-->
</div>
<form id="reports" name="reports" method="post" action="rptFillingNBal.php" onsubmit="return chkDates(this);" target="_self">
<table width="98%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="963"> </td>
</tr>
<tr>
<td><table width="99%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4" class="txt"><strong>Vehicles Filling And Balance Report</strong></td>
</tr>
<tr>
<td colspan="4" class="txt"> </td>
</tr>
<tr>
<tr>
<td class="txt">Tanker</td>
<td><label>
<select name="txtTANKERNUMBER" style="width: 320px">
<option value=""></option>
<option value="AM-7828"> AM-7828 </option>
<option value="KP-0258"> KP-0258 </option>
<option value="KP-6315"> KP-6315 </option>
</select>
</label></td>
<td class="txt">From</td>
<td><input name="txtfillingDate" readonly="readonly" style="width:292px;background-color:#FFFFCC" Value='' type="text" class="txtfield-blue" id="txtfillingDate" />
<script language="JavaScript" type="text/javascript">
new tcal ({
'formname': 'reports',
'controlname': 'txtfillingDate'
});</script></td>
</tr>
<tr>
<td class="txt"> </td>
<td> </td>
<td class="txt">To</td>
<td><input name="txtfillingDateTo" readonly="readonly" style="width:292px;background-color:#FFFFCC" Value='' type="text" class="txtfield-blue" id="txtfillingDateTo" />
<script language="JavaScript" type="text/javascript">
new tcal ({
'formname': 'reports',
'controlname': 'txtfillingDateTo'
});</script></td>
</tr>
</table></td>
</tr>
<tr>
<td align="right"><input type="submit" value="Generate" class="buttons" id="Search" name="Search" onclick="subm(this.form,'_self')"></td>
</tr>
</table>
</td>
</tr>
</table>
</form></div>