olav78 Posted December 25, 2006 Share Posted December 25, 2006 Hello!I have a menu with buttons, and i want the buttons to always show all of the text inside them but not get longer than a fixed size. If there is «too much text» I want the buttons to show text on the next line of the button. This works fine in FF, but not in IE. Anyone knows how to get «two-lines buttons» in IE?This is my css-element: div#local button { background: #d6d6d6; text-align: center; width: 100%; left: 0;} Link to comment Share on other sites More sharing options...
PrateekSaxena Posted December 29, 2006 Share Posted December 29, 2006 use the word-rap property in CSS Link to comment Share on other sites More sharing options...
vchris Posted December 29, 2006 Share Posted December 29, 2006 Didn't you create a topic about this earlier?http://w3schools.invisionzone.com/index.php?showtopic=9891 Link to comment Share on other sites More sharing options...
olav78 Posted January 2, 2007 Author Share Posted January 2, 2007 Didn't you create a topic about this earlier?http://w3schools.invisionzone.com/index.php?showtopic=9891 no, this was before Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now