Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scroll text

Status
Not open for further replies.

knuckle05

Programmer
Dec 17, 2001
247
CA
Hi all,

I have a page, and in the center of the page I would like to put a small area (box) with text in it that can be scrolled up and down by the user.

The problem is that I don't want to use a TEXTAREA, and was wondering if I can avoid splitting my page by using frames, because it seems to put this in the middle of the page, I would need many different frames. I don't want to use TEXT AREA because I want the "area" to look like the rest of my page. Does anyone know how I could accomplish this? Thx!
 
If it's simply a formatting issue, and you want the textarea to "blend in" with the rest of your page, try:

Code:
<html>
<head>
</head>
<body style=&quot;background-color:#00ee00;&quot;>
<textarea rows=&quot;15&quot; cols=&quot;40&quot; style=&quot;border:1px solid #00ff00;background-color:#00dd00;&quot;>
Banana banana banana
</textarea>
</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top