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 4 of 4
  1. #1
    New Coder
    Join Date
    Feb 2008
    Posts
    50
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Changing text within a <textarea>

    Okay, i been looking around trying to find out what i could do to change the text within a <textarea> code from an external file. Can anyone explain to me how i could make it be able to do so? Can you also show a sample code that will work?

  • #2
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    I don't know what you're asking. What are you trying to achieve?
    Forget style. Code to semantics. Seperate style from structure, and structure from behaviour.
    I code to specs, and test only in Firefox (unless stated otherwise).

  • #3
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,179
    Thanks
    174
    Thanked 257 Times in 257 Posts
    try this, not sure it would work, i dont try and mess with textarea's:

    Code:
    html textarea {
    font-family:/*whatever type of font you want*/;
    font-size:14px;
    color:black;
    }
    see if that will work, hope it does!!

  • Users who have thanked jcdevelopment for this post:

    13lue (02-17-2008)

  • #4
    New Coder
    Join Date
    Feb 2008
    Posts
    50
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thanks that will work.


  •  

    Posting Permissions

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