Two forms glued when I used div tam.
Originally form and div tag is 100% occupied, but if div and form tag used, it will be shown like a row.
<td norwap align=center>
<div id="row1" style="float:left;">
<form id="form_modify_${item.id}" method="post" action="/under/emergency.nhn" style="width: 21px;">
<fieldset>
<input type="hidden" name="m" value="edit" />
<input type="hidden" name="underid" value="${item.id}" />
<input type="image" src="/alive/userdefinedurl/modify.png" onmousedown="this.form.m.value='edit'" />
</fieldset>
</form>
</div>
<div id="row2" style="float:left;">
<form id="form_delete_${item.id}" method="post" action="/under/emergency.nhn" style="width: 21px;">
<fieldset>
<input type="hidden" name="m" value="edit" />
<input type="hidden" name="underid" value="${item.id}" />
<input type="image" src="/common/images/remove.gif" onmousedown="this.form.m.value='delete'" />
</fieldset>
</form>
</div>
</td>
<div id="row1" style="float:left;">
<form id="form_modify_${item.id}" method="post" action="/under/emergency.nhn" style="width: 21px;">
<fieldset>
<input type="hidden" name="m" value="edit" />
<input type="hidden" name="underid" value="${item.id}" />
<input type="image" src="/alive/userdefinedurl/modify.png" onmousedown="this.form.m.value='edit'" />
</fieldset>
</form>
</div>
<div id="row2" style="float:left;">
<form id="form_delete_${item.id}" method="post" action="/under/emergency.nhn" style="width: 21px;">
<fieldset>
<input type="hidden" name="m" value="edit" />
<input type="hidden" name="underid" value="${item.id}" />
<input type="image" src="/common/images/remove.gif" onmousedown="this.form.m.value='delete'" />
</fieldset>
</form>
</div>
</td>
'Web service' 카테고리의 다른 글
아파치 설정 - if/else then (0) | 2009.08.18 |
---|---|
두 form을 한 줄로 보여주기 (0) | 2009.07.15 |
How to support UTF-8 URIEncoding with Tomcat (0) | 2009.06.15 |
SelectKey in insert statement in mysql (0) | 2009.06.05 |
Weakness of Java Web Start (0) | 2009.04.27 |