?
Solved

size of button...real easy one

Posted on 2002-06-28
3
Medium Priority
?
181 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 80 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

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

752 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