Good day) When using a percentage record, the width of the element is calculated depending on the width of the parent element.
Good!
How to make that the width of a child element in percent is calculated not by the width of the parent, but by the width of the parent block of its parent!
for example
<div class="main_slider"> <div class="sliders"> <div class="img slide"> //что бы width(%) наследовался не от sliders, a от main_slider <img src="Page_bridge.jpg" alt=""> <div class="des"> <p>Good Inc. image caption to go here</p> </div> </div> </div> </div> Or is it impossible?