Click to See Complete Forum and Search --> : Cannot delete space above table??
h2oplo9
02-07-2006, 01:44 PM
I'm making a website for work and cannot for the life of me get rid of a 2 inch blank space between a scrolling marquee code and a table code. Any ideas?
Heres the website: www.211sbcounty.org
marquee and table code:
<p><b><font face="verdana, arial, helvetica" font color="black"><marquee height="30" bgcolor=#FFFF66 onmouseover='this.stop()' onmouseout='this.start()'>Maruqee Text</b></p>
<table cellpadding=0 cellspacing=0>
<tr valign="top">
<td>
<table width=171 cellpadding=0 cellspacing=0></tr>
Thanks in advance!
ErolinDesigns
02-07-2006, 02:02 PM
Wow. That's a whole lot of.... whoa. I suggest cleaning up your code.
Take out the tags before <marquee> and after </marquee>. You don't need to use paragraph.
h2oplo9
02-07-2006, 02:08 PM
Yea I know its horribly messy, thats what I get for teaching myself code while getting paid for it...I took out some of that junk which makes it look better, but doesn't delete any space issues. No idea why on earth that keeps coming up!
Code now:
<b><marquee height="30" bgcolor=#FFFF66 onmouseover='this.stop()' onmouseout='this.start()'>marquee Text</marquee></b>
<table cellpadding=0 cellspacing=0>
<tr valign="top">
<td>
<table width=171 cellpadding=0 cellspacing=0></tr>
pcthug
02-08-2006, 01:17 AM
Try
<b></b><marquee height="30" bgcolor="#FFFF66" onMouseOver="this.stop()" onMouseOut="this.start()"><b>
If you are experiencing any difficulty locating specific programs,
please call our 24 hour 211 Helpline by dialing 211 or 1-800-400-1572.
We apologize for any inconvenience while we work to refine our search
engine. This site is currently under construction, comments and
corrections are encouraged. Please direct them to the <a href="mailto:211sbcounty@fsacares.org?subject=Message%20from%20211%20website">
Webmaster</a></b></marquee>
<a href="mailto:211sbcounty@fsacares.org?subject=Message%20from%20211%20website">
</a><table cellpadding="0" cellspacing="0">
<tbody><tr valign="top">
<td>
<table cellpadding="0" cellspacing="0" width="171">
And you shouldn't use the <marquee> function, although it will work in the majority of browsers it isn't a valid tag.
h2oplo9
02-08-2006, 11:23 AM
Thanks for the help and looking into that. I used the new code and applied it, but it didn't change anything or get rid of that space. If I get rid of the marquee code all together, the space is still there, so although its not a valid tag, thats not the problem either. :confused:
cbrookes
02-08-2006, 12:31 PM
to start with you have two <br> tags which you should remove. This moves it up a little. I'm still looking for the last little bit...
cbrookes
02-08-2006, 12:42 PM
Hi, I have attached a file which you need to rename (.html instead of .txt) and this removes the space. Your html was, frankly, a mess. You had multiple <head></head> tags, multiple <body></body> tags and that was just the beginning. I had to remove quite a lot of html from the file to solve your original problem and this file is not completely cleaned up, but it answers your question.
Kind Regards,
-C-o-l-i-n-