Op 23-okt-2006, om 20:07 heeft martin f krafft het volgende geschreven:
> Hi all,
>
> In most browsers, I can do things like
>
> img.logo { margin: 0 auto; }
>
> which results in the element centred within its parent container.
>
> Of course, this does not work with IE. Short of adding
> a text-align:center to the parent (which is *not* what I want), how
> can one get the same effect with IE?
>
> Cheers,
>
> --
> martin; (greetings from the heart of the sun.)
> \____ echo mailto: !#^."<*>"|tr "<*> mailto:" [EMAIL PROTECTED]
Use text-align: center; on the parent element.
Stefan
______________________________________________________________________
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/