I wonder if there is way to set outerwidth
of a div
using css
to ignore padding and borders.
When I set a div
to be 50%
width, padding and border will be added to the width. How can I solve that without javascript
or jQuery.outerWidth()
?
Don't want to use an extra element