Preventing Wrapping In Text

Giganews Newsgroups
Subject: Preventing Wrapping In Text
Posted by:  CJM (cjmnew…@REMOVEMEyahoo.co.uk)
Date: Wed, 11 Jan 2006

I have an application which returns telephone numbers along with other
information. I leave the table that holds this information alone to resize
itself, but in many cases it causes telephone numbers to wrap.

I'd like these numbers to remain on one line, so either the column should
widen or they should be moved to a new line in the cell. However, previous
attempts to enforce this have failed - clearly I'm not pressing the right
buttons.

I just want to be able to enclose the numbers in a <SPAN> and style it such
that that span either wont wrap or has a minimum width. Needless to say, I'd
like as simple a cross-browser solution as possible.

Any ideas?

Thanks in advance

Chris

--
cjmnews…@REMOVEMEyahoo.co.uk
[remove the obvious bits]

Replies