有趣的做法

#main {padding-bottom: 150px;background: #efefef;}
#footer {position: relative;margin-top: -150px;height: 150px;clear:both;}

Posted by Rita at 痞客邦 PIXNET 留言(1) 引用(0) 人氣()


open trackbacks list Trackbacks (0)

留言列表 (1)

Post Comment
  • linguss
  • 抱歉,請問這篇貼文有完成嗎?
    我套用了上面的CSS,可是沒出現"Footer 永遠置底"的效果耶??
  • Dear 不知道你要怎麼應用?最簡單作法:
    .test {bottom:0; position:absolute; width:100%;}

    Rita replied in 2012/05/18 00:12

You haven’t logged in yet, please use guest status to leave message. You can also log in with above service account and leave message

other options