# JSP Object Shifts Cell Height in IE

**URL:** <https://forum.kirupa.com/t/jsp-object-shifts-cell-height-in-ie/210163>\
**Category:** programming\
**Created:** [December 15, 2006, 5:26pm UTC](https://forum.kirupa.com/t/jsp-object-shifts-cell-height-in-ie/210163 "2006-12-15T17:26:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dude9er](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dude9er](https://forum.kirupa.com/u/dude9er)\
**Post date:** [December 15, 2006, 5:26pm UTC](https://forum.kirupa.com/t/jsp-object-shifts-cell-height-in-ie/210163/1 "2006-12-15T17:26:49Z")

</div>

I have a JSP object that changes an image based on what page is loaded. The script calls the image, but the close tags leave a small space in my table.

Here is the example, the small space between the “Page Build Login” and the login form: [LINK](http://panapacific.jsn-server1.com/zadmin/company/AdminLoginForm.do?compid=1000&menu=builder)

Here is the code in the cell:

```auto

<tr>
        <td colspan="5" align="left" valign="bottom">
        	  <%if(menu.equals("builder")){%>
        	  <img src="<%=zimages%>/login/hdrPgBldrLgn.jpg" alt="" width="739" height="29" />
        	  <%}else if(menu.equals("reports")){%>
        	  <img src="<%=zimages%>/login/hdrRprtLgn.jpg" alt="" width="739" height="29" />
        	  <%}%> <!-- this close tag cause the problem -->
        	</td>
      </tr>

```

The jsp object close tag ( \<%}%\> ) is not letting the image site flush to the bottom of the cell in IE. Of course FF is fine.

Is there a to format this to look correct and still be able to include the function.

Thanks in advance!!!
