Results 1 to 9 of 9

Thread: Text_area

  1. #1
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default Text_area

    how do I change the background on a text area. I thiught DD had a script for this but couldnt find it.

  2. #2
    Join Date
    Jun 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You mean a form test area? Like this:

    Code:
    <form>
    <textarea style="background-color: #cc6600" name="textarea"></textarea>
    </form>

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You could do the same with CSS. Use the code from above, basically.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default

    Eh, that doesnt work out right. I guess since i'm using the WYSIWYG editor, it works differently. Know how to change that.

  5. #5
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default

    Never mind found a different solution. But thanks.

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Yeah, that already has code in the css that the editor uses. change it there; seems like you found that though.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  7. #7
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default

    No actually I didnt. I just went into Dreamweaver and added, the text color as white, instead of none. So when I submit black text that has A black background it shows up as white, Or the color I specify (eg: blue, green, red....) you get the point dont you?

    Oh and this was for the comment board that I redone.

  8. #8
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    what about the size of the text area? make it longer/shorter.
    what tag would that be?

  9. #9
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    dunno if it's in css, but that should be easy enough to find.

    In the tag, I believe its:
    <textarea rows="50" columns="10">
    Or, it's
    <textarea rowspan="50" colspan="10">

    I can't remember. Just try those.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •