Home  >  Article  >  Web Front-end  >  我这个如何固定列宽并把表线变成兰_html/css_WEB-ITnose

我这个如何固定列宽并把表线变成兰_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:09:50881browse

下面是我程序的代码,如何:
1,让这里的表格的最左列(一共就两列)的宽度固定死,不因内容改变宽度
2,如何让表格改成像CSDN这样的细兰线,它的固有表线很难看

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  


    Repeater.DataSourceID Property Example
    


  
    


      

Repeater.DataSourceID Property Example



               datasourceid="SqlDataSource1"
        runat="server">

        

        


        

      
      
          
          
      
      
          
      
      
          
      
      

              
              

              

              

              

        


        

        

      

                         connectionstring="" 
        selectcommand="SELECT * FROM [fengong]"
        runat="server">
      

    
      
  


回复讨论(解决方案)

table {	table-layout:fixed;	border-collapse: collapse;}table, td {	border: 1px solid #0000FF;}

谢高手百忙中回复,非常感激
希望能继续帮助我

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn