473,406 Members | 2,633 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,406 software developers and data experts.

Help: creating a button with mulitline of text

9
I am trying to create a button with multilines of text.

<input type="submit" name ="switch" onclick="return confirm('Turn off httpd server?');" value="Turn OFF HTTP Server">

I tried "\n" between words but didn't work.
Please help me out.
Sep 22 '06 #1
4 1362
ronverdonk
4,258 Expert 4TB
I am not so sure you can do that. I tries it and <br> also did not work. So If you can't do it, you can always make an image using PHP/GD with text aligned exactly as you like it. Holler for the code.

Ronald :cool:
Sep 23 '06 #2
ronverdonk
4,258 Expert 4TB
And if you don't want to use GD you can make a button using pure CSS. See the following artticle at Designing 3D buttons with pure CSS

Ronald :cool:
Sep 23 '06 #3
ronverdonk
4,258 Expert 4TB
I found out that I can get a decent multiline button in html. With my editor I type the <input> line up to 1st part of the button text, hit Enter and continue the button text at pos 1 of the next line. That's how it works with my editor. Try it out with yours.
[HTML] <input type="submit" name="Submit" value="Submitit
to you and
to the world">[/HTML]

Ronald :cool:
Sep 24 '06 #4
skim
9
It works. Thanks a lot!!!!
Sep 25 '06 #5

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

Similar topics

14
by: TrvlOrm | last post by:
OK. After much playing around, I managed to get my frame page this far.. see code below. BUT...there are still errors with it, and what I would like to have happened is this: 1) On the Left...
2
by: DaWoE | last post by:
Hi all, I'm fairly new to ASP.NET. What i want to do is creat a online registration form. On the first step is getting the users details and the number of people he wants to register. Based on...
2
by: Chad | last post by:
I have a problem that I am desperate to understand. It involves dynamically adding controls to a Table control that is built as a result of performing a database query. I am not looking to...
1
by: Kottan1970 | last post by:
I have a problem using a mulitline TextBox in .NET 1.1 with SmartNavigation. The text wrapping doesn't work correctly. If I click into the textarea and click ESCAPE the text is displayed correctly....
4
by: Thom | last post by:
I'm a real newbie so I apologize for the easy question. I have academic version of vb.net 2003. I am trying to write a multiline textbox with data from a text file. Properties for the textbox are...
2
by: skim | last post by:
I am trying to create a button with multilines of text. <input type="submit" name ="switch" onclick="return confirm('Turn off httpd server?');" value="Turn OFF HTTP Server"> I tried "\n"...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
6
by: Eric_Dexter | last post by:
Instead of creating my buttons and waiting for me to press them to execute they are executing when I create them and won't do my callback when I press them.. thanks for any help in advance ...
3
by: cuties | last post by:
Hi all.... i'm very new to this programming language. i'm required to fulfill this task in the company i'm doing my practical. i hope i can get guide for my problem... Here is the script i...
1
by: lnong | last post by:
Im using the ActivePDF Toolkit to programmatically fill in a PDF document using .NET. I have a mulitline textfield (textbox), and I want to be able to insert a newline character. I cannot find a...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.