[thelist] CSS Positioning help - box outline probs in NS & Opera
Marc Seyon
seyon at delime.com
Fri Apr 5 20:45:00 CST 2002
Message from Kevin (4/5/2002 10:22 PM)
> > >2) The pink box with code in the centre. How do I make that wrap to
> the size
> > >of the text inside it?
>
>It's currently stretching to the size of the containing DIV.
>I'd like it to only be as wide as the larget element inside it.
>
>e.g.
>I'd like it like this:
>
> ----------------------
>| a |
>| b |
>| cccccccccccccccccccc |
>| d |
> ----------------------
>
>And it would shrink to fit the content.
Understand what you're saying but not sure how to implement it.
good luck.
-marc
More information about the thelist
mailing list