I'm currently in a horrible situation that requires me to style an input of type "button" over two lines. Having a fixed width on the button causes the text within the button to wrap onto two lines in all other browsers except IE.
My question is therefore, how do I specify that an input with value="Button to Wrap" wraps onto two lines in IE?
I'm willing to accept any hacks or workarounds to make this happen.
Much appreciated!
What works for me is to set CSS
white-space
topre-line
of the button input with a fixed width.But only the first line will be visible on the button input. So height must be set to a fixed value or to auto.