I have a small css script that force <a>
tag word-wrap in a div. It worked fine on FF, Chrome but didn't work on IE9. How can I fix it?
.tab_title a{
word-wrap: break-word;
}
I have a small css script that force <a>
tag word-wrap in a div. It worked fine on FF, Chrome but didn't work on IE9. How can I fix it?
.tab_title a{
word-wrap: break-word;
}
Try this:
word-wrap: word-break;
works only in ff and chrome and not in IE8 and IE9.word-break: break-all;
does not work either.For a similar issue, I used
display: inline-block
on the<a>
tag, which seems to help. Andword-break: break-all
as I was concerned with long URLs not wrapping.So, this in your case essentially...