<style type="text/css"> .window_vote { margin: 0 auto; text-align:center; background-color:#f9f9f9; height:100%; text-align:center; } .window_vote fieldset{ margin: 0 auto; text-align:left; font-size:12px; color:#008CBB; background-color:#f9f9f9; border-color:white; color:green; font-family:Sans-Serif; } .window_vote label { display: block;background-color:#f9f9f9; color:red; text-align:left;} </style> Why this do not work in IE?
A> Define 'not work' B> CSS without the HTML is meaningless. C> since you aren't declaring a width on the fieldset, it shouldn't need the margin settings.... You are declaring text-align twice with the same value in .window_vote, and in general height:100% should be doing NOTHING - unless the parent element too has a fixed height and even then... In other words, we'd need more information to see what's ACTUALLY going on here.
I already fixed the problem thanks anyway. the problem wasn't with the CSS... the problem was with that IE , if i load CSS via Ajax, then the new CSS won't load ... so i have to include it before loading new windows. This is not a problem in Firefox