acrooks Posted September 23, 2009 Share Posted September 23, 2009 Hi thereHave just finished a self-built website and all seems ok except one page renders properly uner IE 8 but not under Firefox 2.0.0.14 - all pages have the same "div" structure and all render fine in both browsers except this one.I've done a walk through and just can't suss it - anyone interested in having a look?The URL of the problem page is http://www.theturningpagebookshop.com.au/Contacts.htmlWould be greatly appreciatedAlan C Link to comment Share on other sites More sharing options...
Ingolme Posted September 23, 2009 Share Posted September 23, 2009 Your page has 120 errors. The reason it works in Internet Explorer is probably because it's taking advantage of bugs in the rendering engine.Here's is the validation of your page: [W3C Validation]Most likely the problem that's affecting the design the most is this unclosed <div> tag: <h1><div align="center">Who We Are</h1> Link to comment Share on other sites More sharing options...
acrooks Posted September 23, 2009 Author Share Posted September 23, 2009 Thanks a lot - the last time I wrote html was 10 years ago - obviously a bit of homework to do!If I fix the errors will IE8 continue to work ok?Alan C Your page has 120 errors. The reason it works in Internet Explorer is probably because it's taking advantage of bugs in the rendering engine.Here's is the validation of your page: [W3C Validation]Most likely the problem that's affecting the design the most is this unclosed <div> tag:<h1><div align="center">Who We Are</h1> Link to comment Share on other sites More sharing options...
Synook Posted September 23, 2009 Share Posted September 23, 2009 Maybe not, but it'd be easier to fix than trying to hack the bugs to work in FF. Link to comment Share on other sites More sharing options...
Kaboraya Posted September 28, 2009 Share Posted September 28, 2009 As per testing concern, always i found problems in design and some java script errors in Internet explores in my web application, which works well in mozilla.I.E. is more error prone. Link to comment Share on other sites More sharing options...
dsonesuk Posted September 28, 2009 Share Posted September 28, 2009 Most likely the problem that's affecting the design the most is this unclosed <div> tag:<h1><div align="center">Who We Are</h1> putting in a closing </div> still! won't make it validate, as you would have a block element inside a inline element, which is not allowed. Link to comment Share on other sites More sharing options...
Ingolme Posted September 28, 2009 Share Posted September 28, 2009 putting in a closing </div> still! won't make it validate, as you would have a block element inside a inline element, which is not allowed.But <h1> is a block element, though yes, the <div> wouldn't be allowed in it, but for other reasons. Link to comment Share on other sites More sharing options...
dsonesuk Posted September 29, 2009 Share Posted September 29, 2009 yea! you are right, a div block element can contain other block elements, as well as inline, whereas headings, paragraphs cannot. Link to comment Share on other sites More sharing options...
acrooks Posted September 29, 2009 Author Share Posted September 29, 2009 yea! you are right, a div block element can contain other block elements, as well as inline, whereas headings, paragraphs cannot.thanks all - have now reviewed all code and got a pass on each page from the validator Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.