What I DO know is that:
- I actually created my test code by writing a PL/SQL Server Page, used LoadPSP to put it into the database as a stored procedure. Running the stored procedure in SQL Developer with the OWA_OUTPUT window open (BTW, if you do much with the Web Toolkit, this is GREAT) got my HTML correct. Then I edited the procedure, changed all calls to HTP.prn to calls to DBMS_OUTPUT.PUT, plus added a DBMS_OUTPUT.PUT_LINE('') to the end. Then you can run it with the DBMS_OUTPUT window open. The same HTML is output.
- It works to then create a SQL Developer report with the type as DBMS_OUTPUT, and the SQL Query as "BEGIN my_report_procedure; END;".
- But my HTML includes a <style>...</style> inside <head>...</head> which is ignored.
Of course, I COULD try adding the "style" attribute to my elements, instead of relying on a "class" attribute to apply my styling. Or I could using the styling attributes like "border" on my elements - HTML 3-like.
I'll wait a day or so to see if anyone has better suggestions, then I'll mark this as answered.