I know that IE is impossible sometime. I have 6 divs aligned to the right, using float. Here is the code: http://jsfiddle.net/jcay3/1/. The problem is, in IE it is below the bar, which it should be positioned into.
Is there any solution? I heard a lot of devs talking about comments especially for IE. Would they solve the issue? I tried it in the compatibility mode (IE9). What if in IE 6 it is rendered correctly and in IE 7 wrong? Should I add the special code only for IE 7? Or there isn’t such a risk?
Is there any other solution? A simpler one? Thank you
Your problem is the img tag.
If you get rid of it, the divs will be where they belong.
Put the img in a div if you can.