- 相關推薦
div怎么分左右兩半
導語:div是層疊樣式表中的定位技術。以下的是百分網小編為大家搜集的div分左右實例,希望對你有所幫助。
代碼非常簡單:
<!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>exhibitor114</title>
<style type="text/css">
<!--
#exhibitor114{ margin:0 auto;width:auto;height:100%}
#exhibitorleft{ float:left; width:44%; height:100%; background:#eeeeee}
#exhibitorright{ float:left; width:56%;height:100%;}
-->
</style>
</head>
<body>
<p id="exhibitor114" style="float:inherit">
<p id="exhibitorleft">左側</p>
<p id="exhibitorright">右側</p>
</p>
</body>
</html>
【div怎么分左右兩半】相關文章:
教你如何在Dreamweaver移動或對齊AP Div11-09
如何實現JavaScript的DIV塊來回滾動效果03-24
Div+css教程之制作html的工具11-01
用駕照替人消分扣證罰款 怎么算分周期03-17
2017年雅思口語8分怎么做到12-11
《左右》優秀教案04-24
關于左右的教案02-18
Word文檔中千分號怎么打10-27
C語言左右法則的技巧03-27