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>

 

This entry was posted in Others and tagged . Bookmark the permalink.

Leave a Reply

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


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.