| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Mar 2005
Posts: 36
![]() | 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>';
} |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Mar 2005
Posts: 503
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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">'; ...
__________________ Bored? Play FREE Games |
| |
| | THREAD STARTER #3 (permalink) | ||||
| NamePros Member Join Date: Mar 2005
Posts: 36
![]() |
????: 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. | ||||
| |
| | #5 (permalink) |
| NamePros Regular Join Date: Mar 2005
Posts: 503
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Well hmm... This doesn't belong in the middle of your HTML code: Code: </BODY> </HTML> 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> ????: 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 |
| |
| | THREAD STARTER #6 (permalink) |
| NamePros Member Join Date: Mar 2005
Posts: 36
![]() | 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. |
| |
| | #7 (permalink) |
| NamePros Regular Join Date: Mar 2005
Posts: 503
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 |
| |
| | THREAD STARTER #8 (permalink) |
| NamePros Member Join Date: Mar 2005
Posts: 36
![]() | 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? |
| |
![]() |
| 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 |