如何把这两个输入框放到一行里,文字标签也在一行
1个回答
展开全部
,代码如下:
<div class="prayer-form">
<p><label><input class="prayer-type" type="radio" name="prayer-type" value="prayer" checked="checked" />Pray</label><label><input class="prayer-type" type="radio" name="prayer-type" value="praise" />Praise</label></p>
<textarea class="prayer-request"></textarea>
<br/>
<div style="display:inline;">
First Name<input class="prayer-first-name" type="text" />
Email<input class="prayer-email" type="text" />
</div>
<p class="prayer-submit"><a class="agreement" href="javascript: void(0);">Agreement</a><input type="button" value="Submit" /></p>
</div>
<div class="prayer-form">
<p><label><input class="prayer-type" type="radio" name="prayer-type" value="prayer" checked="checked" />Pray</label><label><input class="prayer-type" type="radio" name="prayer-type" value="praise" />Praise</label></p>
<textarea class="prayer-request"></textarea>
<br/>
<div style="display:inline;">
First Name<input class="prayer-first-name" type="text" />
Email<input class="prayer-email" type="text" />
</div>
<p class="prayer-submit"><a class="agreement" href="javascript: void(0);">Agreement</a><input type="button" value="Submit" /></p>
</div>
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询