Welcome to WebmasterWorld Guest from 23.20.239.237

Forum Moderators: incrediBILL

Message Too Old, No Replies

W3C validated page not rendering in Firefox!

IE better than Firefox? Hope not!

     
10:44 am on Jan 31, 2009 (gmt 0)

New User

5+ Year Member

joined:Jan 31, 2009
posts: 4
votes: 0


Hi,

I am relative newbie at web-design. I'm trying to create a small web-site using XHTML 1.0 - Transitional DOCTYPE. Both the XHTML page & the CSS validates at the W3C Validator site. However, I can see the page rendered fairly well in IE7, but the same won't render in Firefox 3.0.5! This is kinda strange, and I've been pulling my hairs since the last few hours figuring out why? Any pointers would help. I can post the page & the CSS file, if needed. Thanks for any help in advance.

Ajay.

11:11 am on Jan 31, 2009 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:14652
votes: 65


Welcome to WebmasterWorld ajaydand65.

Posting a URL to your site would not be acceptable, but you could certainly post code snippets (use example.com instead of real URLs). You could probably start at the part of the page that isn't displaying properly.

11:17 am on Feb 6, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Get the Firebug extension. Use the HTML tab to traverse the tag tree. Look in the box on the right to see which CSS properties are being applied to that element. It's a revelation.

Usually it's a problem with forgetting to add

position:relative
to my floats, and/or forgetting
clear:both
somewhere along the way.

Other times it is an incorrect margin or something, and most times it is the margin on a parent element, not the margin on the element that appears to be mis-aligned.

8:53 am on Feb 7, 2009 (gmt 0)

New User

5+ Year Member

joined:Jan 31, 2009
posts:4
votes: 0


Hi,

Thanks for all the helpful tips. The issue is resolved for now. It turned out that my favorite editor used to save pages in non-ANSI, non-UTF8 charset, which somehow IE didn't mind, but FF did! On correction, things got working fine.

Ajay.

11:31 pm on June 4, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Any reason for using XHTML 1.0 Transitional rather than HTML 4.01 Strict here?
2:09 am on June 5, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Moving from any transitional doctype to a strict doctype of any flavor can be more work than moving between xhtml and html.
3:21 am on June 5, 2009 (gmt 0)

New User

5+ Year Member

joined:Jan 31, 2009
posts:4
votes: 0


Thanks for the suggestions. Well, as I said, I'm still a newbie. :-p I just wanted to dabble with XHTML, and my favorite editor's template used the transitional doctype, hence it stuck.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members