如何在asp.net中的文本框服务器控件中的中心写入 [英] how to write in center in textbox server control in asp.net

查看:59
本文介绍了如何在asp.net中的文本框服务器控件中的中心写入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请给我一个快速的解决方法!

Plese give me a quick soluation for this!

推荐答案

我无法确定问题所在.如果要在用户界面中居中放置文本框控件,则只需添加CSS即可对其进行相应定位.您添加的所有无法识别的标签都只是逐字传递,或者您可以使用CssClass属性并创建CSS来使控件居中.我确实相信要居中,它需要位于div或其他控件内,该控件即页面的全宽度,即CSS多一点.
I am having trouble working out what the question is. If you want to center the textbox control in your UI, you would just add CSS that positions it accordingly. Any tags you add that are not recognised, are just passed through verbatim or you can use the CssClass property and create CSS to centre your control. I do believe that to center it, it needs to be inside a div or other control that is the full width of the page, which is just a little more CSS.


这篇关于如何在asp.net中的文本框服务器控件中的中心写入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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