The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

z-index

View previous topic View next topic Go down

Solved z-index

Post by Mr Rockeye on 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
Forumember

Posts : 86
Reputation : 1
Language : English

http://www.unitedcommunity.tk

Back to top Go down

Solved Re: z-index

Post by RadioHead on 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
Forumember

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

Back to top Go down

Solved Re: z-index

Post by Ange Tuteur on 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
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: z-index

Post by Mr Rockeye on 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
Forumember

Posts : 86
Reputation : 1
Language : English

http://www.unitedcommunity.tk

Back to top Go down

Solved Re: z-index

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

Problem solved & topic archived.


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


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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