I'm trying to stretch a button across a variable width space so that the ends are anchored to its container edges using the left and right properties like this:
<button style="position: absolute; left: 0px; right: 0px;">Test</button>
This works as expected in Chrome, IE, and Safari. The button stretches across the width of the browser window. However, in FireFox/SeaMonkey and Opera, the right property is ignored and the button is just wide enough to hold the caption. Why is that?