I’ve a div (inside a div) that i want to keep its background unchanged when i change upper-div’s background.
Is there a way to preserve child div’s background property?
P.S: I can’t change child div’s background to its old value manually. That’s because it has
td.name:before {
clip: rect(0px, 490px, 20px, 0px);
white-space: nowrap;
content:
position: absolute;
z-index: -1;
}
inside and when i change the page’s background i lose the “content”.
Child div’s stack order was causing the problem. Changed the “z-index” value and it’s done.