[issues-26] Adds a condition to generate overflow only if calc is not supported

When using calc overflow is not nessessary since there is no over
flow with margins and padding.
Merge pull request #29 from leadiv/issues-26

[issues-26] Adds condition to generate overflow if calc is not supported