• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

The CSS alternative

NO! And I'm very PO'd about this.

First, NOBR was never standard, but a damn' good tag.

In CSS you have white-space: nowrap, but that only applies to block level elements. For inline elements (text level) they think & n b s p ; is sufficient. It's not!

What if you have something like 123-123-123-123? The browser thinks it's OK to break the line at a hyphen. Nice. Do you want to put & n b s p ; around all hyphens? No. Different kinds of code that is mixed with ordinary text also become a mess.

If you don't want to start a new block, break the line before and after the nobreaking text, there is no standard way to do it. Soon browsers will stop to support <NOBR> and then there will be no way at all to do it.

Sometimes w3c sucks big time.
Grrrrrrrrrrrrrrrrrr. :mad:
 
Last edited:
Back
Top