Michael Beaudoin wrote:
> Hi all,
>
> I'm working through a simple site utilizing some <div>'s within a container
> <div> and I'm missing something simple to get the complete thing to center.
> For some reason, when I go to center the container <div> it's only centering
> the Flash piece. I know it's a vague description, so see the link below...
>
> You can go here: http://www.ba-doyn.com/junk/ and view.
>
> I'm sure it's something so simple but I'm just drawing a blank.
>
> Thanks,
> Michael
>
It is simple. Add an xhtml or html strict doctype and correct the 50
markup validation errors.
To center it add this selector to the style sheet:
#containter {border: 1px dashed fuchsia;width:1024px; margin:0 auto;}
--
A thin red line and a salmon-color ampersand forthcoming.
http://chelseacreekstudio.com/
______________________________________________________________________
css-discuss [[email protected]]
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/