Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image Spacing Issue in IE

Status
Not open for further replies.

mdr2271

Programmer
Sep 14, 2005
42
US
I have a couple of graphic images for a menu bar that are aligning fine in Firefox and Mozilla, but in IE there is space between them and the adjoining table cells that use a backgrou nd CSS image. The table code is listed below. Can anyone tell me what might be the issue? Thank you.

<table width="583" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="17"><img src="../images/topnav_left.gif" alt="" width="17" height="30" border="0" align="left" /></td>
<td width="656">
<table border="0" cellpadding="0" cellspacing="0" id="nav">
<tr>
<td>
<a href="default.asp">Home</a>
</td>
</tr>
</table>
</td>
<td width="16"><img src="../images/topnav_right.gif" alt="" width="16" height="30" align="right" /></td>
</tr>
</table>
 
You're trying to fit 3 columns with a width of 689 pixels in a table only supposed to be 583 pixels wide. Maybe the browser is getting confused with this discrepancy?

Hope this helps,
Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top