473,656 Members | 2,824 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Equivalent of pre-wrap compatible in IE

6 New Member
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 7136
eWish
971 Recognized Expert Contributor
Try:

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

I want it to compatible with Mozilla also.

It doesn't work in mozilla.

Please help.....
Oct 3 '07 #4
webamrita
6 New Member
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 Recognized Expert Contributor
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

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

Similar topics

1
5614
by: JBBHF | last post by:
Hi i'm working on a web project, and i would like to make my oracle query work in mysql. select match.numero "nummatch", to_char(match.datematch, 'yyyy-MM-dd') "datematch", p1.numjoueur "j1", p2.numjoueur "j2", po1.p1 "m1p1", po1.p2 "m1p2", po2.p1 "m2p1",
2
9191
by: Robert Oschler | last post by:
Anybody seen a Javascript function that would generate a fairly robust equivalent to the Windows GUID (Globally Unique Identifier)? thx Robert Oschler "Let the web hear you, add your voice to your web site in minutes!" -- http://audiodirect.spiderchase.com/
11
4277
by: (Pete Cresswell) | last post by:
I'd like to avoid coding a long set of IF... OR IF...statements. I can do a Select Case, but that would only let me case out on a single value. What I'm looking for is something like If thisVal OR thatVal AMONG("X", "Y", "Z").... The main thing is getting the allowed values in one place where the next guy can
24
40182
by: Nudge | last post by:
I have an array, and an unrolled loop which looks like this: do_something(A); do_something(A); .... do_something(A); I thought: why should I type so much? I should write a macro. So I was looking to write something along the lines of:
11
1926
by: Kobu | last post by:
Hi, I've gotten into the habit of mentally converting big expressions to parse tress (started doing this after reading some c.l.c posts on parse trees). Can someone verify if the following assumptions are correct? 1) For ++n, one can us (n=n+1) as it's equivalent:
27
6668
by: junky_fellow | last post by:
Is *ptr++ equivalent to *(ptr++) ?
4
1241
by: Mullin Yu | last post by:
I want to know what's the equivalent of COM dll at .NET platform? I want to build a .NET component and will be reused by other .NET application. Any links/sample code to teach this? Thanks!
48
2734
by: Daniel Crespo | last post by:
Hi! I would like to know how can I do the PHP ternary operator/statement (... ? ... : ...) in Python... I want to something like: a = {'Huge': (quantity>90) ? True : False} Any suggestions?
3
3134
by: David MacKay | last post by:
Dear Greater Py, <motivation note="reading this bit is optional"> I am writing a command-line reader for python. I'm trying to write something with the same brevity as perl's one-liner eval "\$$1=\$2" while @ARGV && $ARGV=~ /^(\w+)=(.*)/ && shift;
13
8568
by: lossed | last post by:
Hi everyone, Please excuse me if this has been asked before or sounds a bit dim. This is a question asked on another forum but the solutions being offered are focussing on programming rather than letting the DB server do the work, which I'm not sure is the most efficient solution. However, my confession is I dont use SQL server so can't help them directly with the syntax. Hopefully you can help me help them and learn a little about SQL...
0
8382
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8297
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8816
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8498
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7311
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1930
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1600
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.