Jump to content

Legal Text Area for scroll but not input


turbobill

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
Link to comment
https://forums.phpfreaks.com/topic/16642-legal-text-area-for-scroll-but-not-input/
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'

[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.

Archived

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

×
×
  • Create New...

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.