hi there,
I am building a website in which I have an animation: basically a background with modified images appearing over time....
With position: absolute (CSS) I can get everything working fine on any browser (logically).
However, I want to be able to centre the image. As soon as I make the positioning relative I get a cross-browser variation of one pixel (only for top).
Before I get into all kinds of difficult solutions like browser detection, I was wondering if anybody has any interesting suggestions?
Just to give you an idea, here are the pages:
- absolute:
www.bossnfish.nl/box/
- relative:
www.bossnfish.nl/box/testing.html
Apologies its not directly related to PHP - most of website is though ;)
Many thanks.