SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    IE showing double box

    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
    All those who wander aren't lost.

  2. #2
    SitePoint Guru Luki_be's Avatar
    Join Date
    Jun 2008
    Location
    Brazil, Minas Gerais. But i'm from Belgium.
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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:

    Code HTML4Strict:
    <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">&nbsp;</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">&nbsp;</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">&nbsp;</td>
    								<td>&nbsp;</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>
    SitePoint Guru
    Sitepoint - the ultimate Css well
    As a computer, I find your faith in technology amusing.
    Sitepoint reference, your friend in need


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •