Topic: Right aligning...

Here is a snippet of my code. My question is: how to I make the buttons right aligned with Submit to the left of Cancel?

<form action="save_form" method="post">
    <!-- form elements -->
    <input name="submit" type="submit" value="Submit" />
</form>
<form method="post" action="back_a_page">
    <input type="submit" value="Cancel" />
</form>

Re: Right aligning...

Why do you need a seperate form to go back? Are you posting data back to the previosu page? If not you could just do

<form action="save_form" method="post">
    <!-- form elements -->
    <fieldset class="right">
        <input name="submit" type="cancel" value="Cancel" onclick="window.history.go(-1)" />
        <input name="submit" type="submit" value="Submit" />
    </fieldset>
</form>

.right { text-align:right; }