How about css calc? http://caniuse.com/#feat=calc