Closed
Bug 311248
Opened 20 years ago
Closed 20 years ago
Image doesn't show
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: fleona, Unassigned)
Details
Attachments
(1 file)
|
421 bytes,
text/html
|
Details |
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
| Reporter | ||
Comment 1•20 years ago
|
||
Testcase. IE shows this properly and the html and css code are valid
| Reporter | ||
Comment 2•20 years ago
|
||
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
Comment 4•20 years ago
|
||
*** 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.
Description
•