I have this code it works quite well in Firefox; but shoots to the right on Explorer. Is there anything wrong with this code that I can't see?
Your help is appreciated
<div style="position: absolute; top: 170px"><a href="http://www.mysite.com"><img src="images/sponsor.png" /></a></div>
What I'm expecting is for the image to show on top of the main header image- which works alright on Firefox, but moves to the far right in IE causing the site to break. Not sure why this is happening.
Add
left: 0px;
as well, IE probably won't give it such default value:I found out that IE won't recognize properties declared like :
- so if you have a space between
:
and20px
IE will ignore that property. I hope this helps someone.