- div " " "" "" div, , , "" "" div .
: CSS,
: ( : http://jsfiddle.net/Wd2rL/9/)
.switch-toggle a {
position: absolute;
top: 0;
left: 0;
padding: 0;
z-index: 6; // changed from 1
opacity: 0.5; // added
cursor:default; // added
width: 50%;
height: 100%; }
2
, IE (8 ), css, : checked, z- . , div/.
/ :checked:
#week, #month {
z-index: 6;
}
#week:checked {
z-index: 1;
}
#month:checked {
z-index: 1;
}
, - , div , .
, , , , ( : / ).
IE8, , : / div