Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-15-2011, 01:15 AM   PM User | #1
urgido
Regular Coder

 
Join Date: Aug 2005
Posts: 257
Thanks: 8
Thanked 0 Times in 0 Posts
urgido is an unknown quantity at this point
image over image

Hi,

I have problem with this code:

PHP Code:
<div style="position:absolute;float:left;"><img src="images/x.png" border="0"></div
This code attempts to superimpose an image over another. My code works in firefox but not in IE8. How I can fix?
urgido is offline   Reply With Quote
Old 02-15-2011, 01:31 AM   PM User | #2
quartzy
Regular Coder

 
Join Date: May 2009
Posts: 813
Thanks: 123
Thanked 24 Times in 24 Posts
quartzy is an unknown quantity at this point
<div style="position: absolute; left: (size); center: (size)>

You do not need the float with a pa
Give the div a position to sit on.
quartzy is offline   Reply With Quote
Old 02-15-2011, 01:47 AM   PM User | #3
urgido
Regular Coder

 
Join Date: Aug 2005
Posts: 257
Thanks: 8
Thanked 0 Times in 0 Posts
urgido is an unknown quantity at this point
Yes, I tried without success. But thanks anyway.
F* IE8:<
urgido is offline   Reply With Quote
Old 02-15-2011, 01:51 AM   PM User | #4
quartzy
Regular Coder

 
Join Date: May 2009
Posts: 813
Thanks: 123
Thanked 24 Times in 24 Posts
quartzy is an unknown quantity at this point
You will need to post more code, as the code you post is only for one image anyway.
quartzy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:06 AM.


Advertisement
Log in to turn off these ads.