Trevor Nicholls wrote:

> Example found at http://homepages.ihug.co.nz/~tmjpbn/csw5.html

> I have a (div) code fragment which has a text content (div) 'fragbody',
> styled with white-space:nowrap ...

You could use white-space: pre; which would give the same no-wrap effect 
but you could eliminate all the (21 in this case)   characters.


> ... if the browser window is narrowed the border and colored
> background "box" will not shrink to be smaller than the text, and the user
> can scroll right to see the end of the text and the edge of the box. This is
> the desired behaviour.


Would floats be an option? I achieved what I /think/ you're after by 
floating both divs.
<http://www.stoneladder.ca/sandbox/css/nowrap-01.html>

-- 
Brian

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to