In particular it's about the differences between IE 6 and FF (I don't have IE 7 so I can say for it); you see, on the "intro.html" page on one particular site-variant of mine hosted on the Atspace free-host: http://ivan-tadej.atspace.com/intro.html I have a "list of graphics/banners" at the top and at the bottom. But the problem is that as it is now, they align diametrically differently in IE 6 and FF, i.e. one code works OK in IE but not in FF and reverse, the other code works OK in FF but not in IE. The code that works in IE is the following: the list of graphics being inside div class "seven1": width: 760px; (this was the only value that worked back then with old layout; see here: http://shirker.freehost386.com/intro.html; and btw. it doesn't work in FF even if I put the graphics inside addtitional div "align": text-align: center; class) The code that works in FF is the following: the list of graphics being inside div class "eight": width: 800px; (and similarly it doesn't work in IE even if I put the graphics inside addtitional div "align": text-align: center; class) Any idea on what am I missing for this to work correctly?? P.S. - My now main site-variant: http://tadej-ivan.50webs.com/ doesn't have this "list of graphics/banners" on these pages anymore, but I would like to have those set correctly anyway. tayiper
You have this, which is forbidden in html (which is what you're serving): <?xml version='1.0' encoding='windows-1250' standalone='yes'?> That kicks IE6 into quirks mode where it follows a non-standard set of rules. Get rid of it. You also have this, <meta http-equiv="content-type" content= "text/html; charset=utf-8" /> which contradicts the xml declaration's encoding. You appear to be using the windows proprietary character set which means you should configure your editor for utf-8, or change your content-type charset to windows-1250. I would favor using utf-8. cheers, gary
Thanks for the reply kk5st to you too, but hmmm, I am really not sure where exactly you got that <meta http-equiv="content-type" content="text/html; charset=utf-8" /> line, i.e. I just checked the source of all my site-variants (even the oldest ones, but especially of thise two linked in the above/initial post), and surely all have this <meta http-equiv="content-type" content="text/html; charset=windows-1250" /> in the header instead. tayiper
You're right, my bad. Your compacted formatting is so hard to read (why in hell are you doing that?), that I ran the source through Tidy to give it a sane formatting. My Tidy is configured to convert to utf-8, xhtml 1.0 strict, and it emends the DTD and http-equiv to match. I didn't think of that when I pasted to the post. You must, though, get rid of the xml declaration, and anything else that precedes the DTD. Else, IE cannot be made sane. cheers, gary
You are causing many of the differences yourself by refusing to remove the xml declaration. Yes, you can hack, patch or work around those differences, but why not remove some of them the correct way? It's up to you. You can founder about, glossing over your own errors, or you can learn to do things properly from the get-go. Doing things correctly won't fix all the IE stupidities, but it will eliminate the ones you're causing. gary