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

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -