Hey all,
The following is modified code taken directly from W3schools.com which works on their tryit editor. I took it and created it as a file on my frihost hosted website, but the image was not displayed. Is there something that needs to be changed for this code to work in different versions?
Thanks.
The following is modified code taken directly from W3schools.com which works on their tryit editor. I took it and created it as a file on my frihost hosted website, but the image was not displayed. Is there something that needs to be changed for this code to work in different versions?
| Code: |
| <html>
<head> <style type="text/css"> img.x { position:absolute; left:0px; top:0px; z-index:-1 } </style> </head> <body> <h1>This is a Heading</h1> <img class="x" src="http://iequalsgamer.frih.net/Sidebar.jpg" width="100" height="180"> <p>Default z-index is 0. Z-index -1 has lower priority.</p> </body> </html> |
Thanks.
