Results 1 to 4 of 4

Thread: How to change the text size in IE?

  1. #1
    Can
    Guest

    How to change the text size in IE?

    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!!

  2. #2
    hellswraith
    Guest
    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.

  3. #3
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    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.

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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...
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width