如何在表行范围内添加文本框 [英] how to add text box within table row span

查看:85
本文介绍了如何在表行范围内添加文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下用于插入表格数据的代码





i have following code for inserting table data


<td class="usercreationtxtbox">
                           <span class="icon-air usercreatemarginselect" style="margin-right: 15px;"></span>
                           First Beat Start Time


                       </td>









现在在上面的代码中我想在表格文本First Beat Start Time之后添加一个文本框

但是当我使用以下代码插入文本框时在div部分内

< input time =textvalue =/>

此文本框采用新行并打扰我的设计可以请参考在第一拍开始时间数据前排列文本框





Now in the above code i want to add a text box after table text "First Beat Start Time"
but when i m inserting text box using following code within div section
<input time="text" value=""/>
this text box take a new line and disturb my design can u pls suggest how to arrange in textbox in front of "first beat start time" data

推荐答案

而不是使用Div标签使用span并设置td标签的nowrap = nowrap属性
Instead of using Div tag use span and set nowrap=nowrap property of the td tag


使td更宽以容纳新元素。或者使文本框更窄。
Make td wider to accomodate new element. Or make the textbox narrower.


这篇关于如何在表行范围内添加文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆