asp.net中的框架大小问题 [英] frame Size problem in Asp.net

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

问题描述

大家好,



我在Asp.net网站上有大小问题。我创建了一个网站,但现在遇到了问题。

我想要的是,显示的页面大小对于用户来说保持不变,并且必须等于其浏览器可用显示区域的大小,并且通过滚动div可以看到内容。



有点像页眉和页脚保持在同一位置,其中的内容可滚动。



我真的我不知道怎么做到这一点。





现状 -

我的网页更小尺寸大于浏览器屏幕,完整页面可滚动。





任何有关此事的帮助都非常感谢。

Hi All,

I am having size issue in Asp.net website.I have created a website but now facing a problem.
What I want is that the size of the page that is displayed remains constant for a user and must be equal to the size of their browser''s available display area and the content being visible by scrolling the div.

Sort of like the header and footer remain at the same position and the content inside it is scrollable.

I really don''t know how to achieve this.


Current situation-
My website pages are smaller in size than browser screen and complete page gets scrollable.


Any help on the matter is highly appreciated.

推荐答案

这是关于页面设计的。您必须定义页眉,页脚和正文。然后在已启用滚动的正文中放置div。将您需要显示的所有内容放在此div中。因此,滚动将为div(仅主体),页眉 - 页脚将不是它的一部分并始终存在。试试。
It''s about page design. You have to have defined header, footer and body. Then put a div in body that has scroll enabled. Put all the contents you need to show in this div. Thus, scroll will be for div (only body) and header-footer will not be the part of it and be always there. Try out.


这篇关于asp.net中的框架大小问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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