Sent by Big John on 29 July 2002 22:10
--- Miraz Jordan wrote:
> <http://homepages.paradise.net.nz/~miraz/rawhiti/index.html>
> All the photos float to the right as desired, except
> on the home page I want the panorama centered.
> I've tried display: block, margin: auto and various
> other things and can't make it happen.
Hi Miraz!
It can't happen 'cause in the css is:
#content img {float: right;}
You need to add:
#panorama img {float: none;}
Make sure it follows the first rule, or it will be
overruled. Then remove the 'display: block' from
that image, and give #panorama 'text-align: center;'.
You may also want to add a right padding similar to
the left padding on #content, to fully center that
image.
HTH
Big John
=====
"What the world needs is a good bug ring"--Big John
<http://users.rraz.net/mc_on_the_rocks/testpage/pie.html>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com