使用位置时页面不显示:固定; [英] Page Not Displaying When Using Position: Fixed ;

查看:110
本文介绍了使用位置时页面不显示:固定;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经设计了一个应用程序,其中页面应该完全适合客户端的屏幕,因此为此,我使用了CSS类并将该类应用于Div.在我编写的CSS类中

Hi
i Have Designed a Application in Which i wnat Page should Fit completely on the Screen on client so for this i Have used CSS class And Applied the class to Div. in CSS Class i Have written

#FullScreen
{
    position:fixed;
    top:20;
    left:20;
    width:100%;
    height:100%;
}


我已经将此类应用于MasterPage
此代码在所有页面上均能正常工作,但在我使用过CollapsablePaneExtender的页面上,那些连续页面也无法显示,即使我的MAster页面也无法显示,全屏分派器,任何人都可以帮我解决这个问题吗


在此先感谢:-)


问候
Diler Patel


this Class i have Applied to MasterPage
this Code Works Fine in all the Pages but my Page in Which i have USed CollapsablePaneExtender, those Connent Pages Wont Display Even My MAster page also Wont display, Full Screen Disappers , Can Any one Help Me how to over come from this Problem


Thanks In Advance :-)


Regards
Diler Patel

推荐答案

I dont know Why from CSS file its Not Applying

but when i wrote the same CSS file Code in Master Page Body

it Solved My Problem

everything is working fine.. .


<body style=";Height:100%; width:100%; position:Fixed;"></body>


这篇关于使用位置时页面不显示:固定;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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