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 > Why Is My Site Messed Up Under MSIE?

Why Is My Site Messed Up Under MSIE?
Thread Tools
Mac Elite
Join Date: Jan 2003
Location: 127.0.0.1
Status: Offline
Reply With Quote
Sep 12, 2004, 09:18 PM
 
http://homepage.mac.com/jpalmeda/

(Flash/JS required)


I tested the site under Safari, Netscape, Mozilla, Firefox, OmniWeb, and iCab. The site works and behaves like it should. Under Opera, the navigation menus do not work. Under MSIE (PC), all of the text is centered, despite remembering to close all CENTER tags.

iCab came unglued about me using FONT and CENTER tags considering that it should be rendering according to HTML 4.0 standards.

Can someone point out what I'm doing wrong? Keep in mind I coded the template by hand and did not use ANY HTML creating programs.
     
Moderator
Join Date: Mar 2004
Location: Copenhagen
Status: Offline
Reply With Quote
Sep 13, 2004, 12:20 AM
 
The navigation menus work fine in my Opera.

I haven't used tables for a while, but isn't centered the standard alignment in a td, so that you have to set the alignment to left to get it out there?
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Sep 13, 2004, 05:13 AM
 
Originally posted by alphasubzero949:
http://homepage.mac.com/jpalmeda/

(Flash/JS required)


I tested the site under Safari, Netscape, Mozilla, Firefox, OmniWeb, and iCab. The site works and behaves like it should. Under Opera, the navigation menus do not work. Under MSIE (PC), all of the text is centered, despite remembering to close all CENTER tags.

iCab came unglued about me using FONT and CENTER tags considering that it should be rendering according to HTML 4.0 standards.

Can someone point out what I'm doing wrong? Keep in mind I coded the template by hand and did not use ANY HTML creating programs.
There's a lot of syntax errors on the HTML - I'd sort them out first of all before tracking down the centering problem - http://validator.w3.org/

It looks like it may be the < center > tags that are causing the grief. You're already using CSS, so if I were you I'd stick all visual formatting rules in there and get rid of unnecessary markup.
Computer thez nohhh...
     
Mac Elite
Join Date: Jan 2003
Location: 127.0.0.1
Status: Offline
Reply With Quote
Sep 13, 2004, 03:56 PM
 
I sorted a few of the syntax errors. As far as IE centering everything, it turns out it has to do with how IE interprets the CENTER tag in context with tables. IE will center everything regardless of what is in between the CENTER opening and closing tag. Netscape browsers will ignore CENTER within tables.

I simply added an "align" to the TABLE tag (where the main text body is) and produced the same desired results. Hopefully that will now tame IE's rendering.
     
   
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 01:14 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