Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2002
    Location
    Virginia
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question measuring width of variable fonts ?

    ... building a form where a "user" can enter info/text into a specific form field, the output (similar to a forum) would place a certain amount of text from their "story" onto a page. This page would house the abbreviated/truncated summary of their story with it linking to the complete and unabbreviated story: "more ...."

    QUESTION: I am using Verdana (variable font) with a 10px sizing ... How can I measure the width of a variable font so that I can determine a size limit for a form field?

    Thanks for your assistance, and please don't hesitate to forward me to someone or forum that be able to handle this issue.

    Des

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could probably edit this:

    http://www.angelfire.com/mo2/cbch21/...ontCheck3.html

    **I think this topic belongs in the JS forum...
    Last edited by Quiet Storm; 04-08-2003 at 10:13 PM.
    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·

  • #3
    New Coder
    Join Date
    Jun 2002
    Location
    Virginia
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Thanks "Qstorm" ... I will play and see.

    It's amazing how "simple" this is ... if you get a chance can you explain the code as to its functionality?

    ps--you're right this probably does go with the JS forum ... just wasn't sure how this fit -- whether basic design or pure coding.

    Thanks Much!
    Des


  •  

    Posting Permissions

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