Here's an arbitarily narrow column with an unordered list inside. The list is styled to not wrap its elements, but I'll override that for a few particular elements. Lets see:
fits.
this doesn't fit inside.
this doesn't fit either, but it'll wrap.
again, this won't fit, either.
This works in Firefox 1.5, but IE 6.0 seems to ignore the width: 150px completely when you specify white-space: nowrap. My guess is that IE's box model doesn't allow child elements to bleed outside its parent elements.
no subject
Date: 2006-08-12 20:30 (UTC)Here's an arbitarily narrow column with an unordered list inside. The list is styled to not wrap its elements, but I'll override that for a few particular elements. Lets see:
This works in Firefox 1.5, but IE 6.0 seems to ignore the width: 150px completely when you specify white-space: nowrap. My guess is that IE's box model doesn't allow child elements to bleed outside its parent elements.