Wotan318 Posted December 4, 2009 Share Posted December 4, 2009 I have with IE6 on my website.For some reason the background is putted down in IE6 (background square, two light lines, must be between image teaser). The website is http://www.mrgole.net/EDsolution_typo .It only works if I delet the menu and the image teaser (in html), but thats not the solution. I tryed changing the css of menu and teaser, even when I deleted was the same. In html coords the image height is 177px, but the background is putted down for 116px and when I deleted the menu from html it was the same.Any suggestion?p.s. I didn't correct the css for IE7 and IE8 yet and the speed of webpage is not optimize. Link to comment Share on other sites More sharing options...
thescientist Posted December 4, 2009 Share Posted December 4, 2009 your page doesn't validate, and some of the errors are because you used multiple id's within the same page, mismatched tags, and quite a few parsing errors. I would try getting your page to validate, focusing more on accommodating modern browsers like FF, IE7/8 and then tweak or add conditional statements for IE6. I'm sure if these errors are making current pages wonky in modern day browsers, IE6 isn't going to behave any better. Also, your source code was dizzying... hah.edit: same goes for your css as far as validating.and you have so many stylesheets im not sure where to begin looking for the background image styling info. Link to comment Share on other sites More sharing options...
Wotan318 Posted December 4, 2009 Author Share Posted December 4, 2009 As I said I didn't correct the css for IE7 and IE8...The source code is dizzy because i'm using CMS and he is making the code dizzy not me Link to comment Share on other sites More sharing options...
thescientist Posted December 4, 2009 Share Posted December 4, 2009 I know its not you, I could tell that it was CMS generated. My only point was it seems more practical to optimize for IE7/8, FF, etc and then add backwards compatibility. IE freaks out when pages don't validate. Where is your background image being declared anyway? Link to comment Share on other sites More sharing options...
Wotan318 Posted December 4, 2009 Author Share Posted December 4, 2009 I'm used to go from IE6 to IE8, I was trained that way.The background image is declared in div #main-container the first div. Link to comment Share on other sites More sharing options...
thescientist Posted December 4, 2009 Share Posted December 4, 2009 Ok, I found it. It's being declared in your CSS file: styles.css. Things seem OK, but with so much going on that source code, all those conditional statements, javascript, etc and formatting, it's really hard to see what's going on. The only thing I can recommend through is get out of the developing for IE6 first mindset. Develop for something that's actually standards compliant. Looking at the facts about IE6: a) it's about 8 years old:) Microsoft has dropped support for itc) not very many people use it anymoreClearing up the errors might provide more consistency which might trickle down and resolve IE6 bugs. Anyway, maybe someone around here will be able to provide more light. The only thing I can think of trying is to use the universal selector (*) to set all page elements to have no padding and margins, and then set them explicitly one-by-one. Link to comment Share on other sites More sharing options...
Wotan318 Posted December 4, 2009 Author Share Posted December 4, 2009 OK here is the clean version of html, no more dizzy code http://www.mrgole.net/test Link to comment Share on other sites More sharing options...
thescientist Posted December 5, 2009 Share Posted December 5, 2009 Clearing up the errors might provide more consistency which might trickle down and resolve IE6 bugs. Anyway, maybe someone around here will be able to provide more light. The only thing I can think of trying is to use the universal selector (*) to set all page elements to have no padding and margins, and then set them explicitly one-by-one.i actually think you have more errors now. Link to comment Share on other sites More sharing options...
Wotan318 Posted December 5, 2009 Author Share Posted December 5, 2009 OK I fixed to error 28, I don't know how to fix parsing and menu error (it just must be that way, otherway doesn't work) Link to comment Share on other sites More sharing options...
thescientist Posted December 5, 2009 Share Posted December 5, 2009 did you just change the DTD? Link to comment Share on other sites More sharing options...
Wotan318 Posted December 6, 2009 Author Share Posted December 6, 2009 yes, but i think i put it back Link to comment Share on other sites More sharing options...
Wotan318 Posted December 6, 2009 Author Share Posted December 6, 2009 There is something wrong with div "teaser" width: If I delete the width background jump up Link to comment Share on other sites More sharing options...
thescientist Posted December 7, 2009 Share Posted December 7, 2009 a strict DTD and no errors should be the base starting point for all people, imho. Link to comment Share on other sites More sharing options...
roundcorners Posted December 9, 2009 Share Posted December 9, 2009 Ok, I found it. It's being declared in your CSS file: styles.css. Things seem OK, but with so much going on that source code, all those conditional statements, javascript, etc and formatting, it's really hard to see what's going on. The only thing I can recommend through is get out of the developing for IE6 first mindset. Develop for something that's actually standards compliant. Looking at the facts about IE6: a) it's about 8 years old:) Microsoft has dropped support for itc) not very many people use it anymoreClearing up the errors might provide more consistency which might trickle down and resolve IE6 bugs. Anyway, maybe someone around here will be able to provide more light. The only thing I can think of trying is to use the universal selector (*) to set all page elements to have no padding and margins, and then set them explicitly one-by-one.Poins a and b are correct, but unfortunately, if you work for a large, sluggish company, may of yuor internal business customers are still using IE6, in fact due to security lock downs, in many circumstances, IE6 is the only browser they are allowed to use. Worse still, in this case, browsers will not be upgraded any time soon. It's not quite time to drop support for IE6 Link to comment Share on other sites More sharing options...
thescientist Posted December 9, 2009 Share Posted December 9, 2009 I only suggested don't develop for it first; which is what the OP was doing. Link to comment Share on other sites More sharing options...
Synook Posted December 11, 2009 Share Posted December 11, 2009 If you are creating an intranet site for a company that uses IE6, design and test for IE6. If not, design for the standard complaint browsers first. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.