Jump to content

Recommended Posts

Posted

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

Posted

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
Posted (edited)

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
Posted

I gave up, is impossible to make this thing....

I wanted to have l2classic htmls in interlude but i found out is impossible

Posted (edited)

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
Posted

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

Posted

 

<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?

Posted

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 :))

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock