[dev] Re: [cvs] commit: ansel/lib/Block random_gallery.php random_photo.php

Chuck Hagenbuch chuck at horde.org
Sat Nov 13 10:37:08 PST 2004


Quoting Ronny Adsetts <ronny.adsetts at amazinginternet.com>:

> To center stuff in CSS, you generally have to have the left and right margins
> set to auto.

Which doesn't work in IE/windows.

> The text-align refers to contents of a block so you need to also
> mostly have the parent element set text-align: center.

Which works in IE because it's a bug; it's only supposed to refer to text.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list