On 11/7/06, Dennis Bixler <[EMAIL PROTECTED]> wrote:

> Subject: Re: [css-d] Can't figure this out - Center a div with variable
> width
>
> Hi Clint,
>
> Yes, I understand that part. But the problem is that the content
> changes. Thus, I can not specify the width for the content div.
> That's where the problem is. Any other ideas?

Give its parent text-align:center; and give the div display:inline; ?

-- 
Richard Grevers, New Plymouth, New Zealand
Hat 1: Development Engineer, Webfarm Ltd.
Hat 2: Dramatic Design www.dramatic.co.nz
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to