Results 1 to 10 of 10

Thread: Navigator text size ?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212

    Lightbulb Navigator text size ?

    Is there a way to know which size is the font of the browser a user is currently using ? (Normal, small, very small, big, huge)
    I need this coz I made a report in an html document but if the user font is too big, it appears all messed up

    Also, is there a way to send a mail byt SMTP via ASP ? Any suggestions ?
    Regards,

    El-Nino

  2. #2
    Addicted Member csammis's Avatar
    Join Date
    Mar 2001
    Location
    /dev/null
    Posts
    226
    Of the top of my head, I don't know of any way.
    However, if you just make your report using tables, or even the <PRE> (PREformatted, preserves spacing and such) tag might work, user font size shouldn't be a problem.
    That's the idea behind things like tables, they create a universal formatting that everyone should be able to see

    Your second question...no idea I don't use ASP or technologies like that
    Things I've Said:
    "Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
    "Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
    "You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212
    ok, thanks

    I'm using tables but it looks awful if fonts are too big (int the table, making cells 3 times as high as they should)
    Anyway, I guess i'm stuck with that...

    And what is this <PRE> you're talking about ? Never used it, so how does it works ?

    Thanks again for the reply csammis !
    Regards,

    El-Nino

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212
    Oh and ignore my 2nd question, i solved it by making an activexdll to send the mail !
    Regards,

    El-Nino

  5. #5
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Why don't you use a style sheet (or at least a style tag) to describe the font size and attributes for the TD tags?
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  6. #6
    Addicted Member csammis's Avatar
    Join Date
    Mar 2001
    Location
    /dev/null
    Posts
    226
    The font tags won't change it if the browser has font size preferences set. On the other hand, a table would change size automagically whatever the font size is and maintain alignment.
    Things I've Said:
    "Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
    "Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
    "You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212
    Ok; problem solved !
    I used style sheet, as suggested, and it works perfect.

    Thanks for everything !
    (So much to learn in so less time)
    Regards,

    El-Nino

  8. #8
    Addicted Member
    Join Date
    Oct 2001
    Location
    Between 2 bosses
    Posts
    210

    Very Late Response

    Email out of asp.

    Look at the CDO NT from microsoft that runs on the NT platform.

    For information on this look at

    http://msdn.microsoft.com/library/de...asp?frame=true

    or

    http://msdn.microsoft.com/library/de...do_roadmap.htm


    Or search for CDO NT at microsoft.com


    Usage Example


    VB Code:
    1. Dim objMail  
    2.      
    3.     Set objMail = Server.CreateObject("CDONTS.NewMail")
    4.  
    5.     ' send to address
    6.     objMail.To = Trim(strTo)      
    7.      
    8.     ' send from address
    9.     objMail.From = Trim(strFrom)
    10.      
    11.     ' subject line
    12.     objMail.Subject = Trim(strSubject)
    13.      
    14.     ' body
    15.     objMail.Body = Trim(strMessage)
    16.  
    17.     ' send the email
    18.     objMail.Send  
    19.      
    20.     ' destroy to object
    21.     Set objMail = Nothing

  9. #9
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    i thought he was talking about font sizes?

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

  10. #10
    Addicted Member
    Join Date
    Oct 2001
    Location
    Between 2 bosses
    Posts
    210
    Here is the original question posed. If you scroll to the top you will notice the 2nd paragraph.


    Is there a way to know which size is the font of the browser a user is currently using ? (Normal, small, very small, big, huge)
    I need this coz I made a report in an html document but if the user font is too big, it appears all messed up

    Also, is there a way to send a mail byt SMTP via ASP ? Any suggestions ?
    ^
    ^^
    ^^^
    |
    |
    |
    ???????????????????????????

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