On 26/06/2009, at 10:36 PM, MEM wrote: >> > A little offtopic: Before IE8 I was having a emulation from MS to > IE6 on > IE7. But now, despite using sites that work with screen shoots, is > there any > other way to test IE6 rendering? What about ie7?
I use a mac so I have several versions of XP running through VMWare, each with their own version of IE. You can also do this under windows (run a virtual machine). There are other solutions such as http://tredosoft.com/Multiple_IE and http://www.sitepoint.com/blogs/2009/03/19/microsoft-superpreview-website-tester/ I've tried the tredosoft one a while back and it was pretty good but there were a couple of instances where things weren't exactly right. I seem to remember some javascript differences. > About the code: > > 1) > On the .dialog class: > do I need this line? > z-index: 1; Or a well structural div hierarchy can deal with it ? I haven't really looked into this. I guess I was assuming that the author had looked into it and that it was necessary. It establishes a stacking context for the divs inside it but you could experiment with removing it. > 2) > On .dialog .content class: > zoom:1; > _overflow-y:hidden; > The zoom:1 is a hack for the haslayout issue on IE I presume, the > underscore > also an hack. > Can I move those to a conditional statement ? Absolutely. That's what I would do. As I said, I just copied his example and modified it. Once you've got it working correctly then you can refine it and tidy things up. > 3) > On .dialog .wrapper class*: > I've commented this line: > text-align: left; > > Nothing changes. What was is propose? Was it there for older browsers? You need to reset to text-align: left on .wrapper because .content is text-align: center and it will inherit from that. Cheers, Tim ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/