我想在texarea中显示文本框....它可能与否? [英] I want display textbox in texarea.... it possible or not?

查看:84
本文介绍了我想在texarea中显示文本框....它可能与否?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在texarea中显示文本框....它可能与否?



______________________________________

| |

| textarea中的文本框显示|

| |

| |

______________________________________

I want display textbox in texarea.... it possible or not?

______________________________________
| |
| textbox disply in textarea |
| |
| |
______________________________________

推荐答案

文本框和文本区域是两种不同类型的文本框。你不能重叠它们。

它是文本框控件的type属性
textbox and text area are two different type of textbox. You can not overlap them.
it is type property of textbox control






为什么你想拥有文本框在textarea里面?在textarea里面使用文本框是不好的..



但你可以通过设置如下的CSS样式来实现这个目的



Hi,

Why you want to have textbox inside a textarea?it is not good to use textbox inside textarea..

But you can achieve this by setting CSS styles like below

<asp:TextBox ID="TextBox6" runat="server" TextMode="MultiLine" Height="200px" Width="200px"></asp:TextBox>
       <asp:TextBox ID="TextBox7" runat="server" Style="position:absolute;margin:97px 0 0 -180px;padding: 0 0 0 0;"></asp:TextBox>





谢谢,

--RG



Thanks,
--RG

这篇关于我想在texarea中显示文本框....它可能与否?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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