I am using the responsive grid system of twitters bootstrap together with jquery ui datepicker.
I have an inline datepicker inside a ‘row’, ‘spanX’ structure like so:
<div class="row">
<div class="span3 widget">
<div id="datepicker"></div>
</div>
...
</div>
jQuery('#datepicker').datepicker({
inline: true,
...
})
The suggested way for resizing the Datepicker widget is by overriding font-size.
However this is not very helpful if i want to keep the Datepicker size dependent on the size of the spanX parent container while the window is resizing or for different resolutions.
Is there an elegant way to keep the inlined Datepicker at 100% width,height of the parent container?
try something like this:
It gives you a preset size for every response transformation bootstrap makes.