<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> .pg-head{ height: 50px; 600px; border-bottom: 1px black solid; line-height: 50px; } .pg-head span{ font-size: 30px; } .pg-body { 910px; height: 292px; position: relative; } .p1 .le { position: absolute; height: 60px; line-height: 60px; font-size: 39px; color: firebrick; left: 23px; } .p1 .l1 { position: absolute; height: 60px; line-height: 60px; font-size: 34px; color: firebrick; left: 30px; top: 43px; } .p1 .l2 { position: absolute; top: 123px; text-align: center; left: 46px; } .pg-body .p2 { 652px; height: 228px; background-color: burlywood; position: absolute; right: 10px; top: 15px; } .pg-body .p3 { 655px; height: 43px; position: absolute; line-height: 42px; right: 8px; left: 260px; bottom: 0;} .pg-body .p4 { 242px; height: 41px; background-color: firebrick; color: white; line-height: 41px; text-align: center; position: absolute; bottom: 0; } </style> </head> <body> <div class="pg-head"> <p ><span>今日</span> <span style="background-color: red">最新</span> NEW</p> </div> <div class="pg-body"> <div class="p1"> <div class="l1">YAYA 鸭鸭</div> <div class="l2">鸭鸭反季清仓特卖</div> </div> <div class="p2"></div> <div class="p3">还剩3天</div> <div class="p4"> <div >鸭鸭反季特卖专场</div> </div> </div> </body> </html>