Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Safari won't render a table correctly

Safari won't render a table correctly
Thread Tools
Mac Enthusiast
Join Date: Sep 2004
Status: Offline
Reply With Quote
Feb 1, 2006, 06:18 PM
 
Hey all,
I'm having a problem with a webpage I'm developing. I have the logo in the top row of a table on the page, and Safari puts the logo on the very bottom of the page. For the life of me, I can't figure out what's going on. IE, and Firefox both display the page properly. Any clues on how to fix it, or at least what's causing it?

For what it's worth, I'm forced to use FrontPage to develop this thing, because the school won't shell out the money for anything else.

The page is at http://sunflower.wichita.edu

I'd greatly appreciate ANY advice as to what's causing this to render incorrectly in Safari. Thanks!
     
tRr
Dedicated MacNNer
Join Date: Aug 2002
Location: Toronto
Status: Offline
Reply With Quote
Feb 1, 2006, 10:18 PM
 
Hey,

I don't have time to go over your page too finely... but if you add a closing </table> to line 44 the site header moves up to the top. That table could have well closed itself later on, I don't have time to go through it. I ain't no HTML god, but I'm pretty sure your not suppose to wrap certain elements inside each-other (Frontpage first created a table within a <div>, than closed the div without closing the table). I'm aware it's not you making these decisions, or if you know what this means, but that was the first thing I found, and it seems to have done the trick.

If you can use a development environment, odds are you can do it by hand, and much better, it just takes time. I learned by watching the output of Claris Homepage and if you don't know anything about HTML just playing around at home with TextWrangler and Safari can teach you everything.

I know you might be forced into using FrontPage and just want a quick fix. So if your looking for that, the one above seems to do the trick.
     
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Feb 1, 2006, 10:40 PM
 
http://validator.w3.org/check?uri=ht...doctype=Inline
I ran it though that and i think this is your problem
Error Line 46 column 5: end tag for "TABLE" omitted, but its declaration does not permit this.
</div>
You forgot to close a tag, or
you used something inside this tag that was not allowed, and the validator is complaining that the tag should be closed before such content can be allowed.
The next message, "start tag was here" points to the particular instance of the tag in question); the positional indicator points to where the validator expected you to close the tag.
this is how you have the code
Code:
</table> </td> </tr> <br> </div> <div align="center">
try adding another </table> after that tr
Code:
</table> </td> </tr> </table> <br /> </div> <div align="center">
That should work now. I tested it in Dreamweaver and it worked correctly.
     
Mac Enthusiast
Join Date: Sep 2004
Status: Offline
Reply With Quote
Feb 2, 2006, 09:58 PM
 
Thanks for the help folks! That fixed it right up!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:27 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2