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 the need for an
extra element, and the disadvantage that it can position content off
the left hand edge of the window with no way to scroll to it.

Personally, I'd avoid the technique. If you really need to support
versions of IE that ancient, then an extra element is a smaller price
to pay to rendering content inaccessible.

-- 
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to