471,618 Members | 1,153 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,618 software developers and data experts.

Equivalent of pre-wrap compatible in IE

I want a style which will word wrap and give pre to the block. I tried and got the following style.

word-wrap: normal;
white-space: pre;
white-space: -moz-pre-wrap;
white-space: pre-wrap;
display: block;

But this works only for mozilla.

I want the style which is compatible for IE.
I am not getting any solution for this.
Please help.
Sep 22 '07 #1
5 7060
eWish
971 Expert 512MB
Try:

word-wrap: break-word;
Sep 27 '07 #2
Thanks it worked.....
Oct 3 '07 #3
It worked but....

I want it to compatible with Mozilla also.

It doesn't work in mozilla.

Please help.....
Oct 3 '07 #4
It worked.. but i want a style which will work both in mozill and ie.
This is not compatible with mozilla.
I have astyle which is compatible with mozilla. and another one with IE.
I can't find anything comaptible with both.
Please help ...
Its very urgent
Oct 3 '07 #5
eWish
971 Expert 512MB
Please post a copy of your validated code. You did validate your code didn't you?

Validate HTML & Validate CSS

This is essential to make sure that something else is not causing you issues.
Oct 3 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Robert Oschler | last post: by
24 posts views Thread by Nudge | last post: by
11 posts views Thread by Kobu | last post: by
27 posts views Thread by junky_fellow | last post: by
4 posts views Thread by Mullin Yu | last post: by
48 posts views Thread by Daniel Crespo | last post: by
3 posts views Thread by David MacKay | last post: by
13 posts views Thread by lossed | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.