html - Attempt at foreground image not working -


i need page has image overlapping entire page. have code right image being appended bottom.

any help/suggestions appreciated!

html code

<html>   <head>     <link rel="stylesheet" href="/media/themes/txt/css/record_keeper/training_report.css" />   </head>    <body style="position:relative;">     <div class="content">        <p>content here</p>     </div>     <img src="/media/images/record_keeper/lines.jpg" style="z-index:10; position:relative;">   </body> </html> 

if want have image right on top, need use position: absolute, , give top, left etc options.:

<img src="/media/images/record_keeper/lines.jpg" style="z-index:10; position:absolute; top:0; left:0;"> 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -