[BNM] rrrrgghh - why won't this centre?...

Tarun Hari tarunhari at gmail.com
Mon Feb 2 10:08:54 GMT 2009


margin: 0 auto;

needs to be applied to the cms container too



2009/2/2 Adam Mould <adam at amcreative.biz>

> morning
>
> so after a fantastic snowy dog walk and whilst my Springer sorts out
> the tennis ball sized lumps of snow attached to his feet... I'm back
> tearing my hair out with a CSS / HTML problem -  I just can't see why
> is going wrong?... :-(
>
> the HTML is:
> http://homepage.ntlworld.com/adam.mould/totty2009/basket.html
>
> the CSS is:
> http://homepage.ntlworld.com/adam.mould/totty2009/cms.css
>
> on MAC I.E 5.2 the container2 <div> item views correctly (centred and
> aligned top) but just the <cmscontainer> is 'left' aligned
>
> but weirder: SAFARI / FIREFOX the <container2> content is dragged
> down the page by the margin settings of <cmscontainer> which is also
> also aligned left
>
> am I missing something so bleeding obvious?
>
> help?
>
> ta
>
> Ad
>
>
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>


More information about the BNMlist mailing list. Powered by Wessex Networks