[thelist] CSS Positioning help - box outline probs in NS & Opera

Daniel Frey danieljohnfrey at yahoo.com
Tue Apr 9 05:35:01 CDT 2002


I think it's due to the with attribute in the CSS that you have set to
70% and 50% for the boxes.  I'd try:  1)  removing the width attribute
altogether or 2) setting it to 1% in order to trick the browser to
stretching to width.

HTH,
Dan

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org] On Behalf Of Marc Seyon
Sent: Friday, April 05, 2002 9:44 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] CSS Positioning help - box outline probs in NS &
Opera

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
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the thelist mailing list