如何在asp.net 2008中移动标签 [英] how to move label in asp.net 2008

查看:73
本文介绍了如何在asp.net 2008中移动标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在asp.net 2008上移动标签,因为它没有位置的选择:绝对;请对此有任何想法的人.



谢谢Advanced

I am unable to move label i asp.net 2008,because it has no option of position :absolute;please anybody having any idea regarding this.



thanks in advanced

推荐答案

如果您知道如何在Web表单中使用级联样式表,请在CSS文件中定义一个CSS类:
If you know how to use cascading style sheets in your web form then , define a css class in you css file :
.float
{
    position: absolute;
    top: 200px;
    left: 200px;
}



然后将asp:labelCssClass 设置为float

希望对您有所帮助.



Then set your asp:label''s CssClass to float

Hope it helps.


这篇关于如何在asp.net 2008中移动标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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