I would like for the Div element's height to only expand to as wide as my table element becomes, but keep it's width as long as the screen size. using 'display: inline-block' will wrap both width and heights. for example the following code will fit also width.
<div style="display: inline-block; float: right; background-color: green;">
<div style="float: right;">first item</div>
<div style="float: left;">second item</div>
</div>
Any suggestions?
thanks!