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!

Advice for implemented multi-line display

Status
Not open for further replies.

zinja

MIS
Nov 14, 2002
149
US
I currently have a script that functions as a point of sale system. The next thing to change is to make the single line display a multi-line display that will display the last 5 transactions on a ticket with a running total line at the bottom. I am currently using css and a div to control the box that displays data.

What would be the best method to convert my single line display to a multi-line display. I think I can handle moving values to rows inside the textbox, but am unsure how to specify a multi-row textbox.

Any help or advice would be greatly appreciated.


LJ Wilson

My personal saying - Just remember, it can always get worse, and usually will.
 
You are using an input element with the type="text" attribute (I am guessing). For this kind of thing, use a textarea (or just a div would be as good)...
Code:
<textarea rows="5" cols="40">data here</textarea>
Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top