<!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>div田字格</title><style>?#1?{ height:200px;? }#2{ height:200px; }#11{ width:49%; height:200px; float:left; background:yellow; }#12{ width:49%; height:200px; float:right; background:blue; }#21{ width:49%; height:200px; float:left; background:black; }#22{ width:49%; height:200px; float:right; background:grey; }</style></head><body> <div id="1">? ? <div id="11"> </div>? ? ? ? <div id="12"></div>? ? </div> <div id="2">? ? <div id="21"></div>? ? ? ? <div id="22"></div>? ? </div></body></html>
添加回答
舉報
0/150
提交
取消