Question:

How do i get the stupid div to sit on top of everthing else?

by  |  earlier

0 LIKES UnLike

i want to 'overlay' as they say, an image over my myspace page.. just an image.. i don't need any of that image mapping/slicey layout stuff.

i put this

<div>

<style="float:left";

<input name="" type="image" src="http://www.fileden.com/files/2006/1...

</div>

in one of the profiles content boxes.. but the image stayed in the content box, i thought a div was supposed to sit on top of everything else?

hmm.

help pleas?

(i'm learning -and don't really know what i'm doing yet)

 Tags:

   Report

3 ANSWERS


  1. float:left is no good, you&#039;ll need position:absolute


  2. z-index= 1000

    Something like that.  You will need to put a z-index on the other divs with a lower number that you are working with too so that it&#039;s clear that it&#039;s above it all.

  3. By adding a &quot;z-index&quot; to the div-tag. You would want it to have a high number to float on top of everything else. (e.g. z-index=&quot;1000&quot;)

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.