[thelist] CSS Positioning help - box outline probs in NS & Opera
Kevin
p+evolt at redbrick.dcu.ie
Fri Apr 5 15:23:01 CST 2002
On Fri, Apr 05, 2002 at 04:46:40PM -0400, Marc Seyon wrote:
> Might want to remove the height attribute - probably a remnant from
> copy/pasting the code from your #header rule :-)
Yup, dammit,
I should really be shot for that mistake. (o:
Thanks. (:
> >2) The pink box with code in the centre. How do I make that wrap to the size
> >of the text inside it?
> Pink box worked fine for me... not sure what the problem you're
> encountering is.
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.
I hope i've explained myself.
Thanks,
- Kevin
More information about the thelist
mailing list