On 8/14/14, 11:06, Tim Dawson wrote:
I'm coding a new site and am struggling with a 'wrapping' problem in the header.
[...]
It works except that I always get two pixels worth of the <div> background
showing at the bottom of the images, and I cannot work out why.
You can see it at: http://webadit.co.uk/hminew3/ (site is far from complete)
[...]
Hi Tim,
Instead of this:
> .pananim img {
> position: absolute;
> top: 0;
> left: 0;
> margin-top: 48px;
> width: 100%;
> opacity: 0;
> }
try changing the line "top: 0;" to "bottom: 0;"
Not tested thoroughly across browsers though!
--
Cordially,
David
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/