title: two button in struts inline with each other
body: <p>as simple as it seems i have no idea how to put two buttons in line with each other especially since they have different functions.i have 1 form that logs in user with a log in button and a sign up button that lets user register. they are in two different form any idea on how to align the log in button to the sign up button here is an image of my log in </p>
  
  <p><img src="https://i.stack.imgur.com/wiAZH.png" alt="align"></p>
  
  <p>ang here is my code for log in jsp..can i align them with out using js or something else as much as possible i want to align them just by jsp..is there a way to do this</p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  pageEncoding="ISO-8859-1"%&gt;
  &lt;%@ taglib prefix="s" uri="/struts-tags"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
  "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Login&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;s:form action="login"&gt;
      &lt;s:textfield label="email" key="email" name="email" size="20" /&gt;
      &lt;s:password label="password" key="password" size="20" /&gt;
      &lt;s:submit value="LogIn"/&gt;     
  &lt;/s:form&gt;
  &lt;!--form method="post" ACTION="pagination.jsp"&gt;
  &lt;input type="submit" value="View"&gt;
  &lt;/form--&gt;
  
  &lt;s:form action="register.jsp"&gt;
      &lt;s:submit value="SignUp" type="submit" float="right"/&gt;     
  &lt;/s:form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>updating code from comments in here:</p>
  
  <pre><code>&lt;s:form action="login" style="float:right"&gt; 
    &lt;s:textfield label="email" key="email" name="email" /&gt; 
    &lt;s:password label="password" key="password" /&gt; 
    &lt;s:submit value="LogIn"/&gt; 
  &lt;/s:form&gt; 
  
  &lt;!--form method="post" ACTION="pagination.jsp"&gt; 
  &lt;input type="submit" value="View"&gt; 
  &lt;/form--&gt; 
  &lt;s:form action="register.jsp" style="float:right"&gt; 
  &lt;s:submit value="SignUp" type="submit"/&gt; 
  &lt;/s:form&gt;
  </code></pre>
  
  <p>UPDATE: is it possible to make it look like this ![enter image description here][2]</p>
  
  <p><img src="https://i.stack.imgur.com/qjdDe.png" alt="enter image description here"></p>