请问谁有表格的样式表,发一个给我,谢谢

解决方案 »

  1.   

    参见DHTML手册 TABLE样式标签属性 样式属性 描述 
    ACCELERATOR accelerator 设置或获取表明对象是否包含快捷键的字符串。 
    background background 设置或获取对象最多五个独立的背景属性。 
    background-attachment backgroundAttachment 设置或获取背景图像如何附加到文档内的对象中。 
    background-color backgroundColor 设置或获取对象内容后的颜色。 
    background-image backgroundImage 设置或获取对象的背景图像。 
    background-position backgroundPosition 设置或获取对象背景的位置。 
    background-position-x backgroundPositionX 设置或获取 backgroundPosition 属性的 x 坐标。 
    background-position-y backgroundPositionY 设置或获取 backgroundPosition 属性的 y 坐标。 
    background-repeat backgroundRepeat 设置或获取对象的 backgroundImage 属性如何平铺。 
    behavior behavior 设置或获取 DHTML 行为的位置。 
    border border 设置或获取对象周围边框的绘制属性。 
    border-bottom borderBottom 设置或获取对象下边框的属性。 
    border-bottom-color borderBottomColor 设置或获取对象下边框的颜色。 
    border-bottom-style borderBottomStyle 设置或获取对象下边框的样式。 
    border-bottom-width borderBottomWidth 设置或获取对象下边框的宽度。 
    border-collapse borderCollapse 设置或获取表明表格行和单元格边框是组合为单一边框还是像标准 HTML 那样分离。 
    border-color borderColor 设置或获取对象的边框颜色。 
    border-left borderLeft 设置或获取对象左边框的属性。 
    border-left-color borderLeftColor 设置或获取对象左边框的颜色。 
    border-left-style borderLeftStyle 设置或获取对象左边框的样式。 
    border-left-width borderLeftWidth 设置或获取对象左边框的宽度。 
    border-right borderRight 设置或获取对象右边框的属性。 
    border-right-color borderRightColor 设置或获取对象右边框的颜色。 
    border-right-style borderRightStyle 设置或获取对象右边框的样式。 
    border-right-width borderRightWidth 设置或获取对象右边框的宽度。 
    border-style borderStyle 设置或获取对象上下左右边框的样式。 
    border-top borderTop 设置或获取对象上边框的属性。 
    border-top-color borderTopColor 设置或获取对象上边框的颜色。 
    border-top-style borderTopStyle 设置或获取对象上边框的样式。 
    border-top-width borderTopWidth 设置或获取对象上边框的宽度。 
    border-width borderWidth 设置或获取对象上下左右边框的宽度。 
    bottom bottom 设置或获取对象相对于文档层次中下个定位对象的底部的位置。 
    clear clear 设置或获取对象是否允许在其左侧、右侧或两边放置浮动对象,以防下段文本显示在浮动对象上。 
    clip clip 设置或获取定位对象的哪个部分可见。 
    color color 设置或获取对象文本的颜色。 
    cursor cursor 设置或获取当鼠标指针指向对象时所使用的鼠标指针。 
    direction direction 设置或获取对象的阅读顺序。 
    display display 设置或获取对象是否要渲染。 
    filter filter 设置或获取应用于对象的滤镜或滤镜集合。 
    font font 设置或获取对象最多六个独立的字体属性。 
    font-family fontFamily 设置或获取对象文本所使用的字体名称。 
    font-size fontSize 设置或获取对象文本使用的字体大小。 
    font-style fontStyle 设置或获取对象的字体样式,如斜体、常规或倾斜。 
    font-variant fontVariant 设置或获取对象文本是否以小型大写字母显示。 
    font-weight fontWeight 设置或获取对象的字体宽度。 
     hasLayout 获取表明对象是否有布局的值。 
    height height 设置或获取对象的高度。 
    layout-grid layoutGrid 设置或获取指定文本字符版面的组合文档格线属性。 
    layout-grid-char layoutGridChar 设置或获取用于渲染元素文本内容的字符网格大小。 
    layout-grid-line layoutGridLine 设置或获取用于渲染元素文本内容的网格线值。 
    layout-grid-mode layoutGridMode 设置或获取文本布局网格是否使用二维。 
    layout-grid-type layoutGridType 设置或获取用于渲染元素文本内容的网格类型。 
    left left 设置或获取对象相对于文档层次中下个定位对象的左边界的位置。 
    letter-spacing letterSpacing 设置或获取对象的字符间附加空间的总和。 
    line-break lineBreak 设置或获取日本文本的换行规则。 
    line-height lineHeight 设置或获取对象两行间的距离。 
    margin margin 设置或获取对象的上下左右边距。 
    margin-bottom marginBottom 设置或获取对象的下边距宽度。 
    margin-left marginLeft 设置或获取对象的左边距宽度。 
    margin-right marginRight 设置或获取对象的右边距宽度。 
    margin-top marginTop 设置或获取对象的上边距宽度。 
    padding padding 设置或获取要在对象和其边距或若存在的边框的话就是对象和其边框之间要插入的全部空间。 
    page-break-after pageBreakAfter 设置或获取表明对象后发生换页的字符串。 
    page-break-before pageBreakBefore 设置或获取表明对象前发生换页的字符串。 
     pixelBottom 设置或获取对象的下方位置。 
     pixelHeight 设置或获取对象的高度。 
     pixelLeft 设置或获取对象的左侧位置。 
     pixelRight 设置或获取对象的右侧位置。 
     pixelTop 设置或获取对象的上方位置。 
     pixelWidth 设置或获取对象的宽度。 
     posBottom 设置或获取以 bottom 标签属性指定的单位的对象下方位置。 
     posHeight 设置或获取以 height 标签属性指定的单位的对象高度。 
    position position 设置或获取对象所使用的定位方式。 
     posLeft 设置或获取以 left 标签属性指定的单位的对象左侧位置。 
     posRight 设置或获取以 right 标签属性指定的单位的对象右侧位置。 
     posTop 设置或获取以 top 标签属性指定的单位的对象上方位置。 
     posWidth 设置或获取以 width 标签属性指定的单位的对象宽度。 
    right right 设置或获取对象相对于文档层次中下个已定位的对象的右边界的位置。 
    float styleFloat 设置或获取文本要绕排到对象的哪一侧。 
    table-layout tableLayout 获取表明表格布局是否固定的字符串。 
    text-align textAlign 设置或获取对象中的文本是左对齐、右对齐、居中对齐还是两端对齐。 
    text-autospace textAutospace 设置或获取自动留空和文本的窄空间宽度调整。 
    text-decoration textDecoration 设置或获取对象中的文本是否有闪烁、删除线、上划线或下划线的样式。 
     textDecorationBlink 设置或获取表明对象的 textDecoration 属性是否含有有“blink”的 Boolean 值。 
     textDecorationLineThrough 设置或获取表明对象内的文本是否有删除线的 Boolean 值。 
     textDecorationNone 设置或获取表明对象的 textDecoration 属性是否设置为 none 的 Boolean 值。 
     textDecorationOverline 设置或获取表明对象中的文本是否有上划线的 Boolean 值。 
     textDecorationUnderline 设置或获取对象中的文本是否有下划线的 Boolean 值。 
    text-indent textIndent 设置或获取对象中文本的缩进。 
    text-justify textJustify 设置或获取对象内的文本所使用的对齐类型。 
    text-transform textTransform 设置或获取对象中文本的渲染方式。 
    text-underline-position textUnderlinePosition 设置或获取对象的 textDecoration 属性中设置的下划线的位置。 
    top top 设置或获取对象相对于文档层次中下个定位对象的上边界的位置。 
    unicode-bidi unicodeBidi 设置或获取关于双向法则的嵌入级别。 
    visibility visibility 设置或获取对象的内容是否显示。 
    word-break wordBreak 设置或获取单词内的换行行为,特别是对象中出现多语言的情况。 
    word-spacing wordSpacing 设置或获取对象中单词间的附加空间总量。 
    z-index zIndex 设置或获取定位对象的堆叠次序。 
    zoom zoom 设置或获取对象的放大比例。 
      

  2.   


    .table{
    border: 1px solid #C9DEEC;
    margin-top: 5px;
    margin-bottom: 5px;
    background:#F0F8FD;
    font-size:12px;
    }
      

  3.   


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>CSS Tables</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
    </head>
    <style type="text/css">
    /* CSS Document */body {
    font: normal 11px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    color: #4f6b72;
    background: #E6EAE9;
    }a {
    color: #c75f3e;
    }#mytable {
    width: 700px;
    padding: 0;
    margin: 0;
    }caption {
    padding: 0 0 5px 0;
    width: 700px;  
    font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    text-align: right;
    }th {
    font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    color: #4f6b72;
    border-right: 1px solid #C1DAD7;
    border-bottom: 1px solid #C1DAD7;
    border-top: 1px solid #C1DAD7;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: left;
    padding: 6px 6px 6px 12px;
    background: #CAE8EA url(images/bg_header.jpg) no-repeat;
    }th.nobg {
    border-top: 0;
    border-left: 0;
    border-right: 1px solid #C1DAD7;
    background: none;
    }td {
    border-right: 1px solid #C1DAD7;
    border-bottom: 1px solid #C1DAD7;
    background: #fff;
    font-size:11px;
    padding: 6px 6px 6px 12px;
    color: #4f6b72;
    }
    td.alt {
    background: #F5FAFA;
    color: #797268;
    }th.spec {
    border-left: 1px solid #C1DAD7;
    border-top: 0;
    background: #fff url(images/bullet1.gif) no-repeat;
    font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    }th.specalt {
    border-left: 1px solid #C1DAD7;
    border-top: 0;
    background: #f5fafa url(images/bullet2.gif) no-repeat;
    font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    color: #797268;
    }
    /*---------for IE 5.x bug*/
    html>body td{ font-size:11px;}
    </style>
    <body>
    <table id="mytable" cellspacing="0" summary="The technical specifications of the Apple PowerMac G5 series">
    <caption>&nbsp;</caption>
       <tr>
         <th scope="col" abbr="Configurations" class="nobg">Configurations</th>     <th scope="col" abbr="Dual 1.8">Dual 1.8GHz</th>
         <th scope="col" abbr="Dual 2">Dual 2GHz</th>
    <th scope="col" abbr="Dual 2.5">Dual 2.5GHz</th>
       </tr>
       <tr>
         <th scope="row" abbr="Model" class="spec">lipeng</th>
         <td>M9454LL/A</td>     <td>M9455LL/A</td>
         <td>M9457LL/A</td>
       </tr>
       <tr>
         <th scope="row" abbr="G5 Processor" class="specalt">mapabc</th>
         <td class="alt">Dual 1.8GHz PowerPC G5</td>
         <td class="alt">Dual 2GHz PowerPC G5</td>     <td class="alt">Dual 2.5GHz PowerPC G5</td>
       </tr>
       <tr>
         <th scope="row" abbr="Frontside bus" class="spec">地图名片</th>
         <td>900MHz per processor</td>
         <td>1GHz per processor</td>
         <td>1.25GHz per processor</td>   </tr>
       <tr>
         <th scope="row" abbr="L2 Cache" class="specalt">图秀卡</th>
         <td class="alt">512K per processor</td>
         <td class="alt">512K per processor</td>
         <td class="alt">512K per processor</td>
       </tr></table></body>
    </html>