Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Sqlplus and HTML

Re: Sqlplus and HTML

From: Bricklen Anderson <BAnderson_at_PresiNET.com>
Date: Fri, 02 Jan 2004 12:09:24 -0800
Message-ID: <F001.005DB84F.20040102120924@fatcity.com>


Browett, Darren wrote:

> Happy new year to all !.
>
> I am trying to create some html reports using set markup html, and have
> one question,
> when doing a select col1,col2 from some_table, I would like the field
> names to be a
> different colour/shade.
>
> Is that possible doing style sheets. I did find some doc's that showed
> the fields names being
> shaded, but they didn't show how to do it.
>
> Any code or links would be appreciated.
>
> Thanks

Edit the following:

SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON - HEAD '<TITLE>page title</TITLE> -
<STYLE type="text/css"> -

   BODY {background: white} -
   TH {background: green} -
   TD {background: yellow} -
</STYLE>' -
BODY 'TEXT="black"' -
TABLE 'WIDTH="95%" BORDER="2"' add the usual css attributes as needed etc

hth

-- 
Bricklen Anderson, Database Administrator
PresiNET Systems
http://www.PresiNET.com
Live Demo: https://www.presinet.com/secure/login
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Bricklen Anderson
  INET: BAnderson_at_PresiNET.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Jan 02 2004 - 14:09:24 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US