Some times if you provide data inside a span or a column as : abcdef-test@gmail.com, you will notice that in IE it will be displayed as :
abcedf-
test@gmail.com
To fix the above issue, i will provide you two solutions.
Solution -1: Use <nobr> Tag
You can use <nobr> tag to represent your data as <nobr>abcdef-test@gmail.com</nobr>
Solution -2: Use CSS
You can use CSS to fix the above issue as:
Cheers!
abcedf-
test@gmail.com
To fix the above issue, i will provide you two solutions.
Solution -1: Use <nobr> Tag
You can use <nobr> tag to represent your data as <nobr>abcdef-test@gmail.com</nobr>
Solution -2: Use CSS
You can use CSS to fix the above issue as:
<span style="white-space: nowrap;">
abcdef-test@gmail.com</span>
Cheers!
No comments:
Post a Comment