This is the markup
div.shadow | div#content |img.shadow |
Is there a way to ensure that the shadow images always maintain the same height as the content area? The challenge lies in the fact that the content area can adjust its size based on different factors, such as tabs with varying heights or sections that appear conditionally. While I managed to use JavaScript to set the initial height of the shadows, it becomes problematic when the #content height changes dynamically.
Perhaps this clarifies the issue
The real question is
How can I ensure that the images (grey boxes) resize proportionately to the content (light grey box)?