Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

z-index for #conent in layout.css dosen't work


Go to End


2 Posts   1200 Views

Avatar
Chriso

Community Member, 1 Post

11 February 2012 at 11:32pm

Hey Guys,

I'm new in silverstripe coding. It's great! But I want to set z-index for the #Content and/or #ContentContainer from layout.css of the tutorial. It dosen't work. Would be great if someone could help?! Thx a lot!

Avatar
dhensby

Community Member, 253 Posts

12 February 2012 at 12:18am

Z index only works on absolutely or relatively positioned elements. Without your markup or css, or knowing what you want to achieve, it's pretty hard to help further than that.