Word-wrap: Break-word Not Working In Ie9
I have a privacy field (values are To: or Bcc:) and an email address field that are outputted from my database. I want the email address to always be after the To: / Bcc: and not m
Solution 1:
In browsers other than Internet Explorer — and maybe in IE9 — it's overflow-wrap
.
<tdstyle="overflow-wrap: break-word">
You could try both styles. edit Try -ms-word-wrap
for IE9.
Solution 2:
Try giving the td a fixed width and then putting the contents inside a div with the styling applied. Ex:
<tdstyle="width:300px;"><divstyle="width:300px;overflow-wrap:break-word;"><?phpecho$Privacy; ?><span><?phpecho$Email; ?></span><buttonclass="copy">COPY</button></div></td>
Solution 3:
I put my label in a div and give it style it works finnally
<divstyle="word-wrap: normal; word-break: break-all;"><asp:LabelID="Label2"runat="server"Text='<%# Bind("REASON") %>'></asp:Label></div>
Post a Comment for "Word-wrap: Break-word Not Working In Ie9"