Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to center text of table in report oracle html

Luis AlvaraezNov 5 2021

I'm generating a html report from oracle. I have these instructions:

....

set feed off
spool on
set markup html on spool on entmap off -
        table 'width=99% border=3 bordercolor=red bgcolor=white text-align=center font=Arial'

ttitle center '<SPAN STYLE=\"fond-weight: bold; font-size:24px; font-family: Calibri;\">$datacenter</span>' skip 1 -
center '<SPAN STYLE=\"fond-weight: bold; font-size:24px; font-family: Calibri;\">EXAMPLE REPORT</span>' skip 4

btitle center '<span style=\"background-color:#c90421;color:#ffffff;border:1px solid black; font-family: Calibri;\">CONFIDENTIAL</span>'

column SERVER format a20 heading \"DATA\"
.........

I'm trying to center de cell content but not working. How could I achieve the data content of the cell are in the center? Thanks and sorry for my English!

Comments
Post Details
Added on Nov 5 2021
1 comment
401 views