aaron4osu — 2012-04-27T17:24:00-04:00 — #1
I'm trying to stack two images on top of each other inside of a div. It is working on everything (even ie) except for firefox on windows (works on firefox mac). On firefox windows it is getting positioned right next to the image instead of over it. The image on top is a overlay in the corner (for those of you looking at the link). I was hoping someone might be able to help me find what is wrong.
here is the site: http://aaronhaas.com/pitchshark7/profile.php?user_id=5
<img id='profile_overlay' src='img/users/pic_overlay3.png' >
<img id='userpic' src='img/users/pperrette_225x300.png'></img>
</div> <!-- close profile pic -->
ralphm — 2012-04-27T19:51:38-04:00 — #2
It's not working of FF Mac either. Try removing the float from #userpic . Also, the z-index won't do anything, as it only works on positioned elements.
aaron4osu — 2012-04-27T20:36:26-04:00 — #3
that fixed it thanks. I thought I had tried that but I must not have.