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.

Template Questions /

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


Reply


2 Posts   495 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
Pigeon

Community Member, 243 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.