I have a page which contains a paragraph of links to our products at the bottom of a form.
This is the format but there are a couple of hundred items.
The I want to prevent the descriptions ie. 'small black box'
from wrapping at the end of a line so keeping descriptions together.
I have tried
but this works too well and puts the entire paragraph in a single line making the page very wide.
How can I force it to wrap at the end of the last full decription on each line?
Keith
This is the format but there are a couple of hundred items.
Code:
<div class="lynx">
<a href='[URL unfurl="true"]http://www.somesite.co.uk?script.cgi?item=tiny[/URL] black box'>tiny black box</a>
<a href='[URL unfurl="true"]http://www.somesite.co.uk?script.cgi?item=small[/URL] black box'>small black box</a>
<a href='[URL unfurl="true"]http://www.somesite.co.uk?script.cgi?item=medium[/URL] black box'>medium black box</a>
<a href='[URL unfurl="true"]http://www.somesite.co.uk?script.cgi?item=large[/URL] black box'>large black box</a>
</div>
from wrapping at the end of a line so keeping descriptions together.
I have tried
Code:
white-space: nowrap
How can I force it to wrap at the end of the last full decription on each line?
Keith