[Project_owners] buttons with images

eric.jung at yahoo.com eric.jung at yahoo.com
Sun Oct 1 09:17:03 EDT 2006

I finally got back to this. Both Neil's and HJ's suggestions worked:

.button-text {
  text-align: right;

<button pack="start ... "/>

I must have had XUL caching turned on or something; don't know why it wasn't working a couple weeks ago.

Many thanks to both of you!

----- Original Message ----
From: Neil <neil at parkwaycc.co.uk>
To: project_owners at mozdev.org
Sent: Monday, September 18, 2006 4:39:12 AM
Subject: Re: [Project_owners] buttons with images

Eric H. Jung wrote:

>I have two buttons with images:
><button style="list-style-image: url('up.gif')" command="moveUpCmd"/>
><button style="list-style-image: url('down.gif')" command="moveDownCmd"/>          
>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 think <button pack="start"/> should work.
Project_owners mailing list
Project_owners at mozdev.org

More information about the Project_owners mailing list