Forum Moderators: not2easy

Message Too Old, No Replies

Buttons with two text lines in IE

         

olav78

3:04 pm on Dec 27, 2006 (gmt 0)

10+ Year Member



Hello!
I'm wondering how I can set buttons where the text continues to the next Ğlineğ of the button if it is longer than the size of the button.

In FF this works (the button get twice as high and the text spans two lines):


div#local button {
width: 100%;
}

IE, however, cuts the text and the last bit is not showed...? Anyone know how I can get this to work in IE?

londrum

9:44 pm on Dec 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



it might be one of these, maybe. try putting one of these in the css for the button

overflow:visible
white-space:normal