Solved

Big gap in my displayed HTML - why?

Posted on 2001-07-25
22
242 Views
Last Modified: 2010-07-27
At my site, http://jokes.sytes.net/jokes.htm
I am having problems with this piece of code:

<form method=GET action="http://groups.yahoo.com/subscribe/DailyLaff">
<table cellspacing=0 cellpadding=2 border=0 bgcolor=#FFFFCC>
  <tr>
    <td colspan=2 align=center>
      <b>Subscribe to DailyLaff</b>
    </td>
  </tr>
  <tr>
    <td>
      <input type=text name="user" value="enter email address" size=20>
    </td>
    <td>
      <input type=image border=0 alt="Click here to join DailyLaff"
       name="Click here to join DailyLaff"
       src="http://groups.yahoo.com/img/ui/join.gif">
    </td>
  </tr>
  <tr align="center">
    <td colspan="2">
      Powered by <a href="http://groups.yahoo.com/">groups.yahoo.com</a>
    </td>
  </tr>
</table>
</form>


It leaves a big hole in between the stuff above it and the actual form - why?  What do I need to change to fix this?  I'm not an HTML expert unfortunately, so I dunno what to do now...
0
Comment
Question by:DannoNZ
  • 9
  • 5
  • 3
  • +2
22 Comments
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6316778
I cut a piece out of your original source...and this is as close as I got...it has to do with the form and the table both generating a line feed...try this out...

<table border="1" width="100%">
<tbody>
  <tr>
    <td bgColor="#ffff00" width="100%"><h3>Cowboy</h3>
    </td>
  </tr>
  <tr>
    <td width="100%">An old cowboy dressed to kill with cowboy shirt, hat, jeans, spurs and
    chaps went to a bar and ordered a drink.<p>As he sat there sipping his whiskey, a young
    lady sat down next to him.</p>
    <p>After she ordered her drink she turned to the cowboy and asked, &quot;Are you a real
    cowboy?&quot;</p>
    <p>&quot;Well, I have spent my whole life on the ranch herding cows, breaking horses,
    mending fences... I guess I am,&quot; replied the cowboy.</p>
    <p>After a short while he asked her what she was.</p>
    <p>&quot;I've never been on a ranch so I know I'm not a cowboy,&quot; said the young
    woman, &quot;but I am a lesbian. I spend my whole day thinking about women. As soon as I
    get up in the morning I think of women. When I eat, shower, watch TV, everything seems to
    make me think of women.&quot;</p>
    <p>A short while later she left and the cowboy ordered another drink. A couple sat down
    next to him and asked, &quot;Are you a real cowboy?&quot;</p>
    <p>&quot;I always thought I was, but I just found out that I'm a lesbian.&quot;</td>
  </tr>
  <tr><form method="post" action="http://www.listbot.com/cgi-bin/subscriber">
    <td width="100%" valign="top">
      <table cellspacing=0 cellpadding=2 border=0 bgcolor=#FFFFCC>
        <tr><td colspan=2 align=center><b>Subscribe to DailyLaff</b></td></tr>          ??
          <tr><td><input type=text name="user2" value="enter email address" size=20></td><td><input type=image border=0 alt="Click here to join DailyLaff"?name="Click here to join DailyLaff"?src="http://groups.yahoo.com/img/ui/join.gif" name="image2"></td></tr>
      </table>

        <br>
        Or at <a href="http://groups.yahoo.com/group/DailyLaff/join">http://groups.yahoo.com/group/DailyLaff/join</a>
</td>
      </form>
  </tr>
  <tr>
    <td bgColor="#ffff00" width="100%"><h3>Preacher</h3>
    </td>
  </tr>
  <tr>
    <td width="100%">After the church service a little boy told the pastor,
      <p>&quot;When I grow up, I'm going to give you some money.&quot;</p>
    <p>Well, thank you,&quot; the pastor replied, &quot;but why?&quot;</p>
    <p>&quot;Because my daddy says you're one of the poorest preachers we've ever had.</td>
  </tr>
  <tr>
    <td width="100%"><h4 align="center">Still Not Convinced?</h4>
      <p align="center">Sign up now anyway - we let you unsubscribe at any time.
        We never give you the run around!
    </td>
  </tr>
  <tr>
    <td bgColor="#ffff00" width="100%"><h3>Zoology Test</h3>
    </td>
  </tr>
  <tr>
    <td width="100%">A young college student had stayed up all night studying for his zoology
    test the next day. As he entered the classroom, he saw ten stands with ten birds on them.
    Each bird had a sack over its head; only the legs were showing. He sat straight in the
    front row because he wanted to do the best job possible. The professor announced that the
    test would be to look at each of the birds' legs and give the common name, habitat, genus
    and species.<p>The student looked at each of the birds' legs. They all looked the same to
    him. He began to get upset. He had stayed up all night studying and now had to identify
    birds by their legs. The more he thought about it the madder he got.</p>
    <p>Finally he could stand it no longer. He went up to the professor's desk and said,
    &quot;What a stupid test! How could anyone tell the difference between birds by looking at
    their legs?&quot; With that the student threw his test on the professor's desk and walked
    to the door.</p>
    <p>The professor was surprised. The class was so big that he didn't know every student's
    name so as the student reached the door the professor called, &quot;Mister, what's your
    name?&quot;</p>
    <p>The enraged student pulled up his pant legs and said, &quot;You tell me buddy! You tell
    me!&quot;</td>
  </tr>
</tbody>
</table>

Cheers,
Max.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6316789
LOL...what a way to notice you didn't close that link...

Max.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6316802
This is better (I hope)

<table border="1" width="100%">
<tbody>
 <tr>
   <td bgColor="#ffff00" width="100%"><h3>Cowboy</h3>
   </td>
 </tr>
 <tr>
   <td width="100%">An old cowboy dressed to kill with cowboy shirt, hat, jeans, spurs and
   chaps went to a bar and ordered a drink.<p>As he sat there sipping his whiskey, a young
   lady sat down next to him.</p>
   <p>After she ordered her drink she turned to the cowboy and asked, &quot;Are you a real
   cowboy?&quot;</p>
   <p>&quot;Well, I have spent my whole life on the ranch herding cows, breaking horses,
   mending fences... I guess I am,&quot; replied the cowboy.</p>
   <p>After a short while he asked her what she was.</p>
   <p>&quot;I've never been on a ranch so I know I'm not a cowboy,&quot; said the young
   woman, &quot;but I am a lesbian. I spend my whole day thinking about women. As soon as I
   get up in the morning I think of women. When I eat, shower, watch TV, everything seems to
   make me think of women.&quot;</p>
   <p>A short while later she left and the cowboy ordered another drink. A couple sat down
   next to him and asked, &quot;Are you a real cowboy?&quot;</p>
   <p>&quot;I always thought I was, but I just found out that I'm a lesbian.&quot;</td>
 </tr>
 <tr><form method="post" action="http://www.listbot.com/cgi-bin/subscriber">
   <td width="100%" valign="top">
     <table cellspacing=0 cellpadding=2 border=0 bgcolor=#FFFFCC>
       <tr><td colspan=2 align=center><b>Subscribe to DailyLaff</b></td></tr>          ??
         <tr><td><input type=text name="user2" value="enter email address" size=20></td><td><input
type=image border=0 alt="Click here to join DailyLaff"?name="Click here to join DailyLaff"?src="http://groups.yahoo.com/img/ui/join.gif" name="image2"></td></tr>
     </table>

       <br>
       Or at <a href="http://groups.yahoo.com/group/DailyLaff/join">http://groups.yahoo.com/group/DailyLaff/join</a>
</td>
     </form>
 </tr>
 <tr>
   <td bgColor="#ffff00" width="100%"><h3>Preacher</h3>
   </td>
 </tr>
 <tr>
   <td width="100%">After the church service a little boy told the pastor,
     <p>&quot;When I grow up, I'm going to give you some money.&quot;</p>
   <p>Well, thank you,&quot; the pastor replied, &quot;but why?&quot;</p>
   <p>&quot;Because my daddy says you're one of the poorest preachers we've ever had.</td>
 </tr>
 <tr>
   <td width="100%"><h4 align="center">Still Not Convinced?</h4>
     <p align="center">Sign up now anyway - we let you unsubscribe at any time.
       We never give you the run around!
   </td>
 </tr>
 <tr>
   <td bgColor="#ffff00" width="100%"><h3>Zoology Test</h3>
   </td>
 </tr>
 <tr>
   <td width="100%">A young college student had stayed up all night studying for his zoology
   test the next day. As he entered the classroom, he saw ten stands with ten birds on them.
   Each bird had a sack over its head; only the legs were showing. He sat straight in the
   front row because he wanted to do the best job possible. The professor announced that the
   test would be to look at each of the birds' legs and give the common name, habitat, genus
   and species.<p>The student looked at each of the birds' legs. They all looked the same to
   him. He began to get upset. He had stayed up all night studying and now had to identify
   birds by their legs. The more he thought about it the madder he got.</p>
   <p>Finally he could stand it no longer. He went up to the professor's desk and said,
   &quot;What a stupid test! How could anyone tell the difference between birds by looking at
   their legs?&quot; With that the student threw his test on the professor's desk and walked
   to the door.</p>
   <p>The professor was surprised. The class was so big that he didn't know every student's
   name so as the student reached the door the professor called, &quot;Mister, what's your
   name?&quot;</p>
   <p>The enraged student pulled up his pant legs and said, &quot;You tell me buddy! You tell
   me!&quot;</td>
 </tr>
</tbody>
</table>

Max.
0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6316971
Max!!!

 <tr><form method="post" action="http://www.listbot.com/cgi-bin/subscriber">

That is very poor HTML! You shouldn't "break" the table structure in that way.

I have adjusted the first part of the page for you:

<BASE HREF="http://jokes.sytes.net/">
<html>
<head>
<title>DailyLaff free daily jokes e-zine - visit us at dailylaughnz.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF">
<h1 align="center"><a name="202.50.170.138"></a>Welcome To DailyLaff</h1>
<center>
<table border="1" width="468">
  <tr>
        <td width="468">
          <p align="center"><!-- Start ContentZone 5.0 -->
          <center>
            <iframe src="http://ad.contentzone.com/srv/view?site_id=35324"
 marginwidth=0 marginheight=0 frameborder=0 scrolling="no"
 width=468 height=60 vspace=0 hspace=0> <a target="_blank"
 href="http://ad.contentzone.com/srv/click?site_id=35324"> <img width=468 height=60 border=0 alt="Check out my sponsor!"
 src="http://ad.contentzone.com/srv/image?site_id=35324"></a> </iframe>
          </center>
            <!-- End ContentZone 5.0 --></td>
  </tr>
  <tr>
        <td width="468" align="center"><form method=GET action="http://groups.yahoo.com/subscribe/DailyLaff">
            <table cellspacing=0 cellpadding=1 border=0 bgcolor=#FFFFCC>
              <tr>
                <td colspan=2 align=center><b>Subscribe to DailyLaff</b></td>
              </tr>
              <tr>
                <td><input type=text name="user" value="enter email address" size=20></td>
                <td><input type=image border=0 alt="Click here to join DailyLaff"
       name="Click here to join DailyLaff"
       src="http://groups.yahoo.com/img/ui/join.gif" name="image"></td>
                  </tr>
            </table>
            <br>
            Or at <a href="http://groups.yahoo.com/group/DailyLaff/join">http://groups.yahoo.com/group/DailyLaff/join </a>
          </form>
          <p align="center">&nbsp;
          <p align="center">&nbsp;
          <!--webbot BOT="HTMLMarkup" endspan -->
          <a href="http://www.alexchiu.com/affiliates/clickthru.cgi?id=DannoNZ">
          <img src="http://www.alexchiu.com/affiliates.gif" alt="Eternal_Life" border="0"></a></td>
  </tr>
</table>
</center>
<table border="1" width="100%">


which now looks fine on my machine.

Basically what I have done is made sure that </td> tags don't sit on a line on their own - this can cause extra spacing.

I've also tidied some of the code up by removing uncessary tags.

:o)

Ant
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6316986
Ant!!! I know...but sometimes you need to use "dirty tricks" to get the code to do what you want....that and I only looked at it for 5 minutes...come on man...geez...

I am pretty busy...don't have hours to spend even though I would love to...

Max.
0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6316996
LOL.....I have NEVER used that "dirty trick". :oP

I only looked at for 5 minutes aswell.

:o)

Ant
0
 
LVL 18

Accepted Solution

by:
mgfranz earned 150 total points
ID: 6319663
Let me guess... FrontPage was used to build this page... ;-)

Anyway, try this;

<html>
<head>
<title>DailyLaff free daily jokes e-zine - visit us at dailylaughnz.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF">
<h1 align="center"><a name="202.50.170.138"></a>Welcome To DailyLaff</h1>
<div align="center">
<table border="1" width="468">
  <tr valign="top">
        <td width="468"><p align="center"><!-- Start ContentZone 5.0 -->
          <iframe align="top" src="http://ad.contentzone.com/srv/view?site_id=35324" marginwidth=0 marginheight=0 frameborder=0 scrolling="no" width=468 height=60 ><a target="_blank" href="http://ad.contentzone.com/srv/click?site_id=35324"> <img width=468 height=60 border=0 alt="Check out my sponsor!" src="http://ad.contentzone.com/srv/image?site_id=35324"></a> </iframe>
         
            <!-- End ContentZone 5.0 -->
    </p>    </td>
  </tr>
  <tr>
        <td width="468"><form method=GET action="http://groups.yahoo.com/subscribe/DailyLaff">
            <table cellspacing=0 cellpadding=1 border=0 bgcolor="#FFFFCC">
              <tr>
<td colspan=2 align=center><b>Subscribe to DailyLaff</b></td>
            </tr>
                  <tr>
<td><input type=text name="user" value="enter email address" size=20></td>
<td><input type=image border=0 alt="Click here to join DailyLaff" name="Click here to join DailyLaff" src="http://groups.yahoo.com/img/ui/join.gif" name="image"></td>
</tr>
</table></form>
            <br>
            Or at <a href="http://groups.yahoo.com/group/DailyLaff/join">http://groups.yahoo.com/group/DailyLaff/join</a>
         
          <p align="center">&nbsp;
          <!--webbot BOT="HTMLMarkup" endspan -->
          <a href="http://www.alexchiu.com/affiliates/clickthru.cgi?id=DannoNZ">
          <img src="http://www.alexchiu.com/affiliates.gif" alt="Eternal_Life"
border="0"></a></td>
  </tr>
</table>
</div>

<table border="1" width="100%">
  <tr>
    <td bgColor="#ffff00" width="100%"><h3>Cowboy</h3>
    </td>
  </tr>
  <tr>
    <td width="100%">An old cowboy dressed to kill with cowboy shirt, hat, jeans, spurs and chaps went to a bar and ordered a drink.<p>As he sat there sipping his whiskey, a young lady sat down next to him.</p><p>After she ordered her drink she turned to the cowboy and asked, &quot;Are you a real cowboy?&quot;</p>
    <p>&quot;Well, I have spent my whole life on the ranch herding cows, breaking horses, mending fences... I guess I am,&quot; replied the cowboy.</p><p>After a short while he asked her what she was.</p><p>&quot;I've never been on a ranch so I know I'm not a cowboy,&quot; said the young woman, &quot;but I am a lesbian. I spend my whole day thinking about women. As soon as I get up in the morning I think of women. When I eat, shower, watch TV, everything seems to make me think of women.&quot;</p>    <p>A short while later she left and the cowboy ordered another drink. A couple sat down next to him and asked, &quot;Are you a real cowboy?&quot;</p> <p>&quot;I always thought I was, but I just found out that I'm a lesbian.&quot;</p></td>
  </tr>
  <tr>
    <td width="100%"><form method="post" action="http://www.listbot.com/cgi-bin/subscriber">
        <table cellspacing=0 cellpadding=2 border=0 bgcolor=#FFFFCC>
<tr>
<td colspan=2 align=center><b>Subscribe to DailyLaff</b></td>
</tr>
<tr>
<td><input type=text name="user2" value="enter email address" size=20></td>
<td><input type=image border=0 alt="Click here to  join DailyLaff" name="Click here to join DailyLaff" src="http://groups.yahoo.com/img/ui/join.gif" name="image2"></td>
</tr>
</table></form>
        <br>
        Or at <a href="http://groups.yahoo.com/group/DailyLaff/join">http://groups.yahoo.com/group/DailyLaff/join</a></td>
  </tr>
  <tr>
    <td bgColor="#ffff00" width="100%"><h3>Preacher</h3></td>
  </tr>
  <tr>
    <td width="100%">After the church service a little boy told the pastor, <p>&quot;When I grow up, I'm going to give you some money.&quot;</p><p>Well, thank you,&quot; the pastor replied, &quot;but why?&quot;</p><p>&quot;Because my daddy says you're one of the poorest preachers we've ever had.</p></td>
  </tr>
  <tr>
    <td width="100%"><h4 align="center">Still Not Convinced?</h4>
      <p align="center">Sign up now anyway - we let you unsubscribe at any time.         We never give you the run around!</p></td>
  </tr>
  <tr>
    <td bgColor="#ffff00" width="100%"><h3>Zoology Test</h3>   </td>
  </tr>
  <tr>
    <td width="100%">A young college student had stayed up all night studying for his zoology test the next day. As he entered the classroom, he saw ten stands with ten birds on them.  Each bird had a sack over its head; only the legs were showing. He sat straight in the  front row because he wanted to do the best job possible. The professor announced that the test would be to look at each of the birds' legs and give the common name, habitat, genus and species.<p>The student looked at each of the birds' legs. They all looked the same to him. He began to get upset. He had stayed up all night studying and now had to identify birds by their legs. The more he thought about it the madder he got.</p>    <p>Finally he could stand it no longer. He went up to the professor's desk and said, &quot;What a stupid test! How could anyone tell the difference between birds by looking at    their legs?&quot; With that the student threw his test on the professor's desk and walked to the door.</p>    <p>The professor was surprised. The class was so big that he didn't know every student's name so as the student reached the door the professor called, &quot;Mister, what's your  name?&quot;</p>
    <p>The enraged student pulled up his pant legs and said, &quot;You tell me buddy! You tell  me!&quot;</td>
  </tr>
</table>

<h3 align="center">Join DailyLaff Today Just By Filling In Your E-Mail Address:</h3>
<form method=GET action="http://groups.yahoo.com/subscribe/DailyLaff">
  <table cellspacing=0 cellpadding=2 border=0 bgcolor="#FFFFCC">
<tr>
<td colspan=2 align=center><b>Subscribe to DailyLaff</b></td>
</tr>
<tr>
<td><input type=text name="user3" value="enter email address" size=20></td><td><input type=image border=0 alt="Click here to join DailyLaff" name="Click here to join DailyLaff" src="http://groups.yahoo.com/img/ui/join.gif" name="image3"></td>
</tr>
<tr align="center">
<td colspan="2">Powered by <a href="http://groups.yahoo.com/">groups.yahoo.com</a></td>
</tr>
</table>
</form>
<h3 align="center">&nbsp;</h3>
<h4 align="center">Associates of DailyLaff:</h4>

<div align="center">
    <table border="1">
      <tr>
        <td rowspan="2"><div align="center">
               <table border="0" cellspacing="1" width="225" align="center">
                <tr>
                  <td align="center" colspan="2" width="100%">                    <p align="center"><a href="http://www.humor.ukf.net/webring/index.html"><img src="http://www.humor.ukf.net/images/webring.gif" alt="The Humor Net Webring" border="0" width="225" height="30"></a>                </p></td>
</tr>
                <tr>
                  <td align="center" width="50%" bgcolor="#D8D8F5"><a href="http://www.webring.org/cgi-bin/webring?ring=humornet;id=62;prev"><font color="#0000A0" size="2" face="verdana, arial">Previous Site</font></a></td>
                  <td align="center" width="50%" bgcolor="#D8D8F5"><a href="http://www.webring.org/cgi-bin/webring?ring=humornet;id=62;next"><font color="#0000A0" size="2" face="verdana, arial">Next                     Site</font></a></td>
                </tr>
                <tr>
                  <td align="center" width="50%" bgcolor="#D8D8F5"><a href="http://www.webring.org/cgi-bin/webring?ring=humornet;id=62;sprev"><font color="#0000A0" size="2" face="verdana, arial">Skip                    Previous</font></a></td>
                  <td align="center" width="50%" bgcolor="#D8D8F5"><a href="http://www.webring.org/cgi-bin/webring?ring=humornet;id=62;skip"><font color="#0000A0" size="2" face="verdana, arial">Skip
                    Next</font></a></td>
                </tr>
                <tr>
                  <td align="center" width="50%" bgcolor="#D8D8F5"><a href="http://www.webring.org/cgi-bin/webring?ring=humornet;id=62;prev5"><font color="#0000A0" size="2" face="verdana, arial">Last
                    5 Sites</font></a></td>
                  <td align="center" width="50%" bgcolor="#D8D8F5"><a href="http://www.webring.org/cgi-bin/webring?ring=humornet;id=62;next5"><font color="#0000A0" size="2" face="verdana, arial">Next
                    5 Sites</font></a></td>
                </tr>
                <tr>
                  <td align="center" width="50%" bgcolor="#D8D8F5"><a href="http://www.webring.org/cgi-bin/webring?ring=humornet;random"><font color="#0000A0" size="2" face="verdana, arial">Random
                    Site</font></a></td>
                  <td align="center" width="50%" bgcolor="#D8D8F5"><a href="http://www.webring.org/cgi-bin/webring?ring=humornet;list"><font color="#0000A0" size="2" face="verdana, arial">List
                    the Sites</font></a></td>
                </tr>
                <tr>
                  <td colspan="2">
                    <p align="center"><a href="http://www.humor.ukf.net/webring/index.html"><font color="#0000A0" size="2" face="verdana, arial"><strong>Click
                      here to join</strong></font></a>
                  </td>
                </tr>
              </table>
            </div>
        </td>
        <td colspan="3"><!-- BEGIN WEBSIDESTORY CODE --> <!-- COPYRIGHT 1997-2000 WEBSIDESTORY, INC. ALL RIGHTS RESERVED. U.S.PATENT PENDING. Privacy notice at: http://websidestory.com/privacy -->
          <!-- webbot bot="HTMLMarkup" startspan -->
            <script language="javascript"> var test=0;</script>
            <script language="javascript1.1"
src="http://js1.hitbox.com/js?acct=WQ5102145PNB38EN2&m=wf168&n=PUT+PAGE+NAME+HERE">
</script>
            <script language="javascript">
if (test==0) { var dt=0, sv=10, ss="na",sc="na",ln="",pl="",rf="",bn="",ja="",bv=0,x1="",x2="",x3="",arg="";
rf=escape(document.referrer)+"";if((rf=="undefined")||(rf=="")){rf="bookmark";}
bv=Math.round(parseFloat(navigator.appVersion)*100);bn=navigator.appName;
if(bn!="Netscape"){dt=(new Date()).getHours();};if(bn.substring(0,9)=="Microsoft"){bn="MSIE";}
if((bn=="MSIE")&&(parseInt(bv)==2)){bv=302;};ja="na";
x1="<a href='http://rd1.hitbox.com/rd?acct=WQ5102145PNB38EN2' target='_top'>";
x2="<img src='http://hg1.hitbox.com/HG?hc=wf168&cd=1&hb=WQ5102145PNB38EN2&n=PUT+PAGE+NAME+HERE";
x3="&cd=1&bt=2' border=0 height=60 width=468></a>";
arg="&bn="+bn+"&bv="+bv+"&ss="+ss+"&sc="+sc+"&dt="+dt+"&sv="+sv;
arg+="&ja="+ja+"&rf="+rf+"&ln="+ln+"&pl="+escape(pl);document.write(x1+x2+arg+x3);}</script>
            <script language="javascript1.2">document.write("<");document.write("!--  ");</script>
            <noscript><a href="http://rd1.hitbox.com/rd?acct=WQ5102145PNB38EN2" target="_top">
            <img src="http://hg1.hitbox.com/HG?hc=wf168&amp;cd=1&amp;hb=WQ5102145PNB38EN2&amp;n=Joke+Home"
border=0 height=60 width=468></a></noscript>
            <script language="javascript1.2"> document.write("  --");document.write(">");</script>
          <!-- webbot bot="HTMLMarkup" endspan --> <!-- END WEBSIDESTORY CODE  -->
        </td>
      </tr>
      <tr>
        <td colspan="3">
          <p align="center"><!--webbot bot="HTMLMarkup" StartSpan --><!-- BEGIN LINKEXCHANGE CODE -->
              <iframe src="http://leader.linkexchange.com/1/X1105708/showiframe?" width=468 height=60 marginwidth=0 marginheight=0 frameborder=0 scrolling=no>
              <a href="http://leader.linkexchange.com/1/X1105708/clickle" target="_top"><img width=468 height=60 border=0 ismap alt="" src="http://leader.linkexchange.com/1/X1105708/showle?"></a></iframe><br>
              <a href="http://leader.linkexchange.com/1/X1105708/clicklogo" target="_top"><img src="http://leader.linkexchange.com/1/X1105708/showlogo?" width=468 height=16 border=0 ismap alt=""></a><br>
                   <!-- END LINKEXCHANGE CODE --> <!--webbot BOT="HTMLMarkup" endspan -->
        </td>
      </tr>
    </table>
</div>
</body>
</html>
0
 

Expert Comment

by:domiager
ID: 6321324
if your on about the gap at the top and bottem of your table, there is a simple fix. place the form tags inbetween the <TABLE> <open form> <TR> .... </TR> <close form> </TABLE>. This removes the gaps the form creates.

see code below:

<table cellspacing=0 cellpadding=2 border=0 bgcolor=#FFFFCC>
<form method=GET action="http://groups.yahoo.com/subscribe/DailyLaff">
 <tr>
   <td colspan=2 align=center>
     <b>Subscribe to DailyLaff</b>
   </td>
 </tr>
 <tr>
   <td>
     <input type=text name="user" value="enter email address" size=20>
   </td>
   <td>
     <input type=image border=0 alt="Click here to join DailyLaff"
      name="Click here to join DailyLaff"
      src="http://groups.yahoo.com/img/ui/join.gif">
   </td>
 </tr>
 <tr align="center">
   <td colspan="2">
     Powered by <a href="http://groups.yahoo.com/">groups.yahoo.com</a>
   </td>
 </tr>
</form>
</table>
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6321359
domiager > Please read the guidelines on answering questions...your answer didn't add to this question anything that wasn't said before...Thanks for your comment though..

Max.
0
 
LVL 2

Author Comment

by:DannoNZ
ID: 6321377
domiager, first in first served (AND NEVER EVER POST AN ANSWER AS YOUR FIRST POST IN A QUESTION UNLESS YOU'RE 110% SURE AND YOU'RE THE VERY FIRST POST!!!) - there are already two answers there I'm going to try tomorrow afternoon as I've got no time yet and report back on them - they're definitely better than what I've got in the little time I had to try them out...

g'nite - and no more posting answers!
0
 

Expert Comment

by:domiager
ID: 6321396
ok sorry mate, im new to experts-exchange... been
registered for ages but never used it... good luck
with your problem though...

cya
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 2

Author Comment

by:DannoNZ
ID: 6321415
thx, hope you enjoy it here :-)
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6321423
domiager > no offense taken...just keep it in mind ok? :)

Max.
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 6321939
It cracks me up about how EE and Oracle does not terminate a <href> string... ;-)

Danno, there was a lot of unnecessary stuff in your code, lots of extra <cr> and unended <p> tags.  YOu should always run your code through a validator, if your editor does not have one, use the one at www.w3c.org.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6321992
That's nonsense mqfranz...why would you always have to put your code through a validator? You get a lot of messages that make you think you need to worry even when there is nothing wrong...

These kind of validators add nothing...

Max.
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 6322042
Max I'm ashamed of you... good code validators are a valuable resource and should be in every developers toolbin.  While I'm not positive, I bet danno would have saved a question if he ran his code through one...
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6322088
Why are you ashamed of me...?

Code validators are a lazy way to find what you can do on your own as well....Too often I see people use a code validator and find out that it says there are many things wrong...then when they look carefully, all it says is that certain attributes are not supported by different browsers, these kind of "error" messages a validator gives can throw someone really off track...especially because they are not even errors at all, they are ignored by the browsers that are not supporting them, while others use them because they can..

I for one always validate my own code...if you do this often you really start to realize WHY things go wrong, not just that you that it goes wrong..

You learn way more by fixing your errors yourself...not by using a validator....so excuse me but ashamed of me??

Max.
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 6322133
I do agree with you on a few points, I don't use a validator for my code, I don't need to... I write my code by hand, I don't use WYSIWYG or any other editors that write code for you.  If I wrote it, I know it should work fine.

I meant that I was ashamed of you for not being supportive of a useful tool, in this instance it proved valuable.  While validators will tell you things that "may" throw someone off track, some simple tweeking and a keen eye are all that's needed to read through the resulting messages.

I do support them, as should danno.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6322180
To me these tools are not useful (probably as a result of what I just described) and the reason why I do not suggest people to use them is the same why I do not suggest them to use WYSIWYG editors...it doesn't teach you anything and you will always keep the same kind of problems...

Max.
0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6322979
DannoNZ, any feedback on my last comment...

:o)

Ant
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 6323075
Validators are excellent for beginners who use WYSIWYG editors to see where a mistake may lay, I rairly use them on my code, I have been doing this stuff for too long to make basic mistakes, (well, I do make them occasionally...).

Ant, that was a good tip, Danno, you should never place a <cr> between <td> tags;

-- BAD --

<td>
   Now is the time for all good men...
</td>

-- GOOD --

<td>Now is the time for all good men...</td>
0
 
LVL 2

Author Comment

by:DannoNZ
ID: 6330576
This answer made a little mess of varous other parts of the HTML, but had the least gap where the question asked the gap to be removed :-)

thx
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now