Forum Moderators: open
When the next beta is out, I'll do the testing and see if there's a general set of rules or changes to practice which will bring consistent results in IE7, IE8, Opera and Firefox. Hopefully, many of the other members here will post their results and we can collaborate in cracking this new challenge.
I have XP so it treated it as a new program, so I removed it, and IE went back to IE7. I think I will wait until the betas are done and then try it out again.
I didn't take a long look at the reasons for the layout problems in IE 8, but my guess is that it's not calculating padding or negative margins properly. Dunno, just my guess based on a quick glance at the page's CSS.
I can't say I'm impressed by IE7 at all. I'll take another look when they ship the next beta and hope Microsoft can pull it together a bit more. If not it might be yet another version that will need to have separate style sheets with conditional 'if IE 8' tags. That's pretty disappointing considering one of the sites it mangled was one of mine, and no conditional CSS was needed for IE 7, just 6 and below.
As Henry0 wrote:
IE behaving as #8
<meta http-equiv="X-UA-Compatible" content="IE=8" />
OR
you may still force it behaving as #7
<meta http-equiv="X-UA-Compatible" content="IE=7" />
I want to add that quirks mode is triggered by:
<meta http-equiv="X-UA-Compatible" content="IE=5" />
Time to brush up on IE's conditional comments, too. Soon, three different IE browsers will have to be accomodated - IE6,7 and 8.
sniff, sniff, sniff
The Good: My site uses CSS1 liquid layouts that when rendered correctly are pixel-perfect. For example the content and sidebar have a width ratio of 80/20 (I think offhand). Inside the sidebar the child divisible and form elements have a 1px border and then 1px of "padding" that is really the margin of next-child elements. Eventually you get to form inputs and buttons which I render as block-level elements. I'm very happy to say that IE8B1 perfectly renders my super-strict super-standards compliant layout. I think I had to add a clear property to a div element on my homepage.
The Bad: Since my site uses a large number of selectors IE8B1 allows interaction with my website at a very reduced speed, as if you were on a Pentium 2 with 16MB of RAM, heavily infected with spyware, while running Windows Vista. Yeah I know slightly an overstatement, but only slight. ;)
Obviously they will get around to fixing this.
The Ugly: We will most likely not see application/xhtml, SVG, and/or any useful CSS3 support added. So essentially it will still come in fourth place after Opera as far as support for useful features.
- John