PDA

View Full Version : Boxmodel ordering???



Jaana M
20th Nov 2011, 06:47 pm
Can you reorder div's in CSS somehow?? My background "hover" is behind the middle columns (because it is behind the column in HTML i guess??). Is there any way to position div's back or forward, kind of you can do at PowerPoint, "send back-bring forward" option. As if I change the order at HTML the footer starts to play up and wont stick at the bottom of the page. Or is there something else I am still doing wrong??
I could just remove the "background hover" but ...

Pls refer to:
http://www.jaanamerilepp.com/baker/bake.html
(see the left navigation panel)

Any comments?? Any help??

David
21st Nov 2011, 01:51 pm
It is possible to change the display order using z-index but this only works if the element is positioned absolute, relative or fixed. See here for details: http://coding.smashingmagazine.com/2009/09/15/the-z-index-css-property-a-comprehensive-look/