textbox width

Results 1 to 2 of 2

Thread: textbox width

  1. #1
    Join Date
    Dec 1969

    Default textbox width

    whats the equivalent of a pixel or point for width of a textbox. suppose I have maxlength=10 then how do I calculate its width as the textbox is created dynamically

  2. #2
    Join Date
    Dec 1969

    Default RE: textbox width

    there wont be any surefire way to say "one character" = "so many pixels", because font is 100% totally over ridable at the browser level (beyond your reach of code)....<BR><BR>i just always do my "best guess" with textbox width and hope for the best :)<BR>

Posting Permissions

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