Changing The Font Size For HTML objects

Results 1 to 3 of 3

Thread: Changing The Font Size For HTML objects

  1. #1
    Vipul Desai Guest

    Default Changing The Font Size For HTML objects

    I was wondering if anyone can help me out about changing the <BR>font-size within HTML Select Boxes and in Text Boxes. The example that I am using does not work.<BR><BR><BR>&#060;Select name = "txtSelMonday"&#062;<BR> &#060;Option size = "4pt" Value = "Citalopram"&#062; Citalopram<BR> &#060;Option size = "4pt" Value = "Physostigmine"&#062; Physostigmine<BR> &#060;Option size = "4pt" Value = "Programming"&#062; Programming<BR>&#060;/Select&#062;

  2. #2
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: Changing The Font Size For HTML objects

    You&#039ve got to use style sheets. This only works with certain browsers. Something like:<BR><BR>&#060;OPTION STYLE="font-size:9pt;" ...&#062;<BR>

  3. #3
    Chris Holmes Guest

    Default RE: Changing The Font Size For HTML objects

    Using styles is the only way that I know of to change the default font size and font family for any HTML controls.<BR><BR>Example:<BR><BR>&#060;option style="font-size:10pt; color: blue; font: Tahoma"&#062;Tahoma is cool&#060;/option&#062;

Posting Permissions

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