New Toys

I have proceduralized two new utilities: An HTML Display utility and some page break code.

First:
wou_util.html_help.print_normal_text(ptext varchar2, ppixel_width number);

I have had situations in the past where I’ve accepted text from a textarea (which allows Carriage Returns), then want to display that text normally on a webpage. Well, the carrriage returns don’t render, so it looks like @#%(*&@ . Anyway, I’ve got this procedure working in both IE & FF (I still officially hate FireFox…turd) – with one caveat. You have to pass the width in pixels to get IE to render correctly. Anyway.

Second:
wou_util.html_help.page_break;

This procedure SHOULD produce a page break (not on the screen) but in the printed text. For some reason I could not get it working correctly in FF for me, despite much effort. I think it might be the CSS I’m using. If someone uses it, please let me know if it works for you.

Anyway, spent a good deal of time coding today – hope these utilities might do you some good someday.

Leave a Reply