Board index » html » How to right align elements in select
|
yaweli
Registered User |
|
yaweli
Registered User |
How to right align elements in select
2006-07-18 08:31:00 PM
Hi, In mozilla/firefox the right align work fine In I.E not working. <select style="text-align:right"> <option style="text-align:right">12,400</option> <option style="text-align:right">48,450,000</option> <option style="text-align:right">320</option> </select> (The Dir="RTL" is not a good solution.) thank you j.r - |
| Jim Moe
Registered User |
2006-07-19 01:00:00 AM
Re:How to right align elements in select
yaweli@gmail.com wrote:
Quote
jmm (hyphen) list (at) sohnen-moe (dot) com (Remove .AXSPAMGN for email) - |
| Jukka K. Korpela
Registered User |
2006-07-24 09:25:00 PM
Re:How to right align elements in select
yaweli@gmail.com <yaweli@gmail.com>scripsit:
QuoteIn mozilla/firefox the right align work fine associated labels in a table instead. The labels (in this case, the numbers) could then be right-aligned easily, even using just HTML. More info: www.cs.tut.fi/~jkorpela/forms/choices.html#select-inflex -- Jukka K. Korpela ("Yucca") www.cs.tut.fi/~jkorpela/ - |
| Andy Mabbett
Registered User |
2006-07-25 03:44:00 AM
Re:How to right align elements in select
In message <7S3xg.24091$Jr.471@reader1.news.jippii.net>, Jukka K.
number of non-breaking spaces?Korpela <jkorpela@cs.tut.fi>writes QuoteIn mozilla/firefox the right align work fine implementation What about a non-proportional font, and pre-prending the appropriate -- Andy Mabbett Say "NO!" to compulsory ID Cards: <www.no2id.net/> Free Our Data: <www.freeourdata.org.uk> - |
| Jukka K. Korpela
Registered User |
2006-07-25 04:50:00 AM
Re:How to right align elements in select
Andy Mabbett <usenet200309@pigsonthewing.org.uk>scripsit:
it doesn't even make the elements right-aligned on IE. (For some odd reason,QuoteThere's no simple way around this IE limitation in its <select> number of non-breaking spaces? I wouldn't call it a simple way, and it produces rather ugly appearance, and IE leaves some space - corresponding to about two space characters - to the right of the <option>contents if you try this trick.) -- Jukka K. Korpela ("Yucca") www.cs.tut.fi/~jkorpela/ - |
