nAzGiRl2005
09-09-2005, 08:02 PM
I have the following jsp code that contains three buttons and a link to a page.
The three buttons are located at the end of a jsp form (left-hand-side). I want the link to be located on the right-hand-side bottom of the form, that is I want spacing between the last button and the link. (without spacing between buttons themselves).
here's the code:
<tr height="50">
<td colspan="5">
<nobr>
<table>
<tr>
<td align="left">
<html:submit property="submitButton" styleClass="button" value="Get Report" onclick="return(doReportSubmit(document.searchReportForm, 'report', 1));"/>
<html:submit property="submitButton" styleClass="button" value="Create Spreadsheet" onclick="return(doReportSubmit(document.searchReportForm,'spread', 1));"/>
<logic:equal scope="session" name="user" property="role" value="administrator">
<html:submit property="submitButton" value="Edit View" styleClass="button"/>
</logic:equal>
<logic:equal scope="session" name="user" property="role" value="administrator">
<a href="javascript:popUp('pages/searchEngineInfo.htm');"> View Page Info </a>
</logic:equal>
</nobr>
</td>
</tr>
</table>
</td>
</tr>
Does anybody know how to do this?
The three buttons are located at the end of a jsp form (left-hand-side). I want the link to be located on the right-hand-side bottom of the form, that is I want spacing between the last button and the link. (without spacing between buttons themselves).
here's the code:
<tr height="50">
<td colspan="5">
<nobr>
<table>
<tr>
<td align="left">
<html:submit property="submitButton" styleClass="button" value="Get Report" onclick="return(doReportSubmit(document.searchReportForm, 'report', 1));"/>
<html:submit property="submitButton" styleClass="button" value="Create Spreadsheet" onclick="return(doReportSubmit(document.searchReportForm,'spread', 1));"/>
<logic:equal scope="session" name="user" property="role" value="administrator">
<html:submit property="submitButton" value="Edit View" styleClass="button"/>
</logic:equal>
<logic:equal scope="session" name="user" property="role" value="administrator">
<a href="javascript:popUp('pages/searchEngineInfo.htm');"> View Page Info </a>
</logic:equal>
</nobr>
</td>
</tr>
</table>
</td>
</tr>
Does anybody know how to do this?