>> Oops. I probably should have mentioned that I also want to center the
>> result horizontally in the browser window.
>> 
>> After trying a whole bunch of things, I'm going to guess that it
can't
>> be done using this method.
>> 

>Well how about something like this:
>
>body {
>    text-align: center;
>    width: 100%;
>    margin: auto;
>}
>#container {
>    border: 2px solid #ff4444; 
>    width: 800px;
>    margin: 0 auto;
>    text-align: left;
}
>#form1 {
>    border: 1px solid #4444ff;
>}
>
>You can't have float and center at the same time in this situation.

That is a good reply, and it works, but I was trying to get away with
the container div self-sizing to it's content and then having it be
centered without having to specifically dimension it.

Barry Brevik
______________________________________________________________________
css-discuss [css-d@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