![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I would like a fixed length from the left border of the button to where the text starts, and from where the text ends to the right borden of the button. How do I do that? I have tried alot of different stylings etc. But nothing helps... |
#3
| |||
| |||
|
|
Play with the values: input type="button" value="Short" style="padding:0 85px;"><br |
#4
| |||
| |||
|
|
On Fri, 19 Nov 2004, Evertjan. wrote: Play with the values: input type="button" value="Short" style="padding:0 85px;"><br What have you got against sizing containers for text in em units? |

#5
| |||
| |||
|
|
On Fri, 19 Nov 2004, Evertjan. wrote: Play with the values: input type="button" value="Short" style="padding:0 85px;"><br What have you got against sizing containers for text in em units? |
#6
| |||
| |||
|
|
Alan J. Flavell wrote on 19 nov 2004 in comp.infosystems.www.authoring.stylesheets: On Fri, 19 Nov 2004, Evertjan. wrote: Play with the values: input type="button" value="Short" style="padding:0 85px;"><br What have you got against sizing containers for text in em units? Nothing, if you want to play that way, go ahead. But don't go presuming or ordering someone else to play your way. |
#7
| |||
| |||
|
|
You miss the point entirely. em units are based on the prevailing font size. Therefore, whatever size the user sets their font to, a button sized in ems will fit. If you size in pixels, you run the very real risk of the text overflowing the button, making your interface unusable. How you see this as bullying is beyond me. I think you need to give this a second thought. |
|
What have you got against sizing containers for text in em units? |
#8
| |||
| |||
|
|
Evertjan. wrote: Neal wrote: the form you used: What have you got against sizing containers for text in em units? is like a preacher asking a pupil why he strayed from the good word. This is usenet. Perhaps it's time for some thicker skin. |
|
I don't want to follow up on this, since it has nothing to do with the primary Q of the OP. I see. And if you deem a topic unworthy of discussion, then we ought to drop it? |
#9
| |||
| |||
|
|
I always use a fixed font-size on my sites, since I use lots of images that don't want to be affected by the em system. |
![]() |
| Thread Tools | |
| Display Modes | |
| |