Forum Moderators: not2easy

Message Too Old, No Replies

ie5.5 and white-space

internet explorer 5.5 ignoring white-space element

         

mantra

11:28 pm on Mar 15, 2005 (gmt 0)

10+ Year Member



Was wondering if anybody can help me out. i am using white-space: pre; in my css, works fine across ie6, firefox etc but low and behold ie5.5 is just completely ignoring it. Supposedly 5.5 supports white-space? Anybody know why this ain't working, or how to make it work? my page is in standards mode.

Cheers.

MatthewHSE

5:42 pm on Mar 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



First off, Welcome to Webmaster World!

To answer your question, it looks like IE doesn't support the

pre
property at all, according to w3schools.com [w3schools.com].

Unfortunately I don't have a suggestion on what else to use. Would the nowrap property work?

incrediBILL

5:50 pm on Mar 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Don't know what your visitors stats are like, but I get over 300,000 visitors a month and IE5 is statistically insiginificant @ 1.03%. Anything under 5% I tend not to worry about it being squeaky clean, as long as the page renders and can be used, it's good enough even if it has a few blemishes.

mantra

11:12 pm on Mar 16, 2005 (gmt 0)

10+ Year Member



have fiddled around with various element options, no luck. Unfortunately i have just had to bloat the code creating a class with margin settings to generate the gap required. I'm still trying to find a better way around it however.

As for being insignificant i agree. unfortunately where i work still insists for the time being on code being compatitble for it. This will change soon enough, but until then i have follow suite.