查MSDN啊。TABLE--------------------------------------------------------------------------------DescriptionUsed to specify that the contained content is organized into a table with rows and columns. Use the TR, TD, and TH elements in the container to create the rows, columns, and cells. The optional CAPTION, THEAD, TBODY, TFOOT, COLGROUP, and COL elements can be used to organize a table and apply attributes across columns and groups of columns. Syntax
<TABLE
ALIGN=CENTER | LEFT | RIGHT
BACKGROUND=url
BGCOLOR=color
BORDER=n
BORDERCOLOR=color
BORDERCOLORDARK=color
BORDERCOLORLIGHT=color
CELLPADDING=n
CELLSPACING=n
CLASS=classname
COLS=n
DATAPAGESIZE=n
DATASRC=#ID
FRAME=ABOVE | BELOW | BORDER | BOX | INSIDES | LHS | RHS | VOID | VSIDES
HEIGHT=n
ID=value
LANG=language
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS 
RULES=ALL | COLS | GROUPS | NONE | ROWS
STYLE=css1-properties
TITLE=text
WIDTH=n
event = script
>Parameter Description 
ALIGN=CENTER | LEFT | RIGHT  Specifies how the table should be aligned. 
BACKGROUND=url  Specifies a background picture for the table. The picture is tiled behind the text and graphics in the table, table head, or table cell. 
BGCOLOR=color  Sets the background color behind the element. For a complete list of colors, look at the Internet Explorer color table. 
BORDER=n  Specifies the thickness of a border to be drawn around the element. 
BORDERCOLOR=color  Sets border color and must be used with the BORDER attribute, except for frames. For a complete list of colors, look at the Internet Explorer color table. 
BORDERCOLORDARK=color  Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORLIGHT, and must be used with the BORDER attribute. 
BORDERCOLORLIGHT=color  Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORDARK, and must be used with the BORDER attribute. 
CELLPADDING=n  Specifies the amount of space between the border of the cell and the contents of the cell. 
CELLSPACING=n  Specifies the amount of space between cells in a table. 
CLASS=classname  Specifies the class of the tag being defined. This is used to associate a sub-classed style sheet with the tag. 
COLS=n  The number of columns in the table.  
DATAPAGESIZE=n  Sets the number of records displayed in a data bound repeated table. 
DATASRC=#ID  Indicates the ID of the data source object that supplies the data that is bound to this element. 
FRAME= ABOVE | BELOW | BORDER | BOX | INSIDES | LHS | RHS | VOID | VSIDES  Specifies which sides of a frame (outside borders) are displayed. The possible values are: BORDER  Displays a border on all sides of the table frame. This is the default. 
VOID  Removes all outside table borders. 
ABOVE  Displays a border on the top side of the table frame. 
BELOW  Displays a border on the bottom side of the table frame. 
HSIDES  Displays a border on the top and bottom sides of the table frame. 
LHS  Displays a border on the left-hand side of the table frame. 
RHS  Displays a border on the right-hand side of the table frame. 
VSIDES  Displays a border on the left and right sides of the table frame. 
BOX  Displays a border on all sides of the table frame. 
 
HEIGHT=n  Along with WIDTH, specifies the size at which the element is drawn. This attribute may be initially set in pixels or percentages. 
ID=value  An SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underbar character, "_", may be used in the ID name. The ID should be unique throughout the scope of the document. If more than one object with the same identifier exists in a document, a collection of those named items is created that can only be referenced by ordinal position. 
LANG=language  Specifies which language to use in ISO standard language abbreviation form. 
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT  Specifies the language the current script is written in and invokes the proper scripting engine. The default value is JAVASCRIPT. JAVASCRIPT, JSCRIPT  The scripting language is written in JavaScript. 
VBS, VBSCRIPT  The scripting language is written in VBScript. 
 
RULES=ALL | COLS | GROUPS | NONE | ROWS  Specifies which dividing lines are displayed (inside borders).  
 Specifies which dividing lines (inside borders) are displayed. The possible values are: NONE  Removes all interior table borders. This is the default. 
GROUPS  Displays horizontal borders between all table groups. Groups are specified by the THEAD, TBODY, TFOOT, and COLGROUP elements. 
ROWS  Displays horizontal borders between all table rows. 
COLS  Displays vertical borders between all table columns. 
ALL  Displays a border on all rows and columns. 
 
STYLE=css1-properties  Specifies an in-line style sheet for the tag. 
TITLE=text  Used to provide advisory information. The contents of the title attribute will be displayed in a ToolTip during the onmouseover event. 
WIDTH=n  Along with HEIGHT, sets the initial size of the element. This attribute may be initially set in pixels or percentages. 
event  Can be one or more of these events: onafterupdate  onbeforeupdate 
onblur  onclick 
ondblclick  ondragstart 
onfocus  onhelp 
onkeydown  onkeypress 
onkeyup  onmousedown 
onmousemove  onmouseout 
onmouseover  onmouseup 
onresize  onrowenter 
onrowexit  onscroll 
onselectstart 
 ResValid tags within a table include: TR 
CAPTION 
THEAD 
TBODY 
TFOOT 
COLGROUP 
COL 
This element is a block element. Both the start and end tags are required. Example<TABLE BORDER=1 WIDTH=80%>
<THEAD>
<TR>
<TH>Heading 1</TH>
<TH>Heading 2</TH>
</TR>
<TBODY>
<TR>
<TD>Row 1, Column 1 text.</TD>
<TD>Row 1, Column 2 text.</TD>
</TR>
<TR>
<TD>Row 2, Column 1 text.</TD>
<TD>Row 2, Column 2 text.</TD>
</TR>
</TABLE>Scripting ObjectTABLE See Also
TD, TR 
DIV--------------------------------------------------------------------------------DescriptionSpecifies a container that renders HTML. ResThis element is a block element. Propertiesalign, className, clientHeight, clientWidth, dataFld, dataFormatAs, dataSrc, document, id, innerText, isTextEdit, lang, language, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, outerText, parentElement, parentTextEdit, scrollHeight, scrollLeft, scrollTop, scrollWidth, sourceIndex, style, tagName, title Methodsblur, click, contains, focus, getAttribute, insertAdjacentHTML, insertAdjacentText, removeAttribute, scrollIntoView, setAttribute Collectionsall, children, filters Eventsonafterupdate, onbeforeupdate, onblur, onclick, ondblclick, ondragstart, onfocus, onhelp, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onresize, onrowenter, onrowexit, onscroll, onselectstart HTML ElementDIV 

解决方案 »

  1.   

    table 是表格呀!
    div 是层你应该问div和span有什么区别:)
      

  2.   

    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <SCRIPT language=Javascript>
    function divTxt()
    {
      div1.style.fontFamily ='Courier New'
      div1.style.fontStyle = 'italic';
      div1.style.fontSize = '16pt';
    }function tableTxt()
    {
      table1.style.fontFamily ='Courier New'
      table1.style.fontStyle = 'italic';
      table1.style.fontSize = '16pt';
    }
    </SCRIPT>
    </HEAD><BODY>
    <table id=table1 width="660" border="0" cellspacing="0" cellpadding="0" height="8" >
      <tr>
        <td>我是个新手,不太懂这个
        </td>
      </tr>
    </table>
    <div id=div1>这是div内的文字</div><INPUT TYPE="button" NAME="A" value=div onclick="divTxt()">
    <INPUT TYPE="button" NAME="B" value=table onclick="tableTxt()"></BODY>
    </HTML>
      

  3.   

    我是楼主。
         <table width="660" border="0" cellspacing="0" cellpadding="0" height="8" >
    我想知道怎么改上边代码,把设置字的大小加上去。
      

  4.   

    zhaoweiwei(if(轩辕剑^倚天剑))   请问一下div和span有什么区别  啊  谢谢!!to  楼主
    <table class="font9" width="660" border="0" cellspacing="0" cellpadding="0" height="8" >class="font9 " 是 自己定义的字体类名如:  在CSS样式表里定义.font9 {
    font-size: 9pt;
    color: #333333;
    text-decoration: none;
    text-indent: 2em;}
      

  5.   

    <table style="font-size:9pt" width="660" border="0" cellspacing="0" cellpadding="0" height="8" >
      

  6.   

    我的楼主...........................
    我想改下边这段代码,改成从下向上滚动的效果.100分...................
    <table style="font-size:10pt" width="650" border="0" cellspacing="0" cellpadding="0" height="20" >    <tr> 
          <td bgcolor="#F3F9FC" >
      <marquee behavior="scroll" scrollDelay=80 scrollamount="5" onmouseover="this.stop()" onmouseout="this.start()">
       <a href="http://www.csdn.net/news/newstopic/13/13852.shtml">· Sun发布开放源代友和商用Java工具中文版 </a>
    <a href="http://www.dwlive.com.cn/">· IBM2003开发者大会即将开始</a>
    <a href="http://www.dearbook.com.cn/liwei/">· 李维最新力作即将出版《深入核心-VCL架构剖析》</a>
    <a href="http://www.csdn.net/news/newstopic/13/13908.shtml">· 微软瞄准嵌入式设备 将允许用户查看源代码</a>
    <a href="http://www.csdn.net/news/newstopic/13/13903.shtml">· 微软将公布Longhorn技术预览版及开发工具包</a>
    <a href="http://www.palmsource.com/cn/conference2003/index.html">· PalmSource中国开发者大会 </a>
    <a href="http://www.csdn.net/Develop/article/21/21596.shtm">· 保护你的代码——谁动了我的组件?</a>
         <a href="8.htm"></a>
    <a href="9.htm"></a>
      </marquee>
      </td>
        </tr>
    </table>
      

  7.   

    我是楼主.........     现在情况发生变化了.
    <MARQUEE DIRECTION=UP LOOP=Y BEHAVIOR=SCROLL DATAFORMATAS=HTML WIDTH=415 HEIGHT=140 SCROLLDELAY=500>帮助我把高度和加上去就100分.
      

  8.   

    <MARQUEE DIRECTION=UP LOOP=Y BEHAVIOR=SCROLL DATAFORMATAS=HTML WIDTH=415 HEIGHT=140 SCROLLDELAY=500>修改那个height为你想要的数字
      

  9.   

    <MARQUEE DIRECTION=UP LOOP=Y BEHAVIOR=SCROLL DATAFORMATAS=HTML WIDTH=415 HEIGHT=140 SCROLLDELAY=500 style="position:absolute;left:300;top:0">
    修改left/top的值。left=x,top=y
      

  10.   

    晕!你就不能一次说完?style=""的引号里边写:color:#ffffff
    颜色自己修改!ps:奉劝你学一些css/html的基础知识,别总想着要代码!
      

  11.   


      …… 呵. 心云老兄真有耐性啊.
     
      的确. 建议楼主买本 css/html 基础的书看看.. 有了基础,再来研究js就不难了.
      "授人鱼不如授人渔" :)
      

  12.   

    晕!如果你的里边的文字是超级链接,那就要用CSS定义超级链接的颜色或者在<BODY LINK=#FF0000 VLINK=#000000 ALINK=#FFFFFF>设置
    具体的请查阅相关资料。
    我认为我说的够详细了。
    新手提问不是错误
    但是新手连文档都不查的一味只想得到答案,这就是错误!