4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Utterly Stupid Stupid Table Problem
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Sun Feb 02, 2003 5:24 pm (21 years, 2 months ago) Reply with QuoteBack to Top

http://v9.bluesweb.co.uk/stadium/portmanroad.php

Think it's easy to see whats wrong, but could someone tell me what is wrong with the code, I'm using includes for everything apart from the main body, about 75 pages seem to have no problem, but this one does have one, despite me not having anything dodgy in the file :

Code:

<? require ("../includes/meta.html"); ?>

<title>BluesWeb.co.uk -& The Stadium -& Stadium Information</title>

<? require ("../includes/header.html"); ?>

<? include ("../includes/sidebars/stadium.html"); ?>
   
   
   
    <td width="671" align="left" valign="top" height="14">     
    <p align="center">
        <font face="Verdana"><span style="font-size: 8pt">&<img border="0" src="../images/stadium_portmanroad.gif" width="409" height="25">
       


         
                   
         
         
          </span></font>
        <p align="center">
              <font face="Verdana"><span style="font-size: 8pt">
              <img alt="Architect's imression of the new North Stand" src="../images/photos/portmanroad.jpg" border="0" width="393" height="200"><br>
              </span>
        <i><b><font size="1"><span style="font-size: 8pt">Artists Impression of Portman Road<br>
&</span></font></b></i></font><table cellpadding="2" border="1" style="border-collapse: collapse" bordercolor="#111111" cellspacing="0" width="0" height="0">
          <tr class="data">
            <td bgcolor="#0000B1" colspan="2">
         <p align="center"><font face="Verdana" color="#FFFFFF">
         <span style="font-size: 8pt"><b>Ipswich Town - The
         Pride Of East Anglia</b> </span></font></td>
          </tr>
          <tr class="data">
            <td bgcolor="#E6E8FA"><font face="Verdana"><b>
         <span style="font-size: 8pt">Ground</span></b></font></td>
            <td bgcolor="#FFFFFF"><font face="Verdana">
         <span style="font-size: 8pt">Portman Road</span></font></td>
          </tr>
          <tr class="data">
            <td vAlign="top" bgcolor="#E6E8FA"><font face="Verdana"><b>
         <span style="font-size: 8pt">Address</span></b></font></td>
            <td bgcolor="#FFFFFF"><font face="Verdana">
         <span style="font-size: 8pt"><b>Ipswich Town Football Club</b><br>
              Portman Road<br>
              Ipswich<br>
              Suffolk<br>
              IP1 2DA</span></font></td>
          </tr>
          <tr class="data">
            <td bgcolor="#E6E8FA"><font face="Verdana"><b>
         <span style="font-size: 8pt">Phone No</span></b></font></td>
            <td bgcolor="#FFFFFF"><font face="Verdana" style="font-size: 8pt">(</font><font face="Verdana"><span style="font-size: 8pt">01473) 400500</span></font></td>
          </tr>
          <tr class="data">
            <td bgcolor="#E6E8FA"><font face="Verdana"><b>
         <span style="font-size: 8pt">TEAMtalk No</span></b></font></td>
            <td bgcolor="#FFFFFF"><font face="Verdana">
         <span style="font-size: 8pt">09066 168 819 <i>(calls cost 60p per
              minute)</i></span></font></td>
          </tr>
          <tr class="data">
            <td bgcolor="#E6E8FA"><font face="Verdana"><b>
         <span style="font-size: 8pt">Ticket Office</span></b></font></td>
            <td bgcolor="#FFFFFF"><font face="Verdana">
         <span style="font-size: 8pt">(01473) 400555</span></font></td>
          </tr>
          <tr class="data">
            <td bgcolor="#E6E8FA"><font face="Verdana"><b>
         <span style="font-size: 8pt">Capacity</span></b></font></td>
            <td bgcolor="#FFFFFF"><font face="Verdana">
         <span style="font-size: 8pt">30,000</span></font></td>
          </tr>
          <tr class="data">
            <td bgcolor="#E6E8FA"><font face="Verdana"><b>
         <span style="font-size: 8pt">Away Allocation</span></b></font></td>
            <td bgcolor="#FFFFFF"><font face="Verdana">
         <span style="font-size: 8pt">3,000</span></font></td>
          </tr>
          <tr class="data">
            <td bgcolor="#E6E8FA"><font face="Verdana"><b>
         <span style="font-size: 8pt">Disabled
              Allocation</span></b></font></td>
            <td bgcolor="#FFFFFF"><font face="Verdana">
         <span style="font-size: 8pt">30 spaces + 50 seats for home fans,
              6 spaces + 14 seats for away fans, in Britannia Stand. One helper
              admitted per disabled person, helpers pay £12 with disabled fans
              admitted free.</span></font></td>
          </tr>
          <tr class="data">
            <td bgcolor="#E6E8FA"><font face="Verdana"><b>
         <span style="font-size: 8pt">Facilities For
              The Blind</span></b></font></td>
            <td bgcolor="#FFFFFF"><font face="Verdana">
         <span style="font-size: 8pt">Seats available
              with commentaries</span></font></td>
          </tr>
          <tr class="data">
            <td bgcolor="#E6E8FA"><font face="Verdana"><b>
         <span style="font-size: 8pt">Record Attendance</span></b></font></td>
            <td bgcolor="#FFFFFF"><font face="Verdana">
         <span style="font-size: 8pt">38,010 v Leeds United - FA Cup Round 6</span></font></td>
          </tr>
          <tr class="data">
            <td bgcolor="#E6E8FA"><font face="Verdana"><b>
         <span style="font-size: 8pt">Pitch
              Measurements</span></b></font></td>
            <td bgcolor="#FFFFFF"><font face="Verdana">
         <span style="font-size: 8pt">112yds x 72 yds</span></font></td>
          </tr>
        </table>
         
 <? require ("../includes/footer.html"); ?>
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Sun Feb 02, 2003 6:12 pm (21 years, 2 months ago) Reply with QuoteBack to Top

This is what's wrong, you're fixing the width, and it's too large:

Code:
<td width="671" align="left" valign="top" height="14">

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Sun Feb 02, 2003 6:23 pm (21 years, 2 months ago) Reply with QuoteBack to Top

Hmmm, Just noticed that.......

BUT, it's on every other page, and doesn't happen, which is what doesn't make sense.
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Sun Feb 02, 2003 6:27 pm (21 years, 2 months ago) Reply with QuoteBack to Top

Thanks anyway, That Narrows the bugs with the new version down to 11.
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Sun Feb 02, 2003 7:06 pm (21 years, 2 months ago) Reply with QuoteBack to Top

Sorry, I don't follow you anymore. What's still wrong with it?

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
php4ever
Junior WebHelper
Junior WebHelper


Joined: 10 Oct 2002
Posts: 49

PostPosted: Mon Feb 10, 2003 1:36 am (21 years, 2 months ago) Reply with QuoteBack to Top

I am inferring that the problem is the huge gap between the two tables. Is that what you mean, Justin? What I did was to take out the inner table and see if it looked okay on its own and it didn't. The table wasn't noticeable until you scrolled down the page quite a bit. So, then, I remembered s.thing fr back in my dot-com days how MSIE can distort the appearance of tables if things are on separate lines. So, I tried as much as possible to put TDs and TRs on the same line. For testing I took out the costmetic stuff and so this is what I got the table to look like:

<table cellspacing="0" cellpadding="0" border="1"><tr><td align="center" ="#0000B1" colspan="2">Ipswich Town - The Pride Of East Anglia</td></tr><tr><td ="#E6E8FA">Ground</td><td ="#FFFFFF">Portman Road</td></tr>
<tr><td>Address</td><td>Ipswich Town Football Club               Portman Road        
    Ipswich               Suffolk               IP1 2DA</td></tr>          
<tr><td>Phone No</td><td>(01473) 400500</td></tr>
<tr><td>TEAMtalk No</td><td>09066 168 819 (calls cost 60p per minute)</td></tr>
<tr><td>Ticket Office</td><td>(01473) 400555</td></tr>
<tr><td>Capacity</td><td>30,000</td></tr>
<tr><td>Away Allocation</td><td>3,000</td></tr>
<tr><td>Disabled Allocation</td><td>30 spaces + 50 seats for home fans,              
6 spaces + 14 seats for away fans, in Britannia Stand. One helper          
    admitted per disabled person, helpers pay £12 with disabled fans        
      admitted free.</td></tr>
<tr><td>Facilities For The Blind</td><td>Seats available with </td></tr>
<tr><td>Record Attendance</td><td>38,010 v Leeds United - FA Cup Round 6</td></tr>          
<tr><td>Pitch Measurements</td><td>112yds x 72 yds</td></tr></table>

My guess is that if you keep the TRs and TDs as much as possible on the same line even when you add in the cosmetic stuff and nest the table, there shouldn't be a huge gap.

Hope this helps.

-- php4ever
OfflineView User's ProfileFind all posts by php4everSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Mon Feb 10, 2003 8:17 am (21 years, 2 months ago) Reply with QuoteBack to Top

Wierd.... I don't see any huge gap in the first place...

What browsers are you using Justin & php4ever? I myself am actually using IE 5.5...

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
php4ever
Junior WebHelper
Junior WebHelper


Joined: 10 Oct 2002
Posts: 49

PostPosted: Tue Feb 11, 2003 5:10 am (21 years, 2 months ago) Reply with QuoteBack to Top

I originally saw the huge gap with MSIE 6.x. Tonight I browsed same code with MSIE 5.5 and there was no gap. Looks like this may be more a case of bizarre browser behavior rather than utterly stupid tables.

Incidentally, here's a tip that I learned 1/2 a dozen dot-coms ago, when tables used to drive me bonkers. A co-worker suggested that to debug things, turn on the borders and brightly color in the tables and TDs in contrasting colors.

-- php4ever
OfflineView User's ProfileFind all posts by php4everSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Fri Feb 14, 2003 6:59 pm (21 years, 2 months ago) Reply with QuoteBack to Top

Quote:
Looks like this may be more a case of bizarre browser behavior rather than utterly stupid tables.

microsoft strikes again Very Happy

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Fri Feb 14, 2003 7:09 pm (21 years, 2 months ago) Reply with QuoteBack to Top

IE 6SP1 is the buggiest browser there is, I'd say the broken image bug in that is the worst and most annoying of all time.
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Fri Feb 14, 2003 7:29 pm (21 years, 2 months ago) Reply with QuoteBack to Top

broken images? care to elaborate?

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Fri Feb 14, 2003 7:38 pm (21 years, 2 months ago) Reply with QuoteBack to Top

Look for the post dated :
Posted: Jan 27 2003, 11:35 PM

And follow the discussion down at :
http://www.freedom2support.net/index.php?act=ST&f=2&t=599
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Sat Mar 08, 2003 5:07 pm (21 years, 1 month ago) Reply with QuoteBack to Top

Heck, fourth day using IE 6 (I only just managed to install it - before that it would claim it couldn't connect to the Internet when it tried to install Rolling Eyes) and I've already run into the bug you mentioned. What a pain in the *** Exclamation

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Sat Mar 08, 2003 10:13 pm (21 years, 1 month ago) Reply with QuoteBack to Top

Daniel wrote:
Heck, fourth day using IE 6 (I only just managed to install it - before that it would claim it couldn't connect to the Internet when it tried to install Rolling Eyes) and I've already run into the bug you mentioned. What a pain in the *** Exclamation

You installed SP1 didn't you? Laughing you only get that with SP1 versions of IE6
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Sun Mar 09, 2003 8:26 am (21 years, 1 month ago) Reply with QuoteBack to Top

I installed what I had Evil or Very Mad Is there any alternative? (other than going back to an older version of IE)

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   


Go to page 1, 2  Next

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.299571 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme