word-wrap not working in ie

If you are trying to apply the css property word-wrap: break-word  to an anchor tag it will not get effect in internet explorer. To overcome this apply this property to the parent tag of the anchor tag.

For example from

<p>
   <a href="#" style="word-wrap:break-word">Link Text</a>
</p>

to

<p style="word-wrap:break-word">
   <a href="#">Link Text</a>
</p>

Add a Comment

Your email address will not be published. Required fields are marked *