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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP with browser/OS discrepancies

Status
Not open for further replies.

dottieandbelle

Technical User
Feb 29, 2004
8
US
I have a page coded mostly with HTML with some light Javascript, and I can't for the LIFE of me figure out why there is a space displayed between my TRs when I view it on a PC. It is not showing up when I view it on my Mac (both are being viewed in IE).

Can someone look at the code and point out where I can make a change so that there is no space between the top images and the middle section of this homepage?
Thanks!
 

It's your whitespace that's doing it. Some browsers still display differently when it is present.

If I change the first row to be the following, the gaps go away:

Code:
	<tr>
		<td width=250><img src="art/logo.gif"></td>
		<td width=2><img src="art/space.gif" width=2 height=89></td>
		<td width=250><a href="projects_1.html" onmouseover="doSwap('hp_projects','art/hp_projects_on.gif')" onmouseout="doSwap('hp_projects','art/hp_projects_off.gif')"><img src="art/hp_projects_off.gif" name="hp_projects" border=0></a></td>
		<td width=2><img src="art/space.gif" width=2 height=89></td>
		<td width=250><a href="profile.html" onmouseover="doSwap('hp_profile','art/hp_profile_on.gif')" onmouseout="doSwap('hp_profile','art/hp_profile_off.gif')"><img src="art/hp_profile_off.gif" name="hp_profile" border=0></a></td>
	</tr>

Hope this helps,

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top