NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming > CODE
Reload this Page CSS - Layers

CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here.

Advanced Search
7 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 09-25-2003, 12:37 AM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Aug 2003
Posts: 36
Tempest is an unknown quantity at this point
 



CSS - Layers


**
This code is used to place an image behind text. You can change the left and top dimensions to move the image anywhere on the page - (be sure to replace "yourimage.gif" with the appropriate image)
**


<html>

<head>
<style type="text/css">
img.x {position: absolute; left: 10; top: 20; z-index: -1}
</style>
</head>

<body>

<h1>You can enter your text here...</h1>
<img class="x" src="yourimage.gif" width="100" height="100">

<p>z-index is always default at 0. -1 will place the image behind the text...</p>
????: NamePros.com http://www.namepros.com/code/15299-css-layers.html

</body>
</html>
Tempest is offline  
Old 09-25-2003, 04:57 AM   #2 (permalink)
NamePros Member
Join Date: Jul 2003
Posts: 118
web guru is an unknown quantity at this point
 



Nice one!!
web guru is offline  
Old 12-30-2003, 12:24 PM   #3 (permalink)
NamePros Regular
Join Date: Jun 2003
Location: California
Posts: 245
Alpha is an unknown quantity at this point
 



Cool. I'm gonna have to try it. I've been working on a CSS lately so it'll be easy to implement this. In fact, I'm getting ideas already Thanks!
__________________
--Alpha
Alpha is offline  
Old 05-20-2004, 04:56 PM   #4 (permalink)
Account Closed
 
BoRiCuA's Avatar
Join Date: Apr 2004
Location: Connecticut
Posts: 586
BoRiCuA is just really niceBoRiCuA is just really niceBoRiCuA is just really niceBoRiCuA is just really nice
 



Dang this is nice!!! Never knew it existed tho

!!!
BoRiCuA is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:26 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger