Jump to content

<textarea> size and background color


sierradwyer

Recommended Posts

I am using Dreamweaver to design my site.I want to make a <textarea> where I can put content in and I only want the <textarea> to scroll as I don't want the whole site "scrollable".1. Is it possible to set the <textarea> box size in width and height in pixels? Or can I only use columns and rows?2. Am I able to place the <textarea> anywhere I want on my site or do I have to set margin value's in order to place it where I want?3. And am I able to give the text area a background color and change the opacity? Or can I use an image for the <textarea> bg and set the opacity?Any help appreciated guys... :)

Link to comment
Share on other sites

Rather than a textarea, it sounds like you want to just use a div that you can put other HTML content into. A textarea would show the HTML code, not the elements.<div style="width: 600px; height: 600px; overflow: auto;">content</div>Those style rules are explained in the CSS tutorials. Overflow tells it to scroll if the content is too large for the box.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...