I have 3 divs, #left, #center and #right that I want to position on the same line that has a specific width, say 300px.
#left and #right have little content, say 50px each, and I show them in full.
#center has a lot of content, say 400px, and I want to display as much as possible in the remaining space on the line. To do this, I have included the contents of #center in #inner.
I swam #left and #center left and # right to right.
<div id="left">
LEFT
</div>
<div id="center">
<div id="inner">
LONG CONTENT ...
</div>
</div>
<div id="right">
RIGHT
</div>
Violin example
Question 1: Is there a way to make the #center div take all the remaining space on the line through CSS (in our example, #center should be 200px wide - line width, 300px, minus #left and #right width, every 50px)?
2: CSS, jQuery . , IE9.
IE9 , , jQuery .
: IE9 , #left 50.5 , jQuery , 50 . IE9.
JavaScript, , IE9?