Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-16-2004, 04:43 AM   PM User | #1
joonstar
Regular Coder

 
Join Date: Apr 2003
Location: Seoul, Korea
Posts: 329
Thanks: 0
Thanked 0 Times in 0 Posts
joonstar is an unknown quantity at this point
line breaks in variable text on input type button

I am using ColdFusion and I have a question about "input type button".




<input type="submit" value="#variable#">

The above input button makes variable text on the buttons.

If a variable is '11111', the text on the button will be '11111'.
If another variable is '22222', the text on the button will be '22222'.

My problem happens when the variable is very long.
For Example, if the variable is '3333333333' the button become wider.

I like to put a line break per every 5 characters .
then, the variable '3333333333' will be shown like the following.

33333
33333


Line breaks depending on "widht=50" would also be a good solution.

For example,
<input type="submit" value="#variable#" WIDTH="50">

But the above example input button doesn't seem work correctly.

Do you have any way for this?

Thanks in Advance
joonstar is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:58 AM.


Advertisement
Log in to turn off these ads.