- Messages
- 29,411
- Name
- Marcel
- Edit My Images
- Yes
Been trying to get the image fade / mouse rollover working on my photoblog.
Successfully managed it this morning using jquery.js.
However, there is a problem with the positioning in Firefox.
Chrome = Perfect
Safari = Perfect
Firefox = Buggered.
http://www.marcelbooth.co.uk/photoblog/
This is Chrome (and Safari)
This is Firefox
You can see it aligns the top left of the top image to the centre of the page.
Here is the CSS that I'm using
Successfully managed it this morning using jquery.js.
However, there is a problem with the positioning in Firefox.
Chrome = Perfect
Safari = Perfect
Firefox = Buggered.
http://www.marcelbooth.co.uk/photoblog/
This is Chrome (and Safari)
This is Firefox
You can see it aligns the top left of the top image to the centre of the page.
Here is the CSS that I'm using
Code:
div.fadeoriginal {
position: relative;
}
img.a {
position: absolute;
left: 50%
/*left: 0px;
top: 0px;*/
z-index: 10;
}
img.b {
position: inherit;
/*left: 0px;
top: 0px;*/
margin-top: -16px;
}