homepage Welcome to WebmasterWorld Guest from 23.21.9.44
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

    
W3C validated page not rendering in Firefox!
IE better than Firefox? Hope not!
ajaydand65




msg:3838876
 10:44 am on Jan 31, 2009 (gmt 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.

 

bill




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

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




msg:3843654
 11:17 am on Feb 6, 2009 (gmt 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.

ajaydand65




msg:3844334
 8:53 am on Feb 7, 2009 (gmt 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.

g1smd




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

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

tedster




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

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

ajaydand65




msg:3926998
 3:21 am on Jun 5, 2009 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved