|
Posted by Blinky the Shark on 10/01/05 07:10
Jud McCranie wrote:
>>OK, then what is the best way to have fixed-width text, with a
>>parameter telling the width of the line (so the browser can adjust the
>>size to get wide lines all on the screen)? ---
>
> I should explain what I'm doing. I'm trying to make a program
> generate HTML output for its reports. They all need fixed-width
> fonts. Some of the reports range from 75 to 132 characters wide. I
> want the recipient of the HTML file to be able to view the file
> without any horizontal scrolling, and also to have it nearly fill the
> width of the screen, no matter what screen resolution the recipient
> has, etc. I've found out about setting the font size in <P style
> ...>, but I don't know how to make it be the appropriate size. (<pre>
> is listed as depreciated, but I don't know what replaces it.)
I believe the width attribute was shown as deprecated, not the pre
element.
Aren't you really just looking for normal paragraphs or divs that
contain fixed-pitch fonts? So far, I haven't seen you describe anything
that that wouldn't deliver.
What's the URL?
--
Blinky Linux Registered User 297263
Killing All Posts from GG: http://blinkynet.net/comp/uip5.html
Navigation:
[Reply to this message]
|