Solved

size of button...real easy one

Posted on 2002-06-28
3
160 Views
Last Modified: 2012-05-04
I have a button on a form and the text on the button is "Print".  The button is too small.  If I make the value = "         Print      " it is fine, but I think I am cheating.  What is the right way to do this??
0
Comment
Question by:CCOIA
  • 2
3 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 20 total points
ID: 7116885
Try:
<input type="button" value="Print" style="width:100;text-align:center">

Works for just about every browser except Netscrap 4.x

Cd&
0
 
LVL 17

Expert Comment

by:dorward
ID: 7116926
That sbould be:

width: 100px;

The CSS specification requires units for non-zero values on most properties, including width.



0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7117001
Glad I could help thanks for the A. :^)

Cd&
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
css, html 5 42
hosting images 4 27
div to fit another div 8 21
how can I add blockquote after on my wordpress site 3 8
Find out what you should include to make the best professional email signature for your organization.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question