Jump to content

Recommended Posts

Posted

Okay, I asked for help on another message board but no ones even bothered to reply. I don't know if my question is difficult or if I'm actually doing everything right and something unknown is happening to ruin the layout I'm coding.

 

Anyways, I'm coding a div layout and for the first time ever, I'm using z-index. I know how to use it and what it does and I even went to the TryIt Editor on W3Schools to test out my code and see that I'm doing it right, but the friggin' thing just doesn't work out. Every time the z-index is set to '-1' like it needs to be, it just disappears when it should simply hide behind the layer of text I placed over top of it. I even copied and pasted W3Schools exact code without altering it one bit and even that doesn't display correctly.

 

Please, someone help me out with this.

 

Oh, and here's the code. I basically stripped everything but what I'm having problems with out of it to see if something else was interfering but that didn't help either.

<html>
<head>
<title> Site Title </title>
</head>
<body>

<img alt="" src="images/04.gif" style="position:absolute;top:0px;left:285px;z-index:-1;width:495px;height:170px;border:0px;" />
<p>Content goes here.</p>

</body>
</html>

  • 3 weeks later...
Posted
I prefer you to use dreamweaver which wont trouble you and is also easy to use.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...