Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Aligning the text in an html button
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

K
Starting Member

14 Posts

Posted - 06 June 2001 :  11:15:03  Show Profile
Does anyone know if the above is possible? The default is that the button text is centered, which is great if the button itself is centered, but doesn't look that good if there are several buttons all left-aligned.

So, does anyone know?

K


paco
Junior Member

Spain
187 Posts

Posted - 06 June 2001 :  11:26:27  Show Profile
try this in the input tag:

style='text-align:left'

Go to Top of Page

K
Starting Member

14 Posts

Posted - 06 June 2001 :  11:28:55  Show Profile
Didn't work I'm afraid :(

Thanks for the suggestion though!

K

Go to Top of Page

paco
Junior Member

Spain
187 Posts

Posted - 06 June 2001 :  11:41:22  Show Profile
I tried the following and it did work for me:

<INPUT id=button1 type=button value=asdfasf name=button1 style='text-align:left'>

Go to Top of Page

K
Starting Member

14 Posts

Posted - 06 June 2001 :  11:43:15  Show Profile
Yeah I tried the same on an existing button. Sometimes it can appear as though the text is left aligned when the button is on its own, but when displayed in a group with other buttons you can see that it is not.

Go to Top of Page

tilttek
Junior Member

Canada
333 Posts

Posted - 06 June 2001 :  12:14:02  Show Profile  Visit tilttek's Homepage
quote:

Yeah I tried the same on an existing button. Sometimes it can appear as though the text is left aligned when the button is on its own, but when displayed in a group with other buttons you can see that it is not.



It work only in IE!


Philippe Gamache
http://www.tilttek.com
http://www.lapageamelkor.com
Go to Top of Page

JGonier
Starting Member

USA
44 Posts

Posted - 06 June 2001 :  13:11:05  Show Profile  Visit JGonier's Homepage
Yet another reason to throw Netscrape in the trash.

Sincerely,
JGonier
Go to Top of Page

paco
Junior Member

Spain
187 Posts

Posted - 07 June 2001 :  03:56:24  Show Profile
quote:
Yeah I tried the same on an existing button. Sometimes it can appear as though the text is left aligned when the button is on its own, but when displayed in a group with other buttons you can see that it is not.


Interesting. When will they start to make decent browsers?

Go to Top of Page

tilttek
Junior Member

Canada
333 Posts

Posted - 07 June 2001 :  09:10:38  Show Profile  Visit tilttek's Homepage
quote:

quote:
Yeah I tried the same on an existing button. Sometimes it can appear as though the text is left aligned when the button is on its own, but when displayed in a group with other buttons you can see that it is not.

Interesting. When will they start to make decent browsers?



It work with NS6...



Philippe Gamache
http://www.tilttek.com
http://www.lapageamelkor.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07