固定模态弹出窗口的标题 [英] Fixed header for Modal Pop Up Window

查看:132
本文介绍了固定模态弹出窗口的标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

团队,

我使用的是Ajax Modal Popup.当弹出的内容更多并且滚动条出现在屏幕上时,标题也会与内容一起滚动..
谁能告诉我在使用Ajax模态弹出窗口时如何使标头固定吗?

谢谢!

Hi Team,

I am using an Ajax Modal Popup .When the popup content is more and the scrollbar appears on the screen the header is also scrolling along with the content ..
Can anyone tell me how to make the header fixed while using ajax modal popup ?

Thanks!

推荐答案

我也尝试过使用该选项:
向Modal Popup添加固定的标题..
添加了样式位置:相对;到div,但没有用,它仍在与内容一起滚动..

在网格中,我们有一个单独的标题样式,可以在其中应用位置:relative;并且标题保持固定.

请建议使用Ajax模态弹出窗口.

谢谢!
I have tried using that option also :
adding a fixed header to the Modal Popup..
added a style position: relative; to the div but no use it is still scrolling along with content..

In grid we have a separate header style where we can apply position: relative ; and the header stays fixed.

Pls suggest in case of Ajax modal popup.

Thanks!


您可以像使用gridview一样,使用div并放置一个css类来修复标头
you can use a div and put an css class for fix the header like we do in gridview


这篇关于固定模态弹出窗口的标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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