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:

  • 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.

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

February 2025

S M T W T F S
      1
2345678
91011121314 15
16171819202122
232425262728 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 2nd, 2025 21:32
Powered by Dreamwidth Studios