Within my application, there exists a multitude of div elements that share identical backgrounds and borders but vary in size.
Having to utilize the same background image for each individual div proves to be highly inefficient, particularly in terms of bandwidth and performance.
I will present to you the concept of breaking down the div into 4 corners (consistently the same), 4 sides (with background-repeat: repeat x or repeat y) and one center div.
I have considered that it might be more effective to approach this using CSS 2 rather than adopting CSS 3, to ensure maximum compatibility.
Could there possibly be an alternative method to achieve this? Would such an approach place a heavy burden on the client's browser or server resources?