471,610 Members | 1,311 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,610 software developers and data experts.

How to wrap Text in a button?

Hi,

I need to wrap the text of button so that it fits in the button's fixed width and doesn't expand the button's width, only it's height.

This can be done in a regular text using the WORD-BREAK:BREAK-ALL; attribute
But I tried this on the button and it's not working?

Is there any work around for that? any css attribut?
Oct 27 '07 #1
1 4411
drhowarddrfine
7,435 Expert 4TB
'word-break' is part of the CSS3 draft but that is not finished yet, some supported parts are being dropped, and I don't know what support all browsers give that, so you are using it at your own risk. You'll have to google around to see which browsers support what.
Oct 27 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Guru | last post: by
3 posts views Thread by JHR | last post: by
3 posts views Thread by Fluffy Convict | last post: by
5 posts views Thread by name | last post: by
3 posts views Thread by Jason | last post: by
1 post views Thread by duzhidian | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.