Jump to content

Is Possible To Align Text To Start From Left Inside A Button?


Recommended Posts

Is possible to align text to start from left inside a button?

every button from lineage2 have the text in the middle

i want make it start from left side

anyone know? i have tryed everything i know and doesn't work

Link to comment
Share on other sites

aling where?

 

<button value="Dress me as assasin" action="bypass -h voice .dressme_black_assasin  width=273 height=22 back="button.HtmlWnd_BTN01_over" fore="button.HtmlWnd_BTN01">  
 
i want the text  "Dress me as assasin" 
to start from left and continue
 
the text stay all the time in the middle of the button
Link to comment
Share on other sites

Moving it to right side won't work. Since the text will be moved as well. The text is always centered. The only 'walk around' I know is, to cut the button width. For example, if original is 256, cut it to 150 or so, depending on your text length. But yeah.. Button is simply cut and it looks bad :D

Edited by SweeTs
Link to comment
Share on other sites

u can use tables. use the button images as table background and use a normal <a action for your links. you can change the font color to avoid the blue link color. then use "align" to align ur link that is lying infront of your button image. and voila.... a button with a text aligned to the left or to the right. you can also work with   to create empty spaces infront or your first letter of the first word :)

 

the only thing.....you wont have the button down effect on klicking... but still a good looking html ^^

Edited by snifi
Link to comment
Share on other sites

snifi if you think it will work
 

<button value="Dress me as assasin" action="bypass -h voice .dressme_black_assasin  width=273 height=22 back="button.HtmlWnd_BTN01_over" fore="button.HtmlWnd_BTN01">

 

fix me this button please :D

Link to comment
Share on other sites

 

<button value="Dress me as assasin   " action="bypass -h voice .dressme_black_assasin  width=273 height=22 back="button.HtmlWnd_BTN01_over" fore="button.HtmlWnd_BTN01">

maybe something like that? or in-game html has overflow hidden?

Link to comment
Share on other sites

not working, all need to do is to find a way that the text will not stay in center of button

i found a way but i have to add spaces to every button, and i have like 500 buttons to edit :))

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...