Welcome to WebmasterWorld Guest from 54.145.44.134

Forum Moderators: incrediBILL

Message Too Old, No Replies

W3C validated page not rendering in Firefox!

IE better than Firefox? Hope not!

     

ajaydand65

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

5+ Year Member



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.

bill

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

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



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.

g1smd

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

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



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.

ajaydand65

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

5+ Year Member



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.

g1smd

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

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



Any reason for using XHTML 1.0 Transitional rather than HTML 4.01 Strict here?

tedster

2:09 am on Jun 5, 2009 (gmt 0)

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



Moving from any transitional doctype to a strict doctype of any flavor can be more work than moving between xhtml and html.

ajaydand65

3:21 am on Jun 5, 2009 (gmt 0)

5+ Year Member



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month