Please take a look of this example
There is a div
(dashed) which has three div
(red, black & blue) inside of it. If i re-size dashed div, all three div re-size automatically but when i re size the red color div it only re-sizes but i want to fit into the container when i re-size the red div and vice-verse.
is there anyway to re-size any element along with change the siblings size in ratio?
U can use alsoresize
Have a look here Code