[Project_owners] buttons with images

Michael Buckley michael.buckley at hotmail.com
Mon Sep 18 17:11:13 EDT 2006


HJ van Rantwijk wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>eric.jung at yahoo.com wrote:
>
>>>Oops, make that:
>>>       .button-text {
>>>  text-align: right;
>>>}
>>>
>>OK, I added text-align: right; to the in-line style and it didn't change 
>>much (if anything? Not sure). I assume I don't actually need a class named 
>>button-text and apply it to the button, right? In-line style is OK? If so, 
>>that didn't do the trick at least in FF 2.0b2.
>>
>>-€ric
>>
>
>Oh, and have you verified it with the DOM-Inspector?
>
>p.s. I use .button-text so you'll probably need it too
>
>/HJ
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.5 (MingW32)
>
>iD8DBQFFDhTTRrb6S73JMeYRArTZAKCIN3LfTb/su2xmpm8Rz kOqjpbUgCfYjFJ
>fDBz7idceovraEjPU00Ll54=
>=4cew
>-----END PGP SIGNATURE-----
>_______________________________________________
>Project_owners mailing list
>Project_owners at mozdev.org
>http://mozdev.org/mailman/listinfo/project_owners
>
>
.button-text is the class of the label in the button.  Make sure the
style rules don't apply to all buttons by putting an ID or something
with it.  I would use

.button-text {
	float:right;
}

to get the label were you want it.

God Bless
Michael

_________________________________________________________________
Be the one of the first to try the NEW Windows Live Mail. 
http://ideas.live.com/programPage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d



More information about the Project_owners mailing list