Forum Moderators: not2easy

Message Too Old, No Replies

white-space: nowrap

IE crashing on window resize

         

green parrot

10:40 am on Dec 20, 2004 (gmt 0)

10+ Year Member



Hi

I have a <ul> menu with display set to inline. In order to stop the links from wrapping i have used

ul { white-space:nowrap }

in my css. This works great in Mozilla Firefox and Netscape but when i resize the window horizontally to just under 50% IE (5.5 and 6.0) just freezes up.

The only reason i am using white-space:nowrap is because IE can't get it right in the first place.

My doctype is xhtml 1.0 strict. This doesn't happen if i use Quirksmode, but that messes something else up.

Is there any way around this?

Please help. Thanks.

SuzyUK

8:54 am on Dec 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi green_parrot - Welcome to WebmasterWorld..

Is there any way around this?

I honestly don't know never having seen it before but IE is buggy with whitespace in lists anyway ;)

just to check, are you positive it's the list alone causing this as in have you removed it and it's CSS to seperate test page with nothing else on it (no scripts, content divs etc..)?

and if so does it still happen then? if you have and it does can you post the short code sample you have isolated..

It could be that floats may be a better option for IE - I usually use them for inline lists.

has anyone else has seen this before?

Suzy