JBUILDER2006使用的HTML语法是那一个版本的,哪里可以看到这样的帮助文档????????我在JBUILDER2006中写这样的东西,都提示有错误:<table border="3" bordercolor = "green">
<tr>
<td>这一格</td>
<td>这二格</td>
<td>这三格</td>
</tr>
</table>它说:bordercolor这个属性不能识别???为什么?????

解决方案 »

  1.   

    语法是XHTML1.0.
    table没有bordercolor 属性,如果要声明border的颜色可以在css中控制。
    即<table style="border-corlor: green">  。关于table的属性的DTD部分:
    <!ATTLIST table
      %attrs;
      summary     %Text;         #IMPLIED
      width       %Length;       #IMPLIED
      border      %Pixels;       #IMPLIED
      frame       %TFrame;       #IMPLIED
      rules       %TRules;       #IMPLIED
      cellspacing %Length;       #IMPLIED
      cellpadding %Length;       #IMPLIED
      >
    <!ENTITY % attrs "%coreattrs; %i18n; %events;">
    <!-- core attributes common to most elements
      id       document-wide unique id
      class    space separated list of classes
      style    associated style info
      title    advisory title/amplification
    -->
    <!ENTITY % coreattrs
     "id          ID             #IMPLIED
      class       CDATA          #IMPLIED
      style       %StyleSheet;   #IMPLIED
      title       %Text;         #IMPLIED"
      ><!-- internationalization attributes
      lang        language code (backwards compatible)
      xml:lang    language code (as per XML 1.0 spec)
      dir         direction for weak/neutral text
    -->
    <!ENTITY % i18n
     "lang        %LanguageCode; #IMPLIED
      xml:lang    %LanguageCode; #IMPLIED
      dir         (ltr|rtl)      #IMPLIED"
      ><!-- attributes for common UI events
      onclick     a pointer button was clicked
      ondblclick  a pointer button was double clicked
      onmousedown a pointer button was pressed down
      onmouseup   a pointer button was released
      onmousemove a pointer was moved onto the element
      onmouseout  a pointer was moved away from the element
      onkeypress  a key was pressed and released
      onkeydown   a key was pressed down
      onkeyup     a key was released
    -->
    <!ENTITY % events
     "onclick     %Script;       #IMPLIED
      ondblclick  %Script;       #IMPLIED
      onmousedown %Script;       #IMPLIED
      onmouseup   %Script;       #IMPLIED
      onmouseover %Script;       #IMPLIED
      onmousemove %Script;       #IMPLIED
      onmouseout  %Script;       #IMPLIED
      onkeypress  %Script;       #IMPLIED
      onkeydown   %Script;       #IMPLIED
      onkeyup     %Script;       #IMPLIED"
      >