sjwhiting
05-29-2008, 12:57 PM
Hi all,
This may be doable with other types of code, but I figured I'd start here. I have a converter that we use to convert a txt file to html. In order to convert correctly, the convert must use a good many <PRE> tags to preserve text alignment, etc.
Once the HTML file is created, in most resolutions we use, the file is about 5 columns to wide, and therefore makes the screen scroll. The simple solution is to change the zoom level in IE7 to 98% and bingo.
What I'd like to do is set that % when the page loads so the user doesn't have to. Is that possible?
I tried CSS with the following, but it didn't work. I know my css file works bc I can successfully change the colors, etc.
pre {zoom: 98%} was the css I tried for the pre tag, but nothing changed.
Any ideas would be greatly appreciated. I would prefer to do this via CSS if possible.
Thanks,
Shannon
This may be doable with other types of code, but I figured I'd start here. I have a converter that we use to convert a txt file to html. In order to convert correctly, the convert must use a good many <PRE> tags to preserve text alignment, etc.
Once the HTML file is created, in most resolutions we use, the file is about 5 columns to wide, and therefore makes the screen scroll. The simple solution is to change the zoom level in IE7 to 98% and bingo.
What I'd like to do is set that % when the page loads so the user doesn't have to. Is that possible?
I tried CSS with the following, but it didn't work. I know my css file works bc I can successfully change the colors, etc.
pre {zoom: 98%} was the css I tried for the pre tag, but nothing changed.
Any ideas would be greatly appreciated. I would prefer to do this via CSS if possible.
Thanks,
Shannon