NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page What's with this space? I CANNOT figure it out.

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
6 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 03-25-2005, 09:13 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Mar 2005
Posts: 36
FreeBaGeL is an unknown quantity at this point
 



What's with this space? I CANNOT figure it out.


Here's the website I'm laying out for my fantasy football league:

http://www.clan-loh.com/dynasty/

The space I'm referring to is between the word "home" and the red block below it, I want the two red sections to touch each other.
????: NamePros.com http://www.namepros.com/programming/77846-whats-space-i-cannot-figure-out.html

Here is the code from that section.

makeHeader() creates the header image.

Code:
makeHeader();

echo '<table border="0" cellpadding ="0" cellspacing="0">';
echo '<tr>';
//left side
echo '<td>';
	echo '<table border="0" cellpadding ="0" cellspacing="0" width="150">';
	echo '<tr>';
	echo '<td bgcolor="E51818" align="center">';
		echo '<br>';
		echo '<A HREF="">Rules</A>';
	echo '</td>';
	echo '</tr>';


etc...

Here's the code from makeHeader()
Code:
function makeHeader()
{
	echo '<table border="0" width="100%" cellspacing="0" cellpadding="0">';
   	echo '<tr class="header">';
       		echo '<td width="620">';
			include "header.html";
		echo '</td>';
       		echo '<td width="100%"> <img src="headerMiddle.gif" width="100%" height="100"> </td>';
       		echo '<td width="150"> <img src="headerRight.gif"> </td>';
   	echo '</tr>';
	echo '</table>';
}
Any ideas? This has been driving me nuts.
FreeBaGeL is offline  
Old 03-25-2005, 09:54 PM   #2 (permalink)
NamePros Regular
 
Nitroshock's Avatar
Join Date: Mar 2005
Posts: 503
Nitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to behold
 


Child Abuse Third World Education
Try this....

Code:
makeHeader();

echo '<table border="0" cellpadding ="0" cellspacing="0">';
echo '<tr>';
//left side
echo '<td valign=top>';
	echo '<table border="0" cellpadding ="0" cellspacing="0" width="150">';
...
-Nitro
__________________
Bored? Play FREE Games
Nitroshock is offline  
Old 03-25-2005, 10:18 PM THREAD STARTER               #3 (permalink)
NamePros Member
Join Date: Mar 2005
Posts: 36
FreeBaGeL is an unknown quantity at this point
 



Originally Posted by Nitroshock
Try this....

Code:
makeHeader();

echo '<table border="0" cellpadding ="0" cellspacing="0">';
echo '<tr>';
//left side
echo '<td valign=top>';
	echo '<table border="0" cellpadding ="0" cellspacing="0" width="150">';
...
-Nitro
Unfortunately, that didn't fix it :\.
????: NamePros.com http://www.namepros.com/showthread.php?t=77846

Not sure if this is related, but I also noticed that down at the bottom of the page it still says "Waiting for www.clan-loh.com..." even when the page appears to be loaded, and the stop button is disabled.
FreeBaGeL is offline  
Old 03-25-2005, 11:13 PM   #4 (permalink)
NamePros Regular
Join Date: Feb 2004
Location: Student @ UConn
Posts: 411
gamex has a spectacular aura aboutgamex has a spectacular aura about
 



Hey, not sure if this will help, but try setting all of the table borders to 1. Then maybe you can see which cell, row or table needs to be fixed.
__________________
Joe
gamex is offline  
Old 03-26-2005, 03:35 AM   #5 (permalink)
NamePros Regular
 
Nitroshock's Avatar
Join Date: Mar 2005
Posts: 503
Nitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to behold
 


Child Abuse Third World Education
Well hmm...

This doesn't belong in the middle of your HTML code:
Code:
</BODY>
</HTML>
Here's where the problem is... (Mmm, pretty...)
Code:
<table cellpadding=0 cellspacing=0 width=150>
  <tr>
    <td bgcolor="#E51818" align="center"><br><A HREF="rules.php">Rules</A></td>
  </tr>
  <tr>
    <td bgcolor="#E51818" align="center"><br><A HREF="">Standings</A></td>
  </tr>
  <tr>
    <td bgcolor="#E51818" align="center"><br><A HREF="">Rosters</A></td>
  </tr><br>
  <tr>
    <td bgcolor="#E51818" align="center"><br><A HREF="">Dynasty Dollars</A></td>
  </tr>
Get rid of that break outside your table cells and all should be good (keep the "valign" part from earlier in there)
????: NamePros.com http://www.namepros.com/showthread.php?t=77846
PS, your code above was modified so it may differ slightly from the original.

Hope this helps.
-Nitro
__________________
Bored? Play FREE Games
Nitroshock is offline  
Old 03-26-2005, 11:45 AM THREAD STARTER               #6 (permalink)
NamePros Member
Join Date: Mar 2005
Posts: 36
FreeBaGeL is an unknown quantity at this point
 



Ah that did it, thanks.

I must be blind or something because I looked through forever looking for a stupid mistake like that. Even after you told me you found a linebreak outside of the table columns I still couldn't find it just by looking through, I had to do a find next for it.

Thanks a ton.
FreeBaGeL is offline  
Old 03-26-2005, 02:37 PM   #7 (permalink)
NamePros Regular
 
Nitroshock's Avatar
Join Date: Mar 2005
Posts: 503
Nitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to beholdNitroshock is a splendid one to behold
 


Child Abuse Third World Education
No problem, glad that worked for ya.

You might want to throw some whitespace and formatting in your html. It's not necessary but obviously makes problems like these easier to track down.

-Nitro
__________________
Bored? Play FREE Games
Nitroshock is offline  
Old 03-27-2005, 10:53 PM THREAD STARTER               #8 (permalink)
NamePros Member
Join Date: Mar 2005
Posts: 36
FreeBaGeL is an unknown quantity at this point
 



A bit of a continuation on this. This works out great in Mozilla, the red on the tab touches the red on the navigation bar seamlessly.

However, in IE there's still a tiny gap inbetween the two that definitely stands out.

Any way to make the two flush in both browsers or is that just something I'm gonna have to live with in IE?
FreeBaGeL is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reseller: 6GB Space, 90GB B/W, ClientExec, RVSkin, Fantastico, $18.99/mo! Virpus Web Hosting Offers 2 02-19-2005 11:58 AM
Reseller: 6500 MB Space, 95GB BW, 100% Uptime, ClientExec $16.99/mo! Virpus Web Hosting Offers 0 02-07-2005 02:04 PM
Reseller: 9GB Space, 70GB B/W, Fantastico, Grant Resellers, ClientExec,$18.99/mo! Virpus Web Hosting Offers 0 11-09-2004 09:11 PM
250mb space, 6000mb bandwidth :: $4.95 PLUS MORE PACKAGES TWM Web Hosting Offers 1 08-06-2004 04:35 PM
XylenHost - HUGE Space and bandwidth plans! CMachuca Web Hosting Offers 0 07-22-2004 03:30 PM

 
All times are GMT -7. The time now is 02:51 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger