Re: [css-d] Left 50% margin- 497

2007-07-11 Thread Ernie Finlay
Hi Garry,you are correct, the #page coding is not required when using a width of 994px,it works great on much lesser widths( say 700px) to center the #page. Ernie. >From: Colin Mcgarry <[EMAIL PROTECTED]> >To: css-d@lists.css-discuss.org >Subject: [css-d] Left 50% margin- 497

Re: [css-d] Left 50% margin- 497

2007-07-10 Thread David Dorward
On 07/07/07, Colin Mcgarry <[EMAIL PROTECTED]> wrote: > left: 50%; > margin-left: -497px; > I can follow the logic of this but is it better than > left 0 > margin 0 Assuming you mean margin: auto; for centring, then it has the advantage that it works in IE 5.x and earlier without

Re: [css-d] Left 50% margin- 497

2007-07-09 Thread David Hucklesby
On Sat, 07 Jul 2007 12:28:20 +0200, Colin Mcgarry wrote: > Looking at the css of a website I was visiting i noticed the following page > layout. > > #page { > position: absolute; > width: 994px; > left: 50%; > margin-left: -497px; > } > > I can follow the logic of this but is it better than left 0

Re: [css-d] Left 50% margin- 497

2007-07-09 Thread Ricky Zhou
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Colin Mcgarry wrote: > Looking at the css of a website I was visiting i noticed the following > page layout. > > #page { > position: absolute; > width: 994px; > left: 50%; > margin-left: -497px; > } > > I can follow the logi

[css-d] Left 50% margin- 497

2007-07-09 Thread Colin Mcgarry
Looking at the css of a website I was visiting i noticed the following page layout. #page { position: absolute; width: 994px; left: 50%; margin-left: -497px; } I can follow the logic of this but is it better than left 0 margin 0 __