<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <style> .left_div{ float:left; margin-right:-220px; width:100%} .in_left{ margin-right:220px; background:#ccc; font:bold 24px/250px verdana; color:#072d84} .right_div{ float:right; background:#6699FF; width:216px; font:bold 16px/500px verdana; vertical-align:top} </style> </head> <body> <div class="left_div"> <div class="in_left">What's up, my man?</div> </div> <div class="right_div">555555</div> </body> </html>
提示:你可以先修改部分代码再运行。
Slloser 上海,浦东。 热衷于: 交互设计、网站产品 还有阳明心学 >>更详细