Jquery UI Dialog ... CSS in IE doesn't work like FF etc -
if write html jquery ui dialog box naturally centred. add div , use css ...
#printreport { text-align: left; font-family: tahoma; font-size: 12px; width: 880px; }
... , then
$("#printreport").empty().append(results);
to put text on page - , want in ff/chrome etc (left justified) ... in ie (v7 , v8) text still centred.
am missing something? thanks
i assuming of parent div's set centered, eiter using deprecated tag or doing like:
margin: 0 auto
in order make work should this:
body { text-align: center } #printreport { width: 880px; margin: 0 auto; text-align: left }
hope helps.
Comments
Post a Comment