亚欧洲精品在线观看,窝窝影院午夜看片,久久国产成人午夜av影院宅,午夜91,免费国产人成网站,ts在线视频,欧美激情在线一区

網(wǎng)頁設(shè)計(jì)

div怎么分左右兩半

時(shí)間:2025-05-11 12:59:04 網(wǎng)頁設(shè)計(jì) 我要投稿
  • 相關(guān)推薦

div怎么分左右兩半

  導(dǎo)語:div是層疊樣式表中的定位技術(shù)。以下的是百分網(wǎng)小編為大家搜集的div分左右實(shí)例,希望對(duì)你有所幫助。

  代碼非常簡(jiǎn)單:

  <!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">左側(cè)</p>

  <p id="exhibitorright">右側(cè)</p>

  </p>

  </body>

  </html>

【div怎么分左右兩半】相關(guān)文章:

圖片在DIV中是怎么樣居中的07-02

怎么樣在兩個(gè)div之間切換的實(shí)例07-27

div水平垂直居中顯示10-25

用單div實(shí)現(xiàn)CSS繪圖方法08-11

網(wǎng)頁設(shè)計(jì)div css為何加載失敗10-02

用CSS讓DIV層水平居中實(shí)例10-20

DIV+CSS命名規(guī)范記錄10-14

flash遮住div的解決方法10-10

在div中可以輸入文字的方法09-15