Home >Web Front-end >HTML Tutorial >?丝求助个CSS问题_html/css_WEB-ITnose
<!DOCTYPE html><html><head><style>#page {background:red;width:200px;margin-right:auto;margin-left:auto;}#d1 {height:100px;background:green;}#d2 {height:100px;margin-top:50px;background:black;}</style></head><body><div id="page"><div id="d1">1</div><div id="d2">2</div></div></body></html>
XML/HTML code??12345678910111213141516nbsp;html>