Oracle EBS:html报表格式控制CSS
--格式1
'<style type="text/css">' || '<-- $header: porstyl2.css 115.9 2011/02/21 09:21:42 DFLEE ship ${ }' || '<!--' || ' body {background-color: #ffffff;}' || ' .subheader1 {font-family: Arial, Helvetica, Geneva, sans-serif;' || ' font-size: 13pt;' || ' font-weight: bold;' || ' color: #336699;}' || ' .subheader2 {font-family: Arial, Helvetica, Geneva, sans-serif;' || ' font-size: 10pt;' || ' font-weight: bold;' || ' color: #336699;}' || ' .tableheader {font-family: Arial, Helvetica, Geneva, sans-serif;' || ' font-size: 10pt;' || ' font-weight: bold;' || ' background: #E0ECF8;' || ' color: #336699;' || ' text-align: center;}' || ' .tabledata {font-family: Arial, Helvetica, Geneva, sans-serif;' || ' font-size: 9pt;' || ' background: #EFF5FB;' || ' color: #000000;' || ' mso-number-format: "\@"}' || ' .tablenumber {font-family: Arial, Helvetica, Geneva, sans-serif;' || ' font-size: 9pt;' || ' background: #EFF5FB;' || ' color: #000000;' || ' text-align: right}' || ' .tablenum002 {font-family: Arial, Helvetica, Geneva, sans-serif;' || ' font-size: 9pt;' || ' background: #EFF5FB;' || ' color: #000000;' || ' text-align: right;' || ' mso-number-format: "0\.0000";}' || ' .footer {font-family: Arial, Helvetica, Geneva, sans-serif;' || ' font-size: 10pt;' || ' font-weight: bold;' || ' color: #336699;}' || '-->' || '</style>';
--格式2
cux_avic_conc_utl.out_msg('<html>'); cux_avic_conc_utl.out_msg('<head>'); cux_avic_conc_utl.out_msg('<meta http-equiv="Content-Type" content="text/html;charset=' || l_client_charset || '">'); cux_avic_conc_utl.out_msg('<title></title>'); cux_avic_conc_utl.out_msg('<style type="text/css" media="all">'); cux_avic_conc_utl.out_msg('body,table{font-size:13px;font-family:"Book Antiqua","Segoe UI", Tahoma, "Trebuchet MS", verdana, helvetica, arial, sans-serif, Georgia;} TH{border:1px solid gray;padding:2px;font-weight:bold;} TD{border:1px solid gray;padding:2px;} #table_margin{margin-left:50px;} .default_text {mso-number-format:"\@";}; .num {mso-number-format:"\#\,\#\#0\.00_ \;\[Red\]\\-\#\,\#\#0\.00\\ ";}; .num_jpy {mso-number-format:"\#\,\#\#0\ \;\[Red\]\\-\#\,\#\#0\ ";}; .percent {mso-number-format:Percent;}; .percent1 {font-style:italic; text-decoration:underline; text-underline-style:single; mso-number-format:Percent;}'); cux_avic_conc_utl.out_msg('</style>'); cux_avic_conc_utl.out_msg('</head>');