在ASP.NET中移动对象 [英] Moving Objects in ASP.NET

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

问题描述

好的,现在我已经完成了VB.NET,现在我正在学习ASP.NET(VB.NET WEB APP)。




我确定我的问题对你们所有人都很简单。



我知道如何在我想要的任何位置自由或独立地移动物体但我的问题当我运行程序时,打开浏览器后,我在所需位置移动的对象与程序运行时的位置不一样。





我只是想问,是否有任何方法可以自由移动物体,当它运行时它仍然处于我想要的位置。





IM使用VISUAL STUDIO 2010







TY IN ADVANCE

Ok, Now im Done with VB.NET and now im currently taking my course in ASP.NET (VB.NET WEB APP.)


Im sure my problem is very simple for all of you.

I know how to move objects freely or independently in any position i want but my problem is when i run the program, after it opens a browser the object that i move exactly in my desired position is not the same as the position when the program is running.


I just wanna ask, is there any way to move objects freely and when it is run its still in the same position as i want.


IM USING VISUAL STUDIO 2010



TY IN ADVANCE

推荐答案

请注意:如果您提出这样的问题,我相信您还没有使用vb.net。

Web应用程序,更确切地说是Web用户界面,与Windows窗体用户界面完全不同CES。设计窗体时,可以指定窗体的范围,并可以根据需要定位控件。字体很少改变分辨率等等。但在网络上,一切都与浏览器窗口相关,用户可以很好地控制如何显示内容,如果你设计网页,你必须在布局而不是在控制位置思考。可悲的是,asp.net经典对你没有多大帮助。实际上它有它自己的如何做的愿景,并且它与CSS和html标准和最佳实践并不完全一致。

仍然,你应该考虑你的web应用程序用户界面是一个web页面,更可能表现为html标记和css类和属性描述的任何网页。所以你需要改进和微调css(这是不容易的,因为web表单控件倾向于尽可能地接管它。)
Just a note: if you are asking such question, I am sure you are not done yet with vb.net.
Web applications, more precisely the web user interface, is quite different from windows forms user interfaces. When you design a windows form, you specify it's extent, and you can position the controls as you like. Fonts are rarely changing resolution and so on. But on web, everything is relative to the browser windows, and the user has much control over how to show the content, if you design web, you have to think in layout rather than in control positions. Sadly, asp.net classic won't help you much. Actually it has it's own vision of how to do it, and that one is not absolutely in concordance to the CSS and html standards and best practices.
Still, you should consider your web application user interface a web page, that will more likely behave as any web page described by html markup and css classes and attributes. So you need to refine and fine-tune the css (which is not easy since web forms controls tend to take over this as much as possible).


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

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