The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

white-space: nowrap not working in Opera

Forums » Dev.Opera » General Web Development Discussions

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

10. October 2011, 18:18:31

Atolla

Posts: 2

white-space: nowrap not working in Opera

Hi,

I only recently noticed that white-space: nowrap doesn't appear to be working.

The w3schools example wraps as if white-space: normal is set:
http://www.w3schools.com/cssref/playit.asp?filename=playcss_white-space&preval=nowrap

This is a simple example I made myself:

<div style="white-space: nowrap; width: 100px">
Lorizzle phat dolor i saw beyonces tizzles and my pizzle went crizzle amizzle, izzle adipiscing fo shizzle. Cool go to hizzle velit, shit boom shackalack, suscipizzle quizzle, nizzle vel, we gonna chung. Pellentesque eget tortor. Sizzle eros. Gangster izzle mah nizzle nizzle nizzle tempizzle mofo. Mauris pellentesque nibh izzle turpis. Vestibulum izzle tortor. Pellentesque check out this rhoncizzle nisi. In hac habitasse dictumst. Own yo' dapibizzle. Mofo tellizzle urna, pretizzle pot, mattis things, eleifend uhuh ... yih!, nunc. Sheezy suscipizzle. Integer sempizzle go to hizzle sed purizzle.
</div>


Same result. Firefox and Rekonq (webkit) do produce the right results.

Does anybody know what's going on? I have the suspicion that a recent Opera update is at fault.. I'm using Kubuntu Natty 64-bit, Opera 11.51.

1. November 2011, 16:20:03

Frenzie

Posts: 15571

Doesn't wrap for me in 11.52 (Debian Squeeze x64 and Ubuntu 11.10 x64)

Perhaps you've enabled fit to width?
The DnD Sanctuary — a safety net for My Opera's demise.

2. November 2011, 00:11:27

Atolla

Posts: 2

Thanks! That was it! Still a bug IMO, it also wraps elements smaller than the screen width.

Forums » Dev.Opera » General Web Development Discussions