Jump to content

Archived

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

turbobill

Legal Text Area for scroll but not input

Recommended Posts

Hello,

I'm using PHP & HTML, trying to display the legal doc but not allow it to be edited.  You know the drill  :).

The code I'm using below causes it to be an input field, which I don't want.  I only want it to show the legal doc then the user checks an acceptance box.

<TEXTAREA NAME="TextFileName" ROWS=14 COLS=80>@TextFileName@
</TEXTAREA>

Thanks for the help,
Bill

Share this post


Link to post
Share on other sites
use iframes or div tags for that case, i know there is a way to make it uneditable but i dun remember

Share this post


Link to post
Share on other sites
[code]<div style="border : solid 2px #ff0000; background : #f7f7f7; color : #000000; padding : 4px; width : 400px; height : 150px; overflow : auto; ">

Your legal text all goes in here

</div>[/code]

Adjust the styling on the div to suit your width/height/colors, etc.  Produces a scrollable div containing your 'legal agreement stuff'

Share this post


Link to post
Share on other sites
Ok, thanks a lot, AndyB( Super Guru ).  That looks like it will work.

Where can I find a quick html turorial?  I've been a database app developer for many years but just now getting into html.

Thanks again,
Bill

Share this post


Link to post
Share on other sites
[quote author=turbobill link=topic=103089.msg410277#msg410277 date=1154798665]
Where can I find a quick html turorial?  I've been a database app developer for many years but just now getting into html.[/quote]

Cripes! Depends on what you want to learn, but a few minutes ought to be enough.

http://www.htmlite.com/HTMintro.php is pretty easy reading.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.