[Project_owners] buttons with images

HJ van Rantwijk bugs4hj at aim.com
Sun Sep 17 19:27:55 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric H. Jung wrote:
> Hi,
> 
> I have two buttons with images:
> 
> <vbox>
> <button style="list-style-image: url('up.gif')" command="moveUpCmd"/>
> <button style="list-style-image: url('down.gif')" command="moveDownCmd"/>          
> </vbox>
> 
> Screenshot: http://img158.imageshack.us/img158/1816/capture917200691138pmkj5.jpg
> 
> (I don't remember why I'm not using the image attribute, but there was a reason). The labels on each button are different lengths but the images are the exact same sizes. How can I align the labels with each other instead of them being centered? I can't use a fixed number of spaces between the images and labels because the length of each word varies depending on locale.
> 
> Thanks for any ideas,
> Eric

<button pack="end" ...
or
- -moz-box-pack: end;

/HJ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFDfYbRrb6S73JMeYRAoBRAJ9Yw/v0NDxhVj2FBf3Ak+42JmTloACg0EP0
kx6nsOsZ05Mg6ypnwj4Vq+k=
=rOHn
-----END PGP SIGNATURE-----


More information about the Project_owners mailing list