0

Hai ,

My form has 3 buttons side by side,...each with different length of text on them...resulting in the width of buttons not being uniform..could anyone sugguest a solution ...bye the way my buttons r not images..(for images width attribute works..right?)

3
Contributors
4
Replies
5
Views
11 Years
Discussion Span
Last Post by jalarie
0

So, what are your buttons? Are they input type="button" , or are they hyperlinks styled to look like buttons?

0

How about:

<input type="button' value="&nbsp;&nbsp;&nbsp;short&nbsp;&nbsp;">
<input type="button' value="lllooonnnggg">
0

So, what are your buttons? Are they input type="button" , or are they hyperlinks styled to look like buttons?

ya..
<input type="button" name="newButton" style="font-weight:bold" value="New Trade">
<input type="button" name="swapButton" style="font-weight:bold" value="Create Swap">
<input type="button" name="buildButton" style="font-weight:bold" value="Create Build List">
so using nbsp doesnt cater...the requirement is button shd be enough for the text on it..
i.e., the length of the button shd be according to the length of the text on it.

0

resulting in the width of buttons not being uniform

the requirement is button shd be enough for the text on it.. i.e., the length of the button shd be according to the length of the text on it.

These seem to contradict each other. What is it that you really want?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.