Hi

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 and displayed in a colored rectangle with a
black border.

Apparently in IE6 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.

However in IE7 the box shrinks, while the text does not. The user can scroll
right to see the rest of the text, but the "box" margin cuts through the
text.

Having observed that Firefox 3 and Opera 9 behave similarly to IE7, I guess
that IE7 is probably doing the right thing and I am relying on an IE6 quirk.
The question is, can I implement the same behaviour in IE7?

Cheers
Trevor


______________________________________________________________________
css-discuss [[email protected]]
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