PDA

View Full Version : JSP Object Shifts Cell Height in IE


dude9er
12-15-2006, 06:17 PM
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:


<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!!!

Aradon
12-16-2006, 08:06 AM
I'm not web designer by any means, but isn't there a difference between the way firefox spaces a </table> <table> then IE?

You are talking about that large space between "Enter login information" and the dialog box right?

I guess the eaisest way to test that is to create an html file with two tables and see if there is a space difference.