Forum Stats

  • 3,825,929 Users
  • 2,260,581 Discussions


how to center text of table in report oracle html

User_Q6JRK Member Posts: 44 Blue Ribbon

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!