"margin: 0 auto" in the containing div seems like best bet, but need
to see your page to be sure... or send the div structure and css
attribs for them.
Oliver

On Mon, Jan 25, 2010 at 12:47 PM, Michael Beaudoin <mich...@ba-doyn.com> wrote:
>
>> On Mon, Jan 25, 2010 at 12:29 PM, Michael Beaudoin <mich...@ba-doyn.com
>> > wrote:
>>> Ok. An easy one for some of you on a Monday, but I'm just not
>>> seeing it.
>>>
>>> I have a div (content) and would like to center two other divs
>>> (leftContent and rightContent) within the content div.
>>>
>>> I've tried all the obvious things but they aren't working for me.
>>>
>>> Thanks,
>>> Michael
>
> On Jan 25, 2010, at 11:42 AM, Troy Harshman wrote:
>
>> Well, you've got everything wrapped in a fixed width div. So why not
>> do some math and set widths to your content divs and then position
>> with margins?
>
> Well, I need the width to expand, just changed it to 100%, but I still
> need the leftContent and rightContent to center within the Content div.
>
> Michael
> ______________________________________________________________________
> css-discuss [cs...@lists.css-discuss.org]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to