Why does Firefox view tables so STUPIDLY??

User Help for Mozilla Firefox
carpetrug01
Guest

Why does Firefox view tables so STUPIDLY??

Post by carpetrug01 »

Look at this page in internet explorer, and then in firefox. It looks the way i want it to look in internet explorer, why does firefox make it look so DUMB!!!!! Come on!!

http://www.neopets.com/~FeathersMeavers
Guest
Guest

Post by Guest »

Well, for starters, you have border="2" on the code, so Firefox displays edges of the table cells. No idea why IE does not, propably IE bug. Check your code before blaming Firefox.
Old enrgy21
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old enrgy21 »

Without checking the site, based on your comment, at first I thought the site may not have been written in standard code and you just didn't know.
After checking in IE7, it's almost exactly the same. So maybe you have an extension or theme problem, or maybe your profile is slightly corrupted, or something else: http://kb.mozillazine.org/Websites_look_wrong
though the links aren't working in either browser. Then again, that could be my security settings, though I don't have that problem with most other sites with links.
carpetrug01
Guest

Post by carpetrug01 »

Okay I made this website in Dreamweaver MX 2004, so I don't think there is anything wrong with the code.


And yes, the border IS set to 2: I know that.

What firefox does, it make a descusting ugly shadow on the border so it looks like a picture frame on a wall if you can imagine that. Internet explorer does what its supose to do -- It just makes the border fatter and use the color that I want it to use.
The way that it looks in the dreamweaver "design mode" is the same way that it looks like in internet explorer -- Firefox is screwing it up!!!

And WHY do i need to type in an ANNOYING code below? OMG it can be something EASY to type like "i like my dog" that would have the same effect omg. These 31Mkf3FC93 codes are REDICULOUS!!! JUST MAKE THEM SIMPLE ITS EASIER!!!!!!!!!!!

OMG AND IF I PRESS PREVIEW, DONT MAKE ME ENTER THE CODE AGAIN!! I OBVIOUSLY AM NOT A ROBOT!!!!!!!
User avatar
skwij
Posts: 663
Joined: April 25th, 2005, 7:42 am
Location: Belleville, ON, Canada

Post by skwij »

carpetrug01 wrote:And WHY do i need to type in an ANNOYING code below? OMG it can be something EASY to type like "i like my dog" that would have the same effect omg. These 31Mkf3FC93 codes are REDICULOUS!!! JUST MAKE THEM SIMPLE ITS EASIER!!!!!!!!!!!

OMG AND IF I PRESS PREVIEW, DONT MAKE ME ENTER THE CODE AGAIN!! I OBVIOUSLY AM NOT A ROBOT!!!!!!!


If you register here, you won't have to enter authentication code, and you'll be able to keep track of your posts by clicking on "My Posts" at the right side of the window here ------->
Intel Mac OS/X 10.4.8, Fx 2.0, TB 1.5.0.8
TabMixPlus
Guest
Guest

Post by Guest »

Your childish behaviour is getting irritating, but I'll post this anyway.

You are relying on one browser's interpretation on how the table borders should be done. Firefox is not IE, it might not display table borders same way as IE. If you want the borders to look same in all browsers, don't use table borders to do it. Use CSS instead.

And as skwij said, register and you don't have to type that verification code. The forum does not know you're not a robot, but by registering you tell it that you are human and it no longer asks for the code.

And finally, calm down.
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Re: Why does Firefox view tables so STUPIDLY??

Post by RobertJ »

carpetrug01 wrote:Okay I made this website in Dreamweaver MX 2004, so I don't think there is anything wrong with the code.


Could be because your source is full of errors. Results of running your source through a syntax checker (Each line is an error - 83 in all)

Code: Select all

source:12:  Element “<script>” requires that the attribute “type” be specified.
source:19:  Document type doesn't permit attribute “marginwidth” within element “<body>”.
source:19:  Document type doesn't permit attribute “marginheight” within element “<body>”.
source:19:  Document type doesn't permit attribute “topmargin” within element “<body>”.
source:19:  Document type doesn't permit attribute “leftmargin” within element “<body>”.
source:20:  Document type doesn't permit attribute “vspace” within element “<table>”.
source:20:  Document type doesn't permit attribute “hspace” within element “<table>”.
source:20:  Value of attribute “bgcolor” for element “<table>” is invalid; Value isn't hex color spec or predefined color.
source:22:  Element “<img>” requires that the attribute “alt” be specified.
source:26:  Element “<body>” implicitly closed here.
source:27:  Element “<img>” requires that the attribute “alt” be specified.
source:28:  Element “<img>” requires that the attribute “alt” be specified.
source:28:  Element “<img>” requires that the attribute “alt” be specified.
source:28:  Element “<img>” requires that the attribute “alt” be specified.
source:29:  Element “<img>” requires that the attribute “alt” be specified.
source:33:  Document type doesn't permit attribute “height” within element “<table>”.
source:33:  Document type doesn't permit attribute “bordercolor” within element “<table>”.
source:36:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:39:  Document type doesn't permit attribute “bordercolor” within element “<td>”.
source:46:  Document type doesn't permit attribute “height” within element “<table>”.
source:46:  Document type doesn't permit attribute “bordercolor” within element “<table>”.
source:48:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:51:  Document type doesn't permit attribute “bordercolor” within element “<td>”.
source:51:  Element “<img>” requires that the attribute “alt” be specified.
source:55:  Document type doesn't permit attribute “bordercolor” within element “<td>”.
source:55:  Element “<textarea>” requires that the attribute “rows” be specified.
source:55:  Element “<textarea>” requires that the attribute “cols” be specified.
source:55:  Document type does not permit element “<a>” in content of element “<textarea>”.
source:55:  Element “<img>” requires that the attribute “alt” be specified.
source:58:  Document type doesn't permit attribute “bordercolor” within element “<td>”.
source:58:  Element “<img>” requires that the attribute “alt” be specified.
source:62:  Document type doesn't permit attribute “bordercolor” within element “<td>”.
source:62:  Element “<textarea>” requires that the attribute “rows” be specified.
source:62:  Element “<textarea>” requires that the attribute “cols” be specified.
source:62:  Document type does not permit element “<a>” in content of element “<textarea>”.
source:62:  Element “<img>” requires that the attribute “alt” be specified.
source:65:  Document type doesn't permit attribute “bordercolor” within element “<td>”.
source:65:  Element “<img>” requires that the attribute “alt” be specified.
source:68:  Document type doesn't permit attribute “bordercolor” within element “<td>”.
source:71:  Element “<textarea>” requires that the attribute “rows” be specified.
source:71:  Element “<textarea>” requires that the attribute “cols” be specified.
source:71:  Document type does not permit element “<a>” in content of element “<textarea>”.
source:71:  Element “<img>” requires that the attribute “alt” be specified.
source:80:  Document type doesn't permit attribute “bordercolor” within element “<table>”.
source:85:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:89:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:92:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:95:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:99:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:102:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:106:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:109:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:112:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:116:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:119:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:123:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:126:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:129:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:133:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:136:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:140:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:143:  Document type doesn't permit attribute “bordercolor” within element “<th>”.
source:172:  Close element “</td>” found but element wasn't open.
source:172:  Close element “</tr>” found but element wasn't open.
source:172:  Close element “</table>” found but element wasn't open.
source:173:  Value of attribute “color” for element “<font>” is invalid; Value must be enclosed in quotes.
source:174:  Close tag for element “</font>” omitted but document type doesn't permit it.
source:174:  Value of attribute “color” for element “<font>” is invalid; Value must be enclosed in quotes.
source:174:  Unencoded entity found; “&” needs to be encoded as “&amp;”.
source:177:  Element “<script>” requires that the attribute “type” be specified.
source:178:  CDATA section terminated unexpectedly. (Hint: In <script> “</” should be escaped as “<\/”.)
source:178:  Close element “</a>” found but element wasn't open.
source:180:  Value of attribute “href” for element “<a>” is invalid; Value must be enclosed in quotes.
source:180:  Close tag for element “</font>” omitted but document type doesn't permit it.
source:181:  Close element “</tr>” found but element wasn't open.
source:181:  Close element “</table>” found but element wasn't open.
source:181:  Element “<script>” requires that the attribute “type” be specified.
source:191:  Close element “</body>” found but element wasn't open.
source:191:  Close element “</html>” found but element wasn't open.
source:172:  Close tag for element “</center>” omitted but document type doesn't permit it.
source:192:  Element “<p>” implicitly closed here.
source:173:  Close tag for element “</font>” omitted but document type doesn't permit it.
source:180:  Close tag for element “</font>” omitted but document type doesn't permit it.
Last edited by RobertJ on January 15th, 2007, 9:53 am, edited 1 time in total.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
Old enrgy21
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old enrgy21 »

All caps is considered yelling and makes others who can help less likely to reply nicely (or not at all).
carpetrug01
Guest

Post by carpetrug01 »

Neopets changes the code when i post it in the the thing, so if you did "page source" then that probably didn't give you the origional code.

Here is the origional code.


Code: Select all

<style>
<style1>
</style>
<body>
<div><img src="http://img.photobucket.com/albums/v160/inck243/baseL.gif" width="99" height="723">
  <div><img src="http://img.photobucket.com/albums/v160/inck243/topleftlogo3.gif" width="155" height="99"><img src="http://img.photobucket.com/albums/v160/inck243/Base.gif" width="565" height="99"><img src="http://img.photobucket.com/albums/v160/inck243/end.gif" width="22" height="99"></div>
  <img src="http://img.photobucket.com/albums/v160/inck243/end2.gif" width="99" height="22"></div>
 <p>&nbsp;</p>
 <div>
   <div>
     <table>
       <tr>
         <th><span>Item Drive </span> </th>
       </tr>
       <tr>
         <td><div>
           <p>Want to earn points for your team, and help out the guild at the same time? Then perticipate in the item drive!</p>
           <p>In order to keep the guild open, we need to cope with our weekly expences such as the 1 np auctions, and other great things that require neopoints to function. </p>
           <p>So, we started the Collection Fund! If you cant afford to donate cash to the guild, you can help by going to places to pick up a free omelette, and jelly, and donate them to us, and you can also donate other small things like Beauty Supplies, Foods, Snowballs, Dung, Etc! All of these items will be sold, and the money will go towards helping the guild grow better! There will be a high scores list, for people who have donated the most, and many prizes and things for the top donators!</p>
           <p>Here are some links to free things that you can donate to the guild:</p>
           <p>| <a href="http://www.neopets.com/faerieland/springs.phtml">Healing Springs</a> | <a href="http://www.neopets.com/prehistoric/omelette.phtml">Omelette</a> | <a href="http://www.neopets.com/island/tombola.phtml">Tombola</a> | <a href="http://www.neopets.com/desert/fruitmachine.phtml">Fruit Machine</a> | | <a href="http://www.neopets.com/desert/shrine.phtml">Coltzan's Shrine</a> | <a href="http://www.neopets.com/water/fishing.phtml">Underwater Fishing</a> | <a href="http://www.neopets.com/medieval/symolhole.phtml">Symol Hole</a> | <span>|</span> | Jelly World | </p>
           <p>So, If you get a booby prize from any of these things, instead of sending it to the giving tree, send it to us! </p>
           <p> Please send all items to</p>
           <p><strong><a href="http://www.neopets.com/randomfriend.phtml?user=billionairedonations">BillionaireDonations</a></strong></p>
           <p>Thank you!!</p>
           <p>&nbsp; </p>
           <p>&nbsp;</p>
         </div></td>
       </tr>
     </table>
     <table>
       <tr>
         <th>Top Donators </th>
       </tr>
       <tr>
         <th>&nbsp;</th>
       </tr>
       <tr>
         <th>&nbsp;</th>
       </tr>
       <tr>
         <th>&nbsp;</th>
       </tr>
       <tr>
         <th>&nbsp;</th>
       </tr>
       <tr>
         <th>&nbsp;</th>
       </tr>
       <tr>
         <th>&nbsp;</th>
       </tr>
       <tr>
         <th>&nbsp;</th>
       </tr>
     </table>
     <p>&nbsp;</p>
   </div>
 </div>
 <div>
   <table>
     <tr>
       <th>Links</th>
     </tr>
     <tr>
       <th>Guild Members</th>
     </tr>
     <tr>
       <th>Membership Banners </th>
     </tr>
     <tr>
       <th>Guild Mall</th>
     </tr>
     <tr>
       <th>Item Raffle</th>
     </tr>
     <tr>
       <th>Petpet Adoption</th>
     </tr>
     <tr>
       <th>1 Neopoint Auctions</th>
     </tr>
     <tr>
       <th>Guild Leadership </th>
     </tr>
     <tr>
       <th>Guild Council </th>
     </tr>
     <tr>
       <th>Sub Council </th>
     </tr>
     <tr>
       <th>Guild Support </th>
     </tr>
     <tr>
       <th>Donations</th>
     </tr>
     <tr>
       <th>Item Drive </th>
     </tr>
     <tr>
       <th>Teams</th>
     </tr>
     <tr>
       <th>Team Homepage </th>
     </tr>
     <tr>
       <th>Team 1 Page </th>
     </tr>
     <tr>
       <th>Team 2 Page</th>
     </tr>
     <tr>
       <th>Team 3 Page </th>
     </tr>
     <tr>
       <th>Team 4 Page </th>
     </tr>
   </table>
 </div>
<p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p>&nbsp; </p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
</body>
</html>
Guest
Guest

Post by Guest »

The forum software seems to have eaten some of your code. But what is the "style1" tag in your style section? I doubt Dreamweaver inserts that code.
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post by RobertJ »

The "original code" only has a few errors; however, the code that FF, IE, Opera, .... render is the source. I don't know what neopets is so I can't comment.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
Guest
Guest

Post by Guest »

No, I had to take the style codes out. Dreamweaver does put style codes in, they keep those codes at the top of the page.

Neopets dosen't allow style codes -- If i put them in there they are converted to normal text saying -no html comments allowed-
So, if i just start at <body> then there is no problem.

The way neopets allows me to build a website is by pasting the HTML that I make in a text area, then pushing submit. then i guess they take that HTML and insert it to a pre-made page that only has stuff like the trademark, all rights reserved -- etc, and one little image at the top that says www.neopets.com

I need to have this on neopets though, beecause it is for my neopets guild, and i need the website to be able to be linked from my homepage and neopets only allows links that go to other neopets pages. so as to prevent porn.
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post by RobertJ »

You likely need to talk/email neopets inasmuch as what their forum generates is very bad code.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
carpetrug01
Guest

Post by carpetrug01 »

Well, it works in internet explorer... it shows how i want it to in internet explorer. firefox makesthe borders have ugly shadows. I dont think its a corrupt code that makes this happen if it works perfectly in Iexplore.
Old enrgy21
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old enrgy21 »

http://www.adobe.com/support/dreamweaver/
Use their search and enter Fx. Some site/webpage builders are designed for IE code, activeX....
Last edited by Old enrgy21 on January 15th, 2007, 11:01 am, edited 1 time in total.
Locked