Closed Bug 311248 Opened 20 years ago Closed 20 years ago

Image doesn't show

Categories

(Firefox :: General, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 78087

People

(Reporter: fleona, Unassigned)

Details

Attachments

(1 file)

A simple testcase loading an image shows up blank. The html and css code have been reduced to the minimum and the code validates properly. Also, firefox can view the image properly by itself so the problem isn't in the image. Only tested with winxp sp2 and firefox 1.5 beta 1. Testcase below
Attached file Testcase
Testcase. IE shows this properly and the html and css code are valid
The problem is with the z-index: -3; line Funny thing is that if you go to w3schools and try the demo: http://www.w3schools.com/css/tryit.asp?filename=trycss_zindex2 it works. I also tried pasting this code on that demo and verify that it worked: <html> <head> <style type="text/css"> .x { position:absolute; left:0px; top:0px; z-index:-3; } </style> </head> <body> <p><img class="x" src="bulbon.gif" width="100" height="180"> </p> </body> </html> This exact code works when using the tryit editor on w3schools, but doesn't work if i save it to a local file! And on IE it works anywhere i try it. Really strange bug
*** This bug has been marked as a duplicate of 78087 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: