Log In · Register

 
help with div layers and transparency, WTF IS Z-INDEX!?! and how do u use it?
add1cted2f1re
post Nov 20 2005, 09:15 PM
Post #1


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



click here to see whats going on

i want the kiby to:
-have a transparent background <-- most important
-go ON TOP of the blog area (see how its UNDER it)

heres my code



thnks!
 
 
Start new topic
Replies (1 - 9)
talcumpowder
post Nov 20 2005, 09:28 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



You have to save it with a transparent background.
[ http://www.bigbaer.com/css_tutorials/css.image.text.wrap.htm ]
^ For the other question.

edit// Meh. Doesn't work so well on Xanga, what you're trying to do.
You need to use z-indexes, otherwise I'm not sure of the solution.
 
add1cted2f1re
post Nov 20 2005, 09:33 PM
Post #3


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



QUOTE(fishcake-y @ Nov 20 2005, 10:28 PM)
You have to save it with a transparent background.
[ http://www.bigbaer.com/css_tutorials/css.image.text.wrap.htm ]
^ For the other question.

edit// Meh. Doesn't work so well on Xanga, what you're trying to do.
You need to use z-indexes, otherwise I'm not sure of the solution.

*



>.< whats a z-index!?
 
talcumpowder
post Nov 20 2005, 10:29 PM
Post #4


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Bother to search?
[ http://www.createblog.com/forums/index.php?showtopic=16416 ]
 
add1cted2f1re
post Nov 20 2005, 10:37 PM
Post #5


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



QUOTE(fishcake-y @ Nov 20 2005, 11:29 PM)


i did! but i read the 1st line and i was like wtf!?

QUOTE
Note: This tutorial does not work on xanga. ONLY WEBSITES.
 
talcumpowder
post Nov 20 2005, 10:39 PM
Post #6


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Some parts. Like the styles don't work very well... z-indexes still work, or should.
It's not like they do damage or are hackable.
 
add1cted2f1re
post Nov 20 2005, 10:42 PM
Post #7


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



QUOTE(fishcake-y @ Nov 20 2005, 11:39 PM)
Some parts. Like the styles don't work very well... z-indexes still work, or should.
It's not like they do damage or are hackable.

*


that tut. didnt even explain what to DO with z-indexes.... they were just THERE
 
waccoon
post Nov 20 2005, 10:47 PM
Post #8


We are the cure.
*******

Group: Staff Alumni
Posts: 4,936
Joined: Jan 2004
Member No: 1,456



Z-Index only applies to objects that have the position property set to relative or absolute. It's kind of like layering - lower indexes are on top of higher indexes. (Correct me if I'm wrong, I haven't coded in a looong time..)
 
add1cted2f1re
post Nov 20 2005, 10:51 PM
Post #9


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



i tried that, but, it didnt work... i really want that kirby on top (AND TO BE TRANSPARENT.... mad.gif )
 
pure_doxy
post Nov 21 2005, 11:55 AM
Post #10


Member
**

Group: Member
Posts: 24
Joined: Aug 2004
Member No: 36,489



z-index just says what order you want the layers to be in on your xanga. Simpler explaination:

a div layer with the z-index of 1 will be the first layer closest to the page, and you build up. So your background will generally be z-index:1, and then your blog on top would be z-index: 2. (Or basically, layer #2)

Kind of explain it?

As for Kirby being transparent...you must make it transparent in photoshop. No code will magically cut Kirby out of the background. Open the picture in photoshop, designate a certain color to be transparent, and save as gif. If you're still not sure, I'm certain photoshop comes with its own tutorials on how to do this. Look through "Help".
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: