Anyone know how I can get this to work:
<div width="100%" style="background-color:#0000FA;">
<div style="float:left;width:110px;background-color:#F1F1F1;">
<form action="/dashboard/" id="PREVIOUS_MONTH" method="post">
<input type="submit" class="button-orange" value="Previous Month">
</form>
</div>
<div style="float:left;width:300px;text-align:center;">
January
</div>
<div style="float:right;width:80px;background-color:#F9F0F0;">
<form action="/dashboard/" id="NEXT_MONTH" method="post">
<input type="submit" class="button-orange" value="Next Month">
</form>
</div>
</div>
All I want is to get the left button on the left hand side, the right button on the right and the text to be aligned between the two buttons, i.e. in the middle of the outer div.
I've tried using display:inline for the text button but I havn't had any luck.
So my output would be:
BUTTON LEFT----------------------TEXT------------------------BUTTON RIGHT
Thanks In Advance