Apache OpenOffice (AOO) Bugzilla – Issue 47291
text-align in STYLE against in BODY
Last modified: 2013-08-07 14:38:26 UTC
I modified a HTML page with OpenOffice 2.0 beta. My text is centered in the viewer mode with OpenOffice, but not with Internet Explorer and Firefox. In the code, I saw 2 new lines in the STYLE part: TD P { text-align: justify } P { text-align: justify } Officialy, in OpenOffice, the text is centered and looks centered. How can I see it centered using Internet Explorer and/or Firefox ? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <STYLE> <!-- @page { size: 21cm 29.7cm } TD P { text-align: justify } P { text-align: justify } --> </STYLE> </HEAD> <BODY > <P ALIGN=CENTER>Hello</P> </BODY> </HTML>
Reassigned to ES.
ES->DVO: does the CSS definition override HTML statement in Browsers. This does not happen when using <P style="text-align:center">
Reset assignee on issues not touched by assignee in more than 2000 days.