Jump to content

[SOLVED] Word wrap on fixed width button?


dumdumsareyum

Recommended Posts

I have a grid of buttons that I would like to have all the same width (specified button width: 100px for example). However when I specify this width, some of the text gets cut off. I specified overflow: visible, which seemed to do zip. I know i can insert a new line to manually make it wrap, however the text is coming from a database so I won't know exactly how long it will be.  I can write a function to insert it with php, but if there's a CSS option I'd much rather use that.  :)  Thanks!

Link to comment
https://forums.phpfreaks.com/topic/164936-solved-word-wrap-on-fixed-width-button/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.