Search in forum:
Search


Author Message
Post08/09/2008 at 2:27pm (UTC)    
Post subject: layers

Hey
I tried to give my website several layers but this just work with one single layer...
I want this:
One big image in the brackground which is linked to a website.
I want to write text onto this image which is also linked to a website.

I got it work so that i've got a background-image:Unfortunately i cannot give it a link...

So i tried to modify the sourcecode but this just doesn't work...

Second problem: I cannot use style="position:absolute; top......

Maybe you can get it to work:

Here is my code:

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html><head><title>background-position</title>
<style type="text/css">

#NZ_bg {
background-repeat:no-repeat;
background-position: 0px 0px;
width: 727px;
height:969px;
}
#NZ_labels {
background-repeat:no-repeat;
background-position: 0px 0px;
}

a.frameshome:link {color:#BDBDBD;}

.NZ_image{
z-index: 1
}

.NZ_image_labels{
z-index: 2
}
</style>
</head>

<body>

<div id="NZ_bg">
<label class="NZ_image">
<img alt="NZ_aerial_image" src="image.jpg" />
</label>
</div>


<div id="NZ_labels">
<label class="nz_image_Labels">
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.google.com" class="frameshome">
<font size="5" color="#aa0000">Nelson</font></a>
</label>
</div>

</body></html>


greetz
Display posts from previous:   


Powered by phpBB © 2001, 2005 phpBB Group