兩列的div+css的table效果

來源:互聯網
上載者:User

.mycode{ margin-top:20px; padding-right:200px ;  padding-left:50px;  float:left; display:inline}
.mycode ul{ width:500px;  height:300px }   
.mycode li{ width:200px; float:left;  height:30px; list-style:none}   
.mycode li p{text-align:right; margin-top:0px}  

 .sheng{ color:#F05D0B;font-weight:400;}
#ddlProjCategoryNo{ }
select {font-size:12px;width:175px;  }
input {border:1px solid #7F9DB9; padding:2px; width:170px;}
#btnSearch{ background:url(../images/btnSearch.gif)  no-repeat; border:none; width:90px}

 

 

<div class="mycode">  
    <ul>   
     <li><p>工程地區:</p> </li>  
        <li><label class="sheng">廣東省-廣州市</label></li>  
        <li><p>工程類別:</p> </li>  
        <li><select name="ddlProjCategoryNo" id="ddlProjCategoryNo">
 <option value="">==未選擇==</option>
 <option value="000200010001">住宅社區</option>
 <option value="000200010002">文化體育</option>
 <option value="000200010003">展覽觀演</option>
 <option value="000200010004">衛生醫學</option>
 <option value="000200010005">酒店服務</option>
 <option value="000200010006">工業建築</option>
 <option value="000200010007">市政道路</option>
 <option value="000200010008">園林景觀</option>
 <option value="000200010009">商業綜合</option>
 <option value="000200010010">行政辦公</option>
 <option value="000200010011">農業水利</option>
 <option value="000200010012">環保節能</option>
 <option value="000200010013">交通運輸</option>
 <option value="000200010014">公用建築</option>
 <option value="000200010015">特種工程</option>
 <option value="000200010016">其他</option>

</select></li>  
<li><p>工程階段:</p></li>
<li><select name="ddlProjStageID" id="ddlProjStageID">
 <option value="0">==未選擇==</option>
 <option value="1">工程籌備(諮詢、概念設計)</option>
 <option value="2">勘察設計</option>
 <option value="3">主體施工</option>
 <option value="4">裝置安裝</option>
 <option value="5">裝飾裝修</option>
 <option value="6">園林景觀</option>
 <option value="7">竣工測試</option>
 <option value="8">其他</option>

</select>
</li>
<li><p>項目類型:  </p></li>
<li><select name="ddlProjType" id="ddlProjType">
 <option value="">==未選擇==</option>
 <option value="室內裝飾">室內裝飾</option>
 <option value="擴建">擴建</option>
 <option value="改建/加建">改建/加建</option>
 <option value="建立">建立</option>
 <option value="翻新">翻新</option>

</select></li>
        <li><p>工程開工時間大於:</p></li>  
        <li> <input name="tbProjBeginDateMore" type="text" value=""     id="tbProjBeginDateMore" onfocus="setday(this)"  /> </li>  
        <li><p>工程開工時間小於:</p></li>  
        <li>  <input name="tbProjBeginDateLess" type="text" value=""     id="tbProjBeginDateLess" onfocus="setday(this)"   /></li>  
        <li><p>發布時間大於:</p></li>  
        <li> <input name="tbProjBeginDateMore" type="text" value=""     id="tbProjBeginDateMore" onfocus="setday(this)"  /> </li>  
        <li><p>發布時間小於:</p></li>  
        <li>  <input name="tbProjBeginDateLess" type="text" value=""     id="tbProjBeginDateLess" onfocus="setday(this)"   /></li>  
        <li><p>更新時間大於:</p></li>  
        <li> <input name="tbProjBeginDateMore" type="text" value=""     id="tbProjBeginDateMore" onfocus="setday(this)"  /> </li>  
        <li><p>更新時間小於:</p></li>  
        <li>  <input name="tbProjBeginDateLess" type="text" value=""     id="tbProjBeginDateLess" onfocus="setday(this)"   /></li>  
        <li></li>
   <li>    <input type="submit" name="btnSearch" value=" " id="btnSearch" class="style1" /></li>  
 
  
  </ul>  
</div>  

 

 

 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.