Results 1 to 4 of 4

Thread: How do you add HTML to a textarea?

  1. #1
    Join Date
    Sep 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How do you add HTML to a textarea?

    I am using dreamweaver and added a textarea to the center of my site. I want to add html to this textarea, how do i do that? I cannot figure out how to enable it.

    If this is not possible, what are some work arounds?

  2. #2
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    what do you want to put in it?

    I'm no html expert, but I don't think you can have functioning code inside the box, only outside of it.

    I mean, you could format the box. e.g

    Code:
    <textarea style="color: white; background-color: black; border:none" cols="75" rows="10">
    some text some text some text some text some text some text some text some text 
    some text some text some text some text some text some text some text some text 
    some text some text some text some text some text some text some text some text 
    some text some text some text some text some text some text some text some text 
    some text some text some text some text some text some text some text some text 
    some text some text some text some text some text some text some text some text 
    </textarea>
    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

  3. #3
    Join Date
    Sep 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ya I did that with a style sheet outside of the document. Right now i transfered everything into a draw layer and that allows html. Can i add a scroll bar to this at some point if theres a lot of text?

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I don't know anything about Dreamweaver, being (very) distrustful of WYSIWYG editors. However, depending on the CSS overflow property, most elements usually provide a scrollbar if it becomes necessary.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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