The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

z-index

4 posters

Go down

Solved z-index

Post by Mr Rockeye May 1st 2014, 12:11 pm

Hey,

So this might be a stupid question...
But what does z-index do in the css codes?


Last edited by Mr Rockeye on May 1st 2014, 9:09 pm; edited 1 time in total
Mr Rockeye
Mr Rockeye
Forumember

Posts : 86
Reputation : 1
Language : English

http://www.unitedcommunity.tk

Back to top Go down

Solved Re: z-index

Post by RadioHead May 1st 2014, 1:10 pm

Hi,

Don't be afraid to use Google ;0
> http://www.w3schools.com/cssref/pr_pos_z-index.asp
RadioHead
RadioHead
Forumember

Posts : 336
Reputation : 23
Language : English (der?)

Back to top Go down

Solved Re: z-index

Post by Ange Tuteur May 1st 2014, 5:36 pm

What Radiohead pointed you to will provide you with the information you're looking for.

Basically z-index allows you to place elements above or behind each other. Those with a higher z-index will be shown on top of an element with a lower index. (this only works for positioned elements; absolute, relative, fixed)

A quick example for you :

As you can see, the element with a higher z-index is always shown on top of an element with a lower z-index.
position:relative;
z-index:1;
position:relative;
z-index:0;


position:relative;
z-index:1;
position:relative;
z-index:2;
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: z-index

Post by Mr Rockeye May 1st 2014, 9:08 pm

Thanks a lot Smile
I searched it on google but didn't understand, now I do Very Happy.
Mr Rockeye
Mr Rockeye
Forumember

Posts : 86
Reputation : 1
Language : English

http://www.unitedcommunity.tk

Back to top Go down

Solved Re: z-index

Post by SLGray May 1st 2014, 9:24 pm

Problem solved & topic archived.


z-index Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51408
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum