Jump to content

Buttons in IE


olav78
 Share

Recommended Posts

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

use the word-rap property in CSS

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...