简体   繁体   English

页面底部的CSS空格

[英]CSS White Space At Bottom of Page

How can I get rid of the space at the bottom of the page? 如何摆脱页面底部的空白?

 /* Basic Style */ html, body { height: 100%; } body { background-color: #FFFFFF; font-family: 'Roboto', sans-serif; font-size: 12pt; font-weight: 100; color: #212121; text-decoration: none; line-height: 100%; height: 100%; margin: 0px 0px 0px 0px; } a:link { color: #42b4da; font-family: 'Roboto', sans-serif; text-decoration: none; } a:visited { color: #002946; text-decoration: none; } a:active, a:hover { color: #670f08; text-decoration: underline; } img { border: 0px solid white; margin: 0px; padding: 0px; } .clear { clear: both; } /* Text Formatting */ h1 { font-size: 20pt; color: #212121; font-weight: lighter; } h2 { font-size: 20pt; color: #212121; font-weight: lighter; } h3 { font-size: 20pt; color: #212121; font-weight: lighter; } blockquote { font-size: 12pt; font-style: italic; margin: 30px 30px 30px 0; padding: 0 0 0 20px; border-left: 1px solid #ccc; } /* Clear */ .clearBoth { clear: both; } /* Page Wrapper*/ #pageWrapper { width: 100%; height: 100%; } /* Page Top */ #pageTop { width: 100%; height: 100px; position: fixed; top: 0; left: 0; z-index: 100; overflow: hidden; } #topTitle { background-color: #262626; color: #CCCCCC; width: 100%; height: 100%; float: left; margin-right: -250px; } #topRight { background-color: #262626; color: #CCCCCC; width: 250px; height: 100%; float: right; } /* Page Main */ #pageMain { background: #ffffff url(../style/images/sidebarBackground.gif) repeat-y right; width: 100%; margin-top: 100px; overflow: hidden; } /* Main Content */ #mainContent { width: 100%; height: 100%; float: left; margin-right: -250px; } .contentClear { margin-right: 250px; } .contentPost { margin: 40px; } .postTitle {} .postContent {} .postExtras {} /* Main Sidebar */ #mainSidebar { background: #262626 url(../style/images/sidebarBackground.gif) repeat-y right; color: #CCCCCC; width: 220px; margin: 15px; height: 100%; float: right; } #mainSidebar h1 { color: #CCCCCC; font: 14pt'Roboto', sans-serif; text-align: center; margin: 2px; padding: 2px; } #mainSidebar h1:before { content: "‹"; position: relative; left: -2px; } #mainSidebar h1:after { content: "›"; position: relative; left: 2px; } .sidebarContent {} .sidebarNav { margin: 0; padding: 0; list-style: none; } .sidebarNav li:before { content: "//"; position: relative; left: 2px; } /* Page Footer */ #pageFooter { width: 100%; height: 100px; overflow: hidden; } #footerContent { background-color: #262626; color: #CCCCCC; width: 100%; height: 100%; float: left; margin-right: -250px; } #footerRight { background-color: #262626; color: #CCCCCC; width: 250px; height: 100%; float: right; } 
 <div id="pageWrapper"> <div id="pageTop"> <div id="topTitle"> This is where the pages logo/title/whatever will go. </div> <div id="topRight"> Rightside content </div> </div> <div class="clearBoth"></div> <div id="pageMain"> <div id="mainContent"> <div class="contentClear"> <div class="contentPost"> <div class="postTitle"> <h1>HELLO WORLD!</h1> </div> <div class="postExtras"> <p> APRIL 2, 2015 1 COMMENT </p> </div> <div class="postContent"> <p> Welcome to WordPress. This is your first post. Edit or delete it, then start blogging! </p> <p> This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! </p> </div> </div> </div> </div> <div id="mainSidebar"> <div class="sidebarContent"> <h1>Navigation</h1> <ul class="sidebarNav"> <li> <a href="_blank">Home</a> </li> <li> <a href="_blank">About</a> </li> <li> <a href="_blank">Contact</a> </li> <li> <a href="_blank">Links</a> </li> </ul> </div> <div class="sidebarContent"> <h1>Unordered List</h1> <ul> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> </ul> </div> <div class="sidebarContent"> <h1>Something Else</h1> <ol> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> </ol> </div> </div> </div> <div class="clearBoth"></div> <div id="pageFooter"> <div id="footerContent"> <h1>This is the footer, and copyright stuff.</h1> <ul> <li> <a href="_blank">Home</a> </li> <li> <a href="_blank">About</a> </li> <li> <a href="_blank">Contact</a> </li> <li> <a href="_blank">Links</a> </li> </ul> </div> <div id="footerRight"> <p> SMLinks </p> </div> </div> </div> 

It's because you have height: 100%; 这是因为你身高:100%; on your html and body tags. 在您的html和body标签上。 Also, it is on your pageWrapper class. 而且,它在您的pageWrapper类上。 This tells the browser to make the height of the page at least the height of the viewport no matter what, and then tells your inner pageWrapper class to match that height, no matter what. 这告诉浏览器无论如何都要使页面的高度至少等于视口的高度,然后告诉内部的pageWrapper类无论如何都要匹配该高度。

I would suggest making html height: auto; 我建议将HTML高度设置为:auto; for a start. 作为一个开始。

I think maybe you intended the black background footer section to reside at the bottom with no white space beneath, right? 我认为您可能打算将黑色背景页脚部分放在底部,而下面没有空白,对吗? You can do that by taking the footer section out of the page wrapper, put it right before the end body tag and add this css: 您可以通过将页脚部分从页面包装器中取出,将其放在end body标签之前并添加以下CSS来实现:

For ID pageFooter add css position:fixed; 对于ID pageFooter,请添加CSS位置:固定; bottom:0; 底部:0;

 /* Basic Style */ html, body { height: 100%; } body { background-color: #FFFFFF; font-family: 'Roboto', sans-serif; font-size: 12pt; font-weight: 100; color: #212121; text-decoration: none; line-height: 100%; height: 100%; margin: 0px 0px 0px 0px; } a:link { color: #42b4da; font-family: 'Roboto', sans-serif; text-decoration: none; } a:visited { color: #002946; text-decoration: none; } a:active, a:hover { color: #670f08; text-decoration: underline; } img { border: 0px solid white; margin: 0px; padding: 0px; } .clear { clear: both; } /* Text Formatting */ h1 { font-size: 20pt; color: #212121; font-weight: lighter; } h2 { font-size: 20pt; color: #212121; font-weight: lighter; } h3 { font-size: 20pt; color: #212121; font-weight: lighter; } blockquote { font-size: 12pt; font-style: italic; margin: 30px 30px 30px 0; padding: 0 0 0 20px; border-left: 1px solid #ccc; } /* Clear */ .clearBoth { clear: both; } /* Page Wrapper*/ #pageWrapper { width: 100%; height: 100%; } /* Page Top */ #pageTop { width: 100%; height: 100px; position: fixed; top: 0; left: 0; z-index: 100; overflow: hidden; } #topTitle { background-color: #262626; color: #CCCCCC; width: 100%; height: 100%; float: left; margin-right: -250px; } #topRight { background-color: #262626; color: #CCCCCC; width: 250px; height: 100%; float: right; } /* Page Main */ #pageMain { background: #ffffff url(../style/images/sidebarBackground.gif) repeat-y right; width: 100%; margin-top: 100px; overflow: hidden; } /* Main Content */ #mainContent { width: 100%; height: 100%; float: left; margin-right: -250px; } .contentClear { margin-right: 250px; } .contentPost { margin: 40px; } .postTitle {} .postContent {} .postExtras {} /* Main Sidebar */ #mainSidebar { background: #262626 url(../style/images/sidebarBackground.gif) repeat-y right; color: #CCCCCC; width: 220px; margin: 15px; height: 100%; float: right; } #mainSidebar h1 { color: #CCCCCC; font: 14pt'Roboto', sans-serif; text-align: center; margin: 2px; padding: 2px; } #mainSidebar h1:before { content: "‹"; position: relative; left: -2px; } #mainSidebar h1:after { content: "›"; position: relative; left: 2px; } .sidebarContent {} .sidebarNav { margin: 0; padding: 0; list-style: none; } .sidebarNav li:before { content: "//"; position: relative; left: 2px; } /* Page Footer */ #pageFooter { width: 100%; height: 40px; overflow: hidden; } #footerContent { background-color: #262626; color: #CCCCCC; width: 100%; height: 100%; float: left; margin-right: -250px; } #footerRight { background-color: #262626; color: #CCCCCC; width: 250px; height: 100%; float: right; } #footerContent h1 { position: absolute; right: 40%; font-size: 12px; color: #ccc; } #footerContent ul { padding: 0; margin: 0; margin-left: 20px; } #footerContent ul li { display: inline; line-height: 40px; } /* ADD THIS TO FIX FOOTER TO BOTTOM */ #pageFooter { position: fixed; bottom: 0; } 
 <div id="pageWrapper"> <div id="pageTop"> <div id="topTitle"> This is where the pages logo/title/whatever will go. </div> <div id="topRight"> Rightside content </div> </div> <div class="clearBoth"></div> <div id="pageMain"> <div id="mainContent"> <div class="contentClear"> <div class="contentPost"> <div class="postTitle"> <h1>HELLO WORLD!</h1> </div> <div class="postExtras"> <p> APRIL 2, 2015 1 COMMENT </p> </div> <div class="postContent"> <p> Welcome to WordPress. This is your first post. Edit or delete it, then start blogging! </p> <p> This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! </p> </div> </div> </div> </div> <div id="mainSidebar"> <div class="sidebarContent"> <h1>Navigation</h1> <ul class="sidebarNav"> <li> <a href="_blank">Home</a> </li> <li> <a href="_blank">About</a> </li> <li> <a href="_blank">Contact</a> </li> <li> <a href="_blank">Links</a> </li> </ul> </div> <div class="sidebarContent"> <h1>Unordered List</h1> <ul> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> </ul> </div> <div class="sidebarContent"> <h1>Something Else</h1> <ol> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> </ol> </div> </div> </div> <div class="clearBoth"></div> <div id="pageFooter"> <div id="footerContent"> <h1>FIXED FOOTER &copy;2015 etc.</h1> <ul> <li> <a href="_blank">Home</a> </li> <li> <a href="_blank">About</a> </li> <li> <a href="_blank">Contact</a> </li> <li> <a href="_blank">Links</a> </li> </ul> </div> <div id="footerRight"> <p> SMLinks </p> </div> </div> </div> 

The div class "question" is 2032 pixels tall. div类“问题”的高度为2032像素。 Underneath this div is one called "answer" that is a blank div that is 728 X 870px. 该div下方是一个称为“答案”的字段,它是728 X 870px的空白div。 The white space can be eliminated by shrinking the answer div to eliminate some of the white space. 可以通过缩小答案div消除一些空白来消除空白。 However some white space is because of the answer area. 但是,有些空白是由于答案区域。 To learn how to change the CSS visit http://www.w3schools.com/cssref/pr_dim_height.asp . 要了解如何更改CSS,请访问http://www.w3schools.com/cssref/pr_dim_height.asp The code to find these divs are under body, container, content, itemscope, and then mainbar. 查找这些div的代码位于body,container,content,itemscope和mainbar下。

I fixed it by removing line-height:100% from your body . 我通过从您的body去除line-height:100%来修复它。 Add height:100vh to you #mainPage . 向您#mainPage添加height:100vh #mainPage

#mainPage{
height:100vh;
}

If I'm understanding correctly, the problem is that there's a persistent vertical scroll bar even when there is no content to fill that scroll area. 如果我正确理解的话,问题是即使没有内容填充该滚动区域,也存在一个持久的垂直滚动条。

I believe this is caused by "margin collapse" . 我相信这是由“利润率崩溃”引起的。

Explaination of the Margin Collapse 保证金崩溃的解释

You've set div#pageTop to position:fixed and you've added margin-top:100px to div#pageMain to push it down below the fixed header. 你已经设置div#pageTopposition:fixed ,你已经添加margin-top:100px ,以div#pageMain推下来的固定标题下方。 That margin collapses with div#pageWrapper and ultimately with the <body> . 该边缘随着div#pageWrapper崩溃,最终随着<body>崩溃。

Since the <body> is set to height:100% and the collapsing margin pushes it down 100px, the <body> ends up being 100px too tall and causes a vertical scrollbar in the browser. 由于<body>设置为height:100% ,并且折叠边距将其向下推100px,所以<body>最终变得太高100px,并在浏览器中导致垂直滚动条。 A height of 100% + 100px will always be greater than the window's height and will always require a scroll bar. 的高度100% + 100px 总是比窗口的高度更大,总是需要一个滚动条。

Below is an image showing the top of <body> . 下面是显示<body>顶部的图像。 Note that it does not start at the top of the page as expected. 请注意,它没有按预期在页面顶部开始。 It starts 100px down, below the header: 它开始向下100px,位于标题下方:

在此处输入图片说明

How to Fix the Collapsing Margin 如何解决利润率下降

There are several methods to prevent collapsing margins. 几种方法可以防止边距崩溃。 In this context, I suggest changing the margin-top:100px on div#pageMain into padding: 在这种情况下,我建议将div#pageMain上的margin-top:100px div#pageMain为padding:

#pageMain {
  ...
  padding-top: 100px; /* padding instead of margin */
}

This stops the margin from collapsing and brings the <body> back up to the top of the window where it belongs: 这可以防止边距崩溃,并使<body>返回到其所属窗口的顶部:

在此处输入图片说明

Now the height of the <body> is 100% of the window and there is no persistent scroll bar. 现在, <body>的高度为窗口的100%,并且没有持久的滚动条。

See the demonstration below: 请参见下面的演示:

 /* Basic Style */ html, body { height: 100%; } body { background-color: #FFFFFF; font-family: 'Roboto', sans-serif; font-size: 12pt; font-weight: 100; color: #212121; text-decoration: none; line-height: 100%; height: 100%; margin: 0px 0px 0px 0px; } a:link { color: #42b4da; font-family: 'Roboto', sans-serif; text-decoration: none; } a:visited { color: #002946; text-decoration: none; } a:active, a:hover { color: #670f08; text-decoration: underline; } img { border: 0px solid white; margin: 0px; padding: 0px; } .clear { clear: both; } /* Text Formatting */ h1 { font-size: 20pt; color: #212121; font-weight: lighter; } h2 { font-size: 20pt; color: #212121; font-weight: lighter; } h3 { font-size: 20pt; color: #212121; font-weight: lighter; } blockquote { font-size: 12pt; font-style: italic; margin: 30px 30px 30px 0; padding: 0 0 0 20px; border-left: 1px solid #ccc; } /* Clear */ .clearBoth { clear: both; } /* Page Wrapper*/ #pageWrapper { width: 100%; height: 100%; } /* Page Top */ #pageTop { width: 100%; height: 100px; position: fixed; top: 0; left: 0; z-index: 100; overflow: hidden; } #topTitle { background-color: #262626; color: #CCCCCC; width: 100%; height: 100%; float: left; margin-right: -250px; } #topRight { background-color: #262626; color: #CCCCCC; width: 250px; height: 100%; float: right; } /* Page Main */ #pageMain { background: #ffffff url(../style/images/sidebarBackground.gif) repeat-y right; width: 100%; padding-top: 100px; overflow: hidden; } /* Main Content */ #mainContent { width: 100%; height: 100%; float: left; margin-right: -250px; } .contentClear { margin-right: 250px; } .contentPost { margin: 40px; } .postTitle {} .postContent {} .postExtras {} /* Main Sidebar */ #mainSidebar { background: #262626 url(../style/images/sidebarBackground.gif) repeat-y right; color: #CCCCCC; width: 220px; margin: 15px; height: 100%; float: right; } #mainSidebar h1 { color: #CCCCCC; font: 14pt'Roboto', sans-serif; text-align: center; margin: 2px; padding: 2px; } #mainSidebar h1:before { content: "‹"; position: relative; left: -2px; } #mainSidebar h1:after { content: "›"; position: relative; left: 2px; } .sidebarContent {} .sidebarNav { margin: 0; padding: 0; list-style: none; } .sidebarNav li:before { content: "//"; position: relative; left: 2px; } /* Page Footer */ #pageFooter { width: 100%; height: 100px; overflow: hidden; } #footerContent { background-color: #262626; color: #CCCCCC; width: 100%; height: 100%; float: left; margin-right: -250px; } #footerRight { background-color: #262626; color: #CCCCCC; width: 250px; height: 100%; float: right; } 
 <div id="pageWrapper"> <div id="pageTop"> <div id="topTitle"> This is where the pages logo/title/whatever will go. </div> <div id="topRight"> Rightside content </div> </div> <div class="clearBoth"></div> <div id="pageMain"> <div id="mainContent"> <div class="contentClear"> <div class="contentPost"> <div class="postTitle"> <h1>HELLO WORLD!</h1> </div> <div class="postExtras"> <p> APRIL 2, 2015 1 COMMENT </p> </div> <div class="postContent"> <p> Welcome to WordPress. This is your first post. Edit or delete it, then start blogging! </p> <p> This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! </p> </div> </div> </div> </div> <div id="mainSidebar"> <div class="sidebarContent"> <h1>Navigation</h1> <ul class="sidebarNav"> <li> <a href="_blank">Home</a> </li> <li> <a href="_blank">About</a> </li> <li> <a href="_blank">Contact</a> </li> <li> <a href="_blank">Links</a> </li> </ul> </div> <div class="sidebarContent"> <h1>Unordered List</h1> <ul> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> </ul> </div> <div class="sidebarContent"> <h1>Something Else</h1> <ol> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> <li> Here is an unordered list in the sidebar. </li> </ol> </div> </div> </div> <div class="clearBoth"></div> <div id="pageFooter"> <div id="footerContent"> <h1>This is the footer, and copyright stuff.</h1> <ul> <li> <a href="_blank">Home</a> </li> <li> <a href="_blank">About</a> </li> <li> <a href="_blank">Contact</a> </li> <li> <a href="_blank">Links</a> </li> </ul> </div> <div id="footerRight"> <p> SMLinks </p> </div> </div> </div> 

The answer by jlane09 also solves this issue. jlane09的回答也解决了这个问题。 It has validity because it works. 它具有有效性,因为它可以工作。 However, in my opinion, that answer does not adequately explain the cause of the problem. 但是,我认为该答案不足以解释问题的原因 Also, using height:auto could cause further problems in some contexts (eg using percentage-based heights for child elements). 同样,在某些情况下,使用height:auto可能会导致其他问题(例如,对子元素使用基于百分比的高度)。


Sticky Footer 粘页脚

Creating a "sticky" footer is a separate issue. 创建“粘性”页脚是一个单独的问题。 If you want the footer to always stick to the bottom of the window regardless of whether the window needs to scroll, see Ryan Fait's (famous) sticky footer . 如果您希望页脚始终固定在窗口底部,而不管窗口是否需要滚动,请参见Ryan Fait的(著名的)粘页脚 It requires somewhat of a different structure, but it's worth it. 它需要某种不同的结构,但这是值得的。

I built you a rudimentary demo, below: 我在下面为您制作了一个基本的演示:

 /* Basic Style */ html, body { height: 100%; margin: 0; } /* Page Wrapper*/ #pageWrapper { min-height: 100%; height: auto !important; height: 100%; margin: 0 0 -160px; } /* Page Top */ #pageTop { width: 100%; height: 100px; position: fixed; top: 0; left: 0; z-index: 100; } #topTitle { background-color: #262626; color: #CCCCCC; width: 100%; height: 100%; float: left; margin-right: -250px; } #topRight { background-color: #262626; color: #CCCCCC; width: 250px; height: 100%; float: right; } /* Page Main */ #pageMain { background: #ffffff url(../style/images/sidebarBackground.gif) repeat-y right; width: 100%; padding-top: 100px; } /* Main Content */ #mainContent { width: 100%; height: 100%; float: left; margin-right: -250px; } .contentClear { margin-right: 250px; } .contentPost { margin: 40px; } .postTitle {} .postContent {} .postExtras {} /* Main Sidebar */ #mainSidebar { background: #262626 url(../style/images/sidebarBackground.gif) repeat-y right; color: #CCCCCC; width: 220px; margin: 15px; height: 100%; float: right; } #mainSidebar h1 { color: #CCCCCC; font: 14pt'Roboto', sans-serif; text-align: center; margin: 2px; padding: 2px; } #mainSidebar h1:before { content: "‹"; position: relative; left: -2px; } #mainSidebar h1:after { content: "›"; position: relative; left: 2px; } .sidebarContent {} .sidebarNav { margin: 0; padding: 0; list-style: none; } .sidebarNav li:before { content: "//"; position: relative; left: 2px; } /* Page Footer */ #pageFooter { width: 100%; background-color: #262626; } #footerContent { color: #CCCCCC; width: 100%; float: left; margin-right: -250px; } #footerRight { color: #CCCCCC; width: 250px; height: 100%; float: right; } #pageFooter, #footer_push { height: 160px; } .clearfix:before, .clearfix:after { content: ""; display: table; } .clearfix:after { clear: both; } .clearfix { zoom: 1; /* ie 6/7 */ } 
 <div id="pageWrapper"> <div id="pageTop"> <div id="topTitle">This is where the pages logo/title/whatever will go.</div> <div id="topRight">Rightside content</div> </div> <div id="pageMain" class="clearfix"> <div id="mainContent"> <div class="contentClear"> <div class="contentPost"> <div class="postTitle"> <h1>HELLO WORLD!</h1> </div> <div class="postExtras"> <p>APRIL 2, 2015 1 COMMENT</p> </div> <div class="postContent"> <p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p> <p>This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!! This is the posts content; yeah!!</p> </div> </div> </div> </div> <div id="mainSidebar"> <div class="sidebarContent"> <h1>Navigation</h1> <ul class="sidebarNav"> <li> <a href="_blank">Home</a> </li> <li> <a href="_blank">About</a> </li> <li> <a href="_blank">Contact</a> </li> <li> <a href="_blank">Links</a> </li> </ul> </div> <div class="sidebarContent"> <h1>Unordered List</h1> <ul> <li>Here is an unordered list in the sidebar.</li> <li>Here is an unordered list in the sidebar.</li> <li>Here is an unordered list in the sidebar.</li> <li>Here is an unordered list in the sidebar.</li> </ul> </div> <div class="sidebarContent"> <h1>Something Else</h1> <ol> <li>Here is an unordered list in the sidebar.</li> <li>Here is an unordered list in the sidebar.</li> <li>Here is an unordered list in the sidebar.</li> <li>Here is an unordered list in the sidebar.</li> </ol> </div> </div> </div> <div id="footer_push"></div> </div> <div id="pageFooter"> <div id="footerContent"> <h1>This is the footer, and copyright stuff.</h1> <ul> <li> <a href="_blank">Home</a> </li> <li> <a href="_blank">About</a> </li> <li> <a href="_blank">Contact</a> </li> <li> <a href="_blank">Links</a> </li> </ul> </div> <div id="footerRight"> <p>SMLinks</p> </div> </div> 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM