I have some problems on how to program a responsive "content" box from bootstrap. As in the JsFiddle-Link shown I want to make the inner of the Bootstrap content-inner
responsive.
In the content-inner box i have
one div which has a fixed width (red)
the second container (an
article
container) is the container which should take the remaining space of the page (so as the height gets bigger the white background should get bigger and the top and bottom grey space smaller). This Container has also an overflow-y but the overflow-x is hidden because of the scroll bar on the right there would also be a scrollbar at the bottom. (green)and the third one has a fixed width, too (blue)
Attention on the space at the top and the bottom, there should be a space.
I din't really know that much methods on realizing/solving this problem.
So I searched for methods on how to realize and I found the CSS Calc() function. Is it true that this "function" is just experimental? I tested it with this function but I didn't really got a successfull result so I don't know any more methods.
My problems I got when testing to resolve this issue was that the white background of the content-inner box where all the content is located went away :/
I tried to fix it with the Bootstrap class clearfix
but I wasn't successfull.
So do you have any solution on how to solve this problem?
Thank you for all the helpfull results and answers and thank you for any help. :)