gpt4 book ai didi

asp.net - 页扩展时,页脚必须始终在底部

转载 作者:太空宇宙 更新时间:2023-11-04 00:02:39 25 4
gpt4 key购买 nike

这是我的Aspx代码,页扩展时页脚必须始终在底部


        
        
        
        
        
            
                
                    
                        
                            
                                
                                    
                                        
                                    
                                    
                                        
                                    
                                
                            
                        
                    
                    
                        
                            
                                
                                    
                                    
                                    
                                        
                                            
                                                
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                        
                                        
                                    
                                    
                                        
                                            
                                                
                                                    
                                                
                                                
                                                    
                                                    
                                                
                                            
                                        
                                    
                                
                            
                        
                    
                    
                        
                            
                                
                                    
                                        
                                            
                                            
                                                ,
                                            
                                            
                                                ,
                                            
                                            
                                                
                                    
                                
                            
                        
                    
                    
                        
                            
                                
                                    
                                        
                                            
                                                请耐心等待...
                                            
                                            
                                                
                                            
                                        
                                    
                                
                            
                        
                    
                    
                        
                            
                                
                                    
                                    
                                
                            
                        
                    
                    
                        
                            
                                
                                    
                                
                            
                        
                    
                    
                        
                            
                                
                                    
                                
                            
                        
                    
                    
                        
                            
                                
                                
                            
                            
                            
                            
                                
                                    
                                 
                                
                                >由FFReporting支持“ CssClass =” footer“
                                    Font-Italic =“ false” Font-Bold =“ false” Font-Size =“ X-Small” ForeColor =“#000”>
                                
                            
                            
                            
                        
                    
                
            

这是css文件

.wrapper
{
min-height: 99%;
height: auto !important;
height: 100%;
margin: 0 auto -15px; /* ;the bottom margin is the negative value of the footer's height */
padding: 0;
}
.footer, .push
{
height: 16px; /* .push must be the same height as .footer */
clear: both;
text-align: center;
/*font: 10px Verdana, Arial;*/
font: 10px Arial;
background: url("../Images/invida_06.jpg") repeat-x;
/*background-color: #497097;*/
color: White !important;
}


我需要底线始终在底部,当页面信息较少时,但是当页面显示的数据更多时,总是在所有数据之后打印

我尝试了此站点中的所有内容,但直到没有找到解决方案。
帮我!!!

最佳答案

This technique始终有效,称为“粘性页脚”

关于asp.net - 页扩展时,页脚必须始终在底部,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16008706/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com