Can anyone explain why this button is not absolute-positioned to the right? I would expect it to be 3px from every edge.
You can use calc to get the exact width minus the padding you get from the positioning:
width: calc(100% - 6px);
JSFiddle