Click to See Complete Forum and Search --> : How to change the text size in IE?
Can
May 4th, 2001, 06:14 PM
I wrote a ASP page that display a report in IE 5.0. I must ask the user to adjust the text size in IE to SMALLEST manually (View ---> Text Size ---> SMALLEST) everytime he prints the report. Is there a way I can adjust the text size in IE thru ASP? Or is there any component I could use in the ASP that I can change it automatically. Thanks!!
hellswraith
May 4th, 2001, 08:55 PM
If your users are using the newer IE, then I would probably use a cascading style sheet to present the content exactly like you want it. If you don't know anything about CCS, then you should have a look at:
http://www.htmlgoodies.com/beyond/css.html
There should be enough information there for you to do what you want.
sail3005
May 4th, 2001, 09:19 PM
Yeah, CSS would definatly be the best bet. What you could do is have an option to change style sheets, and whichever one the user selects will be cookied for them.
Sastraxi
May 5th, 2001, 08:59 PM
Example of what they are saying:
[code]
<STYLE TYPE="text/css">
P {color:#FFFFFF;font-size:9;background-color:#8F0000}
</STYLE>
</code]
Something along those lines will give you smaller font sizes (I just added colour & background-colour as examples for other CSS elements), although I'm not quite sure if font-size is the point value...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.