How to auto adjust (stretch) div height and width using jQuery or CSS
问题 I have 4 divs with ids A, B, C and D, like below; <div id="A"></div> <div id="content"> <div id="B"></div> <div id="C"></div> </div> <div id="D"></div> Div A & D have fixed width & height. Div B has fixed width. I want the height of Div B and height + width of Div C calculated automatically. I want to stretch Divs B and C in between div A and D. Also I want to stretch Div c in between div B and right margin. The page thus wont be having any scroll bars and empty space. My expected layout is