www.webdeveloper.com
Results 1 to 4 of 4

Thread: Formatting Text in Textarea

  1. #1
    Join Date
    May 2003
    Location
    Chicago
    Posts
    2

    Formatting Text in Textarea

    Is there a way to format the text inside of a textarea tag. I've tried using a CSS style (eg. class="columntype") inside the tag, but it does no good. Any suggestions are much appreciated.

  2. #2
    Join Date
    Dec 2002
    Posts
    34
    To my knowledge, no, there is no way. All a textarea can have is characters and whitespace. What excactly do you need the text formatted for? There might be some alternative.
    :-D

  3. #3
    Join Date
    May 2003
    Location
    Chicago
    Posts
    2

    Text Area Work around

    I'm using a text area box as a work around. I am using it to simulate a scroll box like you would have in Flash, to display scrolling text because of limited space in the design of the web page. I don't want to use Flash in this page because a flash version of the site has also been created. If there is a way of doing scrolling text in html (which I doubt) or even with JavaScript, it would be just what I need.

  4. #4
    Join Date
    Nov 2002
    Location
    Dartmoor [Holiday]
    Posts
    2,382
    You can scroll text using Javascript, though it can cause accessibility issues.

    Check out the scrollers at Dynamic Drive.

    Adam

    P.S. If you use a <div> tag as the containment block for your scroller (I expect some scripts do) you can use normal HTML formatting.
    "If youíre not using valid HTML, then you havenít created a Web page. You may have created something else, but it isnít a Web page." - Joe Clark

    Do something amazing (USA) | Make Poverty History

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles