473,326 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Command button caption in 2 lines

I have to display the caption of the command button in 2 lines ..


I tried using <input type="button" value-"I am going to dispaly the command button caption in two lines">

But it did not display.. I tried using <BR>,"\n" in the value attribute, but it did not work. I also tried using style="word-wrap:break-word" along with width attribute, but it did not work.
Can anybody please help me...

Jerry..
Nov 14 '06 #1
2 8377
ronverdonk
4,258 Expert 4TB
Breaking with a <BR> does not work. What I use is continue the value at the next line, as in
[html]<input type="button" value="Start
it up">[/html]

Ronald :cool:
Nov 14 '06 #2
Breaking with a <BR> does not work. What I use is continue the value at the next line, as in
[html]<input type="button" value="Start
it up">[/html]

Ronald :cool:

Thnx Buddy... I searched thru google and got that.. Anyway thx a lot
Nov 20 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Melissa | last post by:
What is the code to delete a command button from a form? Can the code be run from the click event of the button to be deleted? Thanks! Melissa
3
by: AgentX | last post by:
Is it possible to make command buttons in any color other than default gray? And can you change the text with code ? In other words instead of hard-coding the text on the button, can you display...
1
by: xtra | last post by:
Hi Folk I have written a module that allows you to type a bunch of commands in the immediate window, for quick access to information when you are creating VB code. Here it is, it may be helpful...
5
by: MLH | last post by:
This is one for you gurus. Someone has undoubtedly already done this. How difficult would it be to recurse all command buttons and textbox controls on all forms, appending an incrementing number to...
3
by: afr0ninja | last post by:
Hello! I'm currently working on a form that has several input fields and a subform. What I'm trying to accomplish is that when I first open the form I'd like to have the input fields displayed...
2
by: jerryemmanuel | last post by:
I have to display a command button with a long caption in two lines.. <input type="button" value="I have display the caption of this command button in 2 lines" > I tried using <BR>, "\n" but...
4
by: StephanieCat | last post by:
I am designing a 2000 format database in 2003. In a form, I use two buttons to serve several circustances: 1. Button1.caption="New record" Button2.Caption="Edit record" After click Button1,...
1
by: fperri | last post by:
I hope that this is the right forum. I'm using VB to create a report in Excel. After the report is generated I put two buttons onto the title sheet. Both are for printing a part of the report. Here...
16
by: Steve | last post by:
I am working on a database that has a main menu, many sub-menus and some sub-sub-menus. They are all forms that have numerous command buttons on them to open forms and reports in the database. The...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.