turbobill Posted August 5, 2006 Share Posted August 5, 2006 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 More sharing options...
Chetan Posted August 5, 2006 Share Posted August 5, 2006 use iframes or div tags for that case, i know there is a way to make it uneditable but i dun remember Link to comment https://forums.phpfreaks.com/topic/16642-legal-text-area-for-scroll-but-not-input/#findComment-69814 Share on other sites More sharing options...
AndyB Posted August 5, 2006 Share Posted August 5, 2006 [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' Link to comment https://forums.phpfreaks.com/topic/16642-legal-text-area-for-scroll-but-not-input/#findComment-69838 Share on other sites More sharing options...
turbobill Posted August 5, 2006 Author Share Posted August 5, 2006 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 Link to comment https://forums.phpfreaks.com/topic/16642-legal-text-area-for-scroll-but-not-input/#findComment-69850 Share on other sites More sharing options...
AndyB Posted August 5, 2006 Share Posted August 5, 2006 [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. Link to comment https://forums.phpfreaks.com/topic/16642-legal-text-area-for-scroll-but-not-input/#findComment-69855 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.