Reputation: 317
I have an image on this website . It shows up on every browser, but its positioned wrong in Firefox. I also have another image, on the same website, in the maze, when you open it in safari, its a gray box. How do I fix this? Thanks!
Upvotes: 0
Views: 96
Reputation: 362
This is because position: relative
is undefined in the Firefox rendering engine. Therefore your absolutely positioned image jumps to the next parent element which has positioning (the section
element).
If you just remove the absolute positioning on the image, it looks like it is in the correct spot anyways.
Upvotes: 1
Reputation: 7332
You can achieve this by removing the below property from image
position:absolute;
If 'absolute' is necessary, Try adding this in your CSS
.finish {
display: block;
position: relative;
}
Hope it will help you to align 'finish' image
Upvotes: 1