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
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
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
-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
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
__