Sent by Richard Hall on 17 October 2003 17:05
At 02:32 AM 10/17/2003, you wrote:
>On 16 Oct 2003 at 23:34, Jason Estes wrote:
>
> >
> >
> > > Is there a way to redefine image tags so that images will always be
> > > centered? If so, how?
> > >
> > Put it in a div and set the text-align to center for that div. That
> > should help you out.
>
>
>Another way:
>
>img {
> display: block;
> margin: 0 auto; /* Won't work in Win/IE<6 */
>}
>
>--
>Choan
.... thanks ... I'm wondering why text-align: center doesn't work in IE, so
that you could put the margin auto for Gecko and text-align for IE?
.... Richard
Richard Hall
http://www.mediatation.net
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/