.nav { width:100%; height:427px; background-color:#222; } .detail { width:100%; height:5000px; position:relative; background-color:#fff; } .detail-right { float:right; width:50%; height:100px; background-color:red; } .detail .fiesd-top { position:fixed; right:0; top:0; } .detail .fiesd-bottom { position:absolute; right:0; bottom:0; } .fotter { width:100%; height:1000px; background-color:yellow; }