home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Graphic Design and Digital Photography
Ask a Tech Support Question (free)!

Firefox not displaying tables correctly

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2419
Discussions: 200,941, Posts: 2,379,267, Members: 246,304
Old September 17th, 2004, 12:05 PM   Digg it!   #1 (permalink)
I'm silently judging you
 
ArcticFox's Avatar
 
Join Date: Jan 2003
Location: Lincoln City, OR
Posts: 5,377
Send a message via AIM to ArcticFox Send a message via MSN to ArcticFox Send a message via Yahoo to ArcticFox
Firefox not displaying tables correctly

I made a simple page with 5 across, 1 down table, and it shows up perfectly in IE but not in FireFox .0.9.3. It's a lot taller in FF than IE, any way to fix this?
ArcticFox is offline   Reply With Quote
Old September 17th, 2004, 12:09 PM     #2 (permalink)
Anime Otaku
 
RobRich's Avatar
 
Join Date: Oct 2001
Location: Tampa, FL USA
Posts: 108,970
Blog Entries: 15
Would be easier to diagnose if you provided the HTML source.
RobRich is online now   Reply With Quote
Old September 17th, 2004, 12:17 PM     #3 (permalink)
I'm silently judging you
 
ArcticFox's Avatar
 
Join Date: Jan 2003
Location: Lincoln City, OR
Posts: 5,377
Send a message via AIM to ArcticFox Send a message via MSN to ArcticFox Send a message via Yahoo to ArcticFox
Right.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Newberg High School counselors</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table width="782" border="1">
  <tr>
    <td><a href="staff.htm">Counseling staff </a></td>
    <td><a href="events.htm">Upcoming events</a></td>
    <td><a href="contacts.htm">Contacts and emails</a></td>
    <td>Scholarships</td>
    <td><p>Services</p>    </td>
  </tr>
</table>
</body>
</html>
ArcticFox is offline   Reply With Quote
Old September 17th, 2004, 12:30 PM     #4 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,552
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
There is nothing wrong with that. Give us some screenshots.

Also it will be best advised to use cellpadding and cellspacing manually. Otherwise they will default to something which may explain the difference between the two browsers.

Jkrohn
jkrohn is offline   Reply With Quote
Old September 17th, 2004, 12:31 PM     #5 (permalink)
Anime Otaku
 
RobRich's Avatar
 
Join Date: Oct 2001
Location: Tampa, FL USA
Posts: 108,970
Blog Entries: 15
Remove the doctype tag, and it will render correctly. I just verified the results with IE, Opera, and Firefox.

Code:
<html>
<head>
<title>Newberg High School counselors</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table width="782" border="1">
  <tr>
    <td><a href="staff.htm">Counseling staff </a></td>
    <td><a href="events.htm">Upcoming events</a></td>
    <td><a href="contacts.htm">Contacts and emails</a></td>
    <td>Scholarships</td>
    <td><p>Services</p>    </td>
  </tr>
</table>
</body>
</html>
RobRich is online now   Reply With Quote
Old September 17th, 2004, 12:42 PM     #6 (permalink)
I'm silently judging you
 
ArcticFox's Avatar
 
Join Date: Jan 2003
Location: Lincoln City, OR
Posts: 5,377
Send a message via AIM to ArcticFox Send a message via MSN to ArcticFox Send a message via Yahoo to ArcticFox
Cool, thanks, although when I removed it and then re-added it, FF displayed it correctly. Wierd, I still yanked it.
ArcticFox is offline   Reply With Quote
Old November 14th, 2004, 04:46 AM     #7 (permalink)
Junior Member
 
Join Date: Nov 2004
Posts: 13
This thread is exactly what I'm going through and almost answers my question.

Firefox stretches my tables out vertically and I don't know why. I do know that if I remove my doctype then the problem goes away.

My question is, what if I want my page to validate? The page will not validate without a doctype, but with the doctype it will not display correctly in firefox..

Here is a link to the page I'm talking about.

Does anyone have a solution for this problem?
raggario is offline   Reply With Quote
Old November 14th, 2004, 06:26 AM     #8 (permalink)
Junior Member
 
Join Date: Nov 2004
Posts: 13
I have figured out how to rearrange my tables to keep the "spreading apart" from happening.. That is I have at least figured out a temporary hack.

I'm still not sure why Firefox is applying all this extra margin space within the table..

Here is the page revised, and it still validates with the same doctype used before.

Even though I've made a working setup for now, I would still be grateful for insight to the source of this problem.

Thanks 2 all.
raggario is offline   Reply With Quote
Old November 14th, 2004, 06:22 PM     #9 (permalink)
nuisance since 1968
 
OuTpaTienT's Avatar
 
Join Date: Oct 2001
Location: ɐqɟs
Posts: 10,457
Um, it's all because you have a Paragraph tag in the last cell. Remove that and it renders fine.
OuTpaTienT is offline   Reply With Quote
Old November 15th, 2004, 02:57 AM     #10 (permalink)
Senior Member
 
BeatYouWithShoe's Avatar
 
Join Date: Jul 2004
Location: Georgetown, TX
Posts: 671
Send a message via AIM to BeatYouWithShoe
Correction: Firefox is displaying it CORRECTLY, IE is not, Firefox renders everything exactly according to the rules and standards set up by the w3c - (http://www.w3.org/) - Its IE that has taken the liberty to make up its own rules and render things incorrectly such as CSS and most often tables.
__________________
sporkey _ at _ gmail _ dot _ com
BeatYouWithShoe is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Midtown Madness 2 HELP shoaib20022005@y General Gaming Discussion 3 June 8th, 2009 08:28 PM
Trying new browser Hoosier724 Networking and Internet 19 July 2nd, 2004 02:36 AM
Ads in the middle of threads????? Gomer Suggestion Box 45 May 3rd, 2004 02:58 PM
Running access 97 macro through access 2000 db Jshipley45 Webmastering and Programming 2 October 3rd, 2003 01:53 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2911)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Wireless Televisions. (8)
California Passes Anti-Flat-HDTV Le.. (43)
Regular Build (6)
Obama the Muslim (14)
Is the PSU I received dead? (11)
windows vista security holes (9)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Print spooler problem (13)
Foreign voltage (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
Recent Discussions
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
screen resolution vs monitor size (0)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)
Is the PSU I received dead? (11)
Have you switched yet? (85)
Point and Shoot Camera Suggestions. (2)
Modern Warfare 2 freeze (13)
Wireless Televisions. (8)
wireless user (1)
World's largest Monopoly Game using G.. (332)
Ideal cheap graph card for PC-Gaming? (17)
BIOS won't read disk when I try to fl.. (0)
Install XP pro and a Vista laptop ?? (11)
Graphics Card Upgrade Question (1)
favorit (1)
solutions for virtical white lines on.. (1)
Fire in DVD (2)
Modern Warfare For the PC (33)
radeon x850xt platinum & shader 3 (3)


All times are GMT -4. The time now is 01:53 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28