Re: Float and Shrinkwrap

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ben C

    Re: Float and Shrinkwrap

    On 2008-04-04, Jeff <jeff@spam_me_n ot.comwrote:
    dorayme wrote:
    >In article <MPWdnYQR98QBFW janZ2dnUVZ_sedn Z2d@golden.net> ,
    > Gus Richter <gusrichter@net scape.netwrote:
    >>
    >>#shrink {border: 1px solid;backgroun d: #ffc;width:8em; }
    >>
    >OK Gus, will take a look. But I am puzzled why you talk of #shrink being
    >"shrinkwrapped "
    >
    Oh, there is some web design book that calls it that. I had never heard
    of it until then.
    >
    Something about floats shrinking to the minimum size of the contents,
    again something I'm unfamiliar with.
    >
    Perhaps someone can elaborate on this.
    Yes, it's called "shrink-to-fit" and describes the width you get when
    you set width to auto on certain elements (tables, table cells, floats,
    absolutely or fixed positioned boxes).

    It is a technical term and is in the CSS spec.

    But I don't think that's what Gus meant by "shrinkwrap ". I think he just
    meant "contains inline content that happens to flow around floats".
Working...