Dreamweaver design help

Live forum: http://forum.freeipodguide.com/viewtopic.php?t=46778

Labtec-Jay

06-10-2006 19:24:13

How can I add a scrolling textbox that you can not delete the words from online?

Anyone know?

dmorris68

06-10-2006 19:29:28

A textarea element? Set the READONLY attribute. And/or DISABLED.

ajrock2000

06-10-2006 19:30:43

You can put the text in a div tag also, and set the overflow css property to scroll.

Labtec-Jay

06-10-2006 20:10:11

uhh im an idiot. i dont know too much, Im just doing a basic HTML page. How do I set the attribute to Read Only?

dmorris68

06-10-2006 20:18:41

[code18928ef03e6]textarea name="theText" rows="5" cols="20" readonly[/code18928ef03e6]
The above is HTML 4.0 standard, however if you need to be XHTML compliant, you have to actually set the readonly attribute to a value, like so

[code18928ef03e6]textarea name="myText" rows="5" cols="20" readonly="true"[/code18928ef03e6]
(I left the tag brackets off because the forum has a bug with HTML parsing since the move)

Of course you should also include value with the text you want displayed.