Jump to content

Issue in IE7 browser


sridaran

Recommended Posts

I have <div><button class="bton-link"></button></div> in left navigation of my webpage. Here width of <div> is set as 80%. Button value will be generated dynamically. The value will be too lengthy. In all browsers the button values are breaking into next line
automatically. In IE7 browser the button values extending on the same line without breaking overlapping other divs.
I tried all the following css properties. None of it worked for me:
word-break: break-all;
word-wrap: break-word;
white-space:normal;
white-space:pre-line;
white-space:pre-wrap;
-webkit-hyphens: auto;
hyphens: auto;
display: inline;
overflow: visible;
Can any one give me solution to fix this IE7 issue. Thanks in advance.
Link to comment
Share on other sites

The button is going to behave that way in Internet Explorer 7. There's no way you can change that. One solution could be to style another element to look like a button.

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
×
×
  • Create New...