Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Please Help, gap problem

Reply
Thread Tools

Please Help, gap problem

 
 
Jeff
Guest
Posts: n/a
 
      06-16-2005
Here is my problem, I can't seem to figure out how to eliminate the
little gap between the right side of image /shop.jpg and the edge of the
table. This is driving me nuts. Please Help me.
Thank you.




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<title>Shop</title>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
</head>

<body bgcolor="#000040">

<table width="760" align=left cellpadding="0" cellspacing="0" border="0"
bgcolor="white">

<tr valign=top align=left>
<td height="100" width="760"><img border="0" align=right alt=""
src="images/shop.jpg" width="460" height="100"></td>
</tr>

<tr>
<td>
<table width="760" align=left cellpadding="0" cellspacing="0" border="0"
bgcolor="white">
<tr>
<td align=left>
<table width="120" border="1" cellspacing="0" cellpadding="0"
bgcolor="black">

<tr>
<td align=center width="120" bgcolor="#000040"
onMouseOut="this.style.background='#000040'"
onClick="parent.location='index.html'"
onMouseOver="this.style.background ='#12146a';
this.style.cursor = 'hand'"><font
color="#c0c0c0"><b>Home</b></font></td>
</tr>

<tr>
<td align=center width="120" bgcolor="#000040"
onMouseOut="this.style.background='#000040'"
onClick="parent.location='images.php'"
onMouseOver="this.style.background ='#12146a';
this.style.cursor = 'hand'"><font
color="#c0c0c0"><b>Services</b></font></td>
</tr>

<tr>
<td align=center width="120" bgcolor="#000040"
onMouseOut="this.style.background='#000040'"
onClick="parent.location='images.php'"
onMouseOver="this.style.background ='#12146a';
this.style.cursor = 'hand'"><font
color="#c0c0c0"><b>Bikes</b></font></td>
</tr>

<tr>
<td align=center width="120" bgcolor="#000040"
onMouseOut="this.style.background='#000040'"
onClick="parent.location='help.php'"
onMouseOver="this.style.background ='#12146a';
this.style.cursor = 'hand'"><font
color="#c0c0c0"><b>Skates</b></font></td>
</tr>

<tr>
<td align=center width="120" bgcolor="#000040"
onMouseOut="this.style.background='#000040'"
onClick="parent.location='contact.php'"
onMouseOver="this.style.background ='#12146a';
this.style.cursor = 'hand'"><font color="#c0c0c0"><b>About
Us</b></font></td>
</tr>

<tr>
<td align="center" width="120" height="1500" bgcolor="#808080" </td>
</tr>
</table>
</td>
</tr>
</table>
</table>
</body>
</html>


 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      06-16-2005
Previously in alt.discuss.html,alt.html,alt.html.tags, Jeff
<(E-Mail Removed)> said:

[Removed alt.discuss.html as it doesn't exist on my newsserver;
followups set to alt.html]
> Here is my problem, I can't seem to figure out how to eliminate the
> little gap between the right side of image /shop.jpg and the edge of the
> table.


So you said earlier, and you still haven't provided a URL.

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


This a legacy document? If not, why aren't you using Strict? That
doctype will trigger Quirks mode in most modern browsers, too.

> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


If the server isn't sending the content-type HTTP header, the server
configuration needs to be fixed; a <meta> hack is not appropriate.

Use a doctype that triggers Standards mode (preferably Strict), validate
your code, then if the problem still occurs, post a URL. I'd also
suggest you stop (ab)using tables for layout purposes.

--
Mark Parnell
http://www.clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/
 
Reply With Quote
 
 
 
 
Neredbojias
Guest
Posts: n/a
 
      06-20-2005
With neither quill nor qualm, Jeff quothed

> Here is my problem, I can't seem to figure out how to eliminate the
> little gap between the right side of image /shop.jpg and the edge of the
> table. This is driving me nuts. Please Help me.
> Thank you.


Use css to set the font-size of the table to 0 and <font></font> tags to
make any text visible.

--
Neredbojias
Contrary to popular belief, it is believable.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gap in IE, no gap in FF chlori HTML 1 01-19-2006 09:30 PM
HTML & Bullet Lists - Solving the Return-Break 'Gap' Problem Shaun HTML 6 02-22-2005 05:32 PM
Please, what is causing this gap? Nik Coughin HTML 8 12-12-2004 11:49 PM
Please Mind the GAP! - Audio CD with Nero John Computer Information 3 10-08-2004 10:22 PM
CSS Problem (unsightly gap in Opera 7) Wayfarer HTML 2 09-30-2003 06:26 AM



Advertisments