I am computing elements width on page load with jq and works fine , trying to automate on window resize but kinda does not work. Desired effect: Boxes should auto resize on window resize and not drop down.
any help is appreciated . Thank you!
I am computing elements width on page load with jq and works fine , trying to automate on window resize but kinda does not work. Desired effect: Boxes should auto resize on window resize and not drop down.
any help is appreciated . Thank you!
Try
$(window).resize
See below,Also used overflow property on the
container
andbox_in
, so that the elements/text inside are contained/hidden.. instead of going out.DEMO: http://jsfiddle.net/skram/yMcXm/7/