创建页脚问题? [英] create footer problem?
问题描述
i希望在我的网页下创建一个页脚,比我的下层5px更高价格b / b
浏览器窗口边界,无论我滚动多少或调整页面大小。
i现在使用以下脚本,但它没有做我想要的。
功能所在地(){
var y;
if(window.innerWidth == null){
y = document.body.clientHeight;
}
else {
y = window.innerHeight;
}
footer.style.top = y-20;
setTimeout(" place()",300);
}
谁可以帮助我或给我一个例如?
谢谢
Marcel
" Marcel" <毫安********** @ planet.nl>在消息中写道
news:c1 ********** @ reader11.wxs.nl ...hi,
我想在我的网页下创建一个页脚,比我的浏览器窗口边框高出5px,无论我滚动或调整页面大小。
我现在使用以下脚本但不做我想要的是什么。
函数的地方(){
var y;
if(window.innerWidth == null){
y = document.body.clientHeight;
}
其他{
y = window.innerHeight;
}
footer.style.top = y-20;
setTimeout( place(),300);
}
谁可以帮助我或给我一个例子?
这里''例如: http://www.alistapart.com/articles/footers/
-
Andrew Urquhart
回复: http://www.andrewu.co.uk/about/conta...ewsgroup_ciwas
Marcel写道:
我想在我的网页下创建一个页脚,比我的浏览器窗口边界高出5px,无论我滚动或调整页面大小。
>
既然你在ciwa.stylesheets中提问,我会给你一个基于CSS的例子:
< http://home.wanadoo.nl/b.de.zoete /voorbeelden/voorbeeld_fixeren-kop.html>
Page是荷兰语,但看着你的电子邮件,这可能不是你的问题。
< br $>
-
芭芭拉
http://home.wanadoo.nl/b.de.zoete/html/weblog.html
http://home.wanadoo.nl/b.de.zoete /html/webontwerp.html
在文章< c1 ********** @ reader11.wxs.nl>中, ma ********** @ planet.nl
启发我们...hi,
我想在我的网页下创建一个页脚,比我的浏览器窗口边框高出5px,无论我滚动或调整页面大小。
http://www.ipwebdesign.net/kaelisSpa...l_css3row.html
-
-
~kaeli~
巴甫洛夫的名字是响铃吗? br /> http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
>
hi,
i want to create a footer under my webpage at 5px above my lower
browserwindowborder no matter how much i scroll or resize my page.
i now use the following script but it does not do what i want.
function place(){
var y;
if (window.innerWidth == null) {
y=document.body.clientHeight;
}
else {
y = window.innerHeight;
}
footer.style.top=y-20;
setTimeout("place()",300);
}
who can help me or give me a example?
thanks
Marcel解决方案"Marcel" <ma**********@planet.nl> wrote in message
news:c1**********@reader11.wxs.nl...hi,
i want to create a footer under my webpage at 5px above my lower
browserwindowborder no matter how much i scroll or resize my page.
i now use the following script but it does not do what i want.
function place(){
var y;
if (window.innerWidth == null) {
y=document.body.clientHeight;
}
else {
y = window.innerHeight;
}
footer.style.top=y-20;
setTimeout("place()",300);
}
who can help me or give me a example?
Here''s an example: http://www.alistapart.com/articles/footers/
--
Andrew Urquhart
Reply: http://www.andrewu.co.uk/about/conta...ewsgroup_ciwas
Marcel wrote:
i want to create a footer under my webpage at 5px above my lower
browserwindowborder no matter how much i scroll or resize my page.
Since you ask in ciwa.stylesheets, I''ll give you a CSS-based example:
<http://home.wanadoo.nl/b.de.zoete/voorbeelden/voorbeeld_fixeren-kop.html>
Page is in Dutch, but looking at your e-mailadress this is probably not
a problem for you.
--
Barbara
http://home.wanadoo.nl/b.de.zoete/html/weblog.html
http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html
In article <c1**********@reader11.wxs.nl>, ma**********@planet.nl
enlightened us with...hi,
i want to create a footer under my webpage at 5px above my lower
browserwindowborder no matter how much i scroll or resize my page.
http://www.ipwebdesign.net/kaelisSpa...l_css3row.html
--
--
~kaeli~
Does the name Pavlov ring a bell?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
这篇关于创建页脚问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!