home *** CD-ROM | disk | FTP | other *** search
/ RComp HTML Edit Studio for RISC OS / RComp HTML Edit Studio for RISC OS.iso / ZIPS / HTML.ZIP / HTMLEdit / !HTMLEdit / User / dtd / ie20tables < prev    next >
Encoding:
Text File  |  1997-07-15  |  4.2 KB  |  111 lines

  1. <!--    DTD for Internet Explorer 2.0 Tables
  2.  
  3.     Beta Version 0.9    Date: 2/26/96
  4.  
  5.     This markup is based on the tables markup
  6.     contained in the IETF March 1995 Draft HTML3 DTD.
  7.  
  8.     Attributes have been added as noted.
  9.  
  10.     Typical invocation:
  11.  
  12.     <!ENTITY % ietables PUBLIC
  13.         "-//Microsoft//DTD Internet Explorer 2.0 Tables//EN" >
  14.  
  15. -->
  16.  
  17. <!ENTITY % attrs  -- common attributes for elements --
  18.         'id       ID      #IMPLIED -- as target for hrefs (link ends) --
  19.          lang     CDATA   "en.us"  -- ISO language, country code --
  20.          class    NAMES   #IMPLIED -- for subclassing elements --'>
  21.  
  22. <!ENTITY % needs -- Attributes for controlling text flow. Used in headers
  23.                     and other elements to guarantee sufficient room --
  24.         'clear  CDATA "no"  -- (left|right|all|no) move down past figures --
  25.          needs  CDATA #IMPLIED -- minimum width needed in em"s or pixels --
  26.                                         -- e.g. "40 em" or "100 pixels"  --'>
  27.  
  28. <!ENTITY % cell "TH | TD">
  29. <!ENTITY % horiz.align "left|center|right|justify">
  30. <!ENTITY % vert.align  "top|middle|bottom|baseline">
  31. <!ENTITY % block.align
  32.         "align  (bleedleft|left|center|right|bleedright|justify) center">
  33.  
  34.  
  35. <!ELEMENT TABLE - - (CAPTION?, TR*) -- mixed headers and data -->
  36. <!ATTLIST TABLE
  37.         %attrs;
  38.         %needs; -- for control of text flow --
  39.         border    NUMBER    #IMPLIED -- draw borders --
  40.         colspec    CDATA    #IMPLIED -- column widths and alignment.
  41.         Not supported by IE2 --
  42.         units    (en|pixels|relative) en -- units for column widths
  43.         Not supported by IE2 --
  44.         dp    CDATA    #IMPLIED -- decimal point e.g. dp="," 
  45.         Not supported by IE2 --
  46.         width    CDATA    #IMPLIED -- absolute or percentage width --
  47.         %block.align;  -- horizontal alignment --
  48.         valign    (%vert.align)  top  -- vertical alignment --
  49.         noflow    (noflow)    #IMPLIED -- noflow around table 
  50.         Not supported by IE2 --
  51.         nowrap    (nowrap)    #IMPLIED -- don't wrap words --
  52.  
  53.     -- Added for IE2 --
  54.     bgcolor          CDATA    #IMPLIED -- Table background color --
  55.     bordercolor      CDATA    #IMPLIED -- table border color --
  56.     bordercolorlight CDATA    #IMPLIED -- 3D table border color --
  57.     bordercolordark  CDATA    #IMPLIED -- 3D table border color --
  58.     cellpadding    NUMBER    #IMPLIED -- cell padding. --
  59.     cellspacing    NUMBER    #IMPLIED -- cell spacing --
  60.         >
  61.  
  62. <!ELEMENT TR - O (%cell)* -- row container -->
  63. <!ATTLIST TR
  64.         %attrs;
  65.         align  (%horiz.align) #IMPLIED -- horizontal alignment --
  66.         valign (%vert.align)  top  -- vertical alignment --
  67.         dp     CDATA     #IMPLIED  -- decimal point e.g. dp="," 
  68.         Not supported by IE2 --
  69.         nowrap (nowrap)  #IMPLIED  -- don't wrap words --
  70.  
  71.     -- Added for IE2 --
  72.     bgcolor          CDATA    #IMPLIED  -- background color for cell --
  73.     bordercolor      CDATA    #IMPLIED  -- cell border color --
  74.     bordercolorlight CDATA    #IMPLIED  -- 3D cell border color --
  75.     bordercolordark  CDATA    #IMPLIED  -- 3D cell border color --
  76.         width    CDATA    #IMPLIED -- cell width --
  77.         >
  78.  
  79. <!ELEMENT (%cell) - O %body.content>
  80. <!ATTLIST (%cell)
  81.         %attrs;
  82.         colspan NUMBER    1      -- columns spanned --
  83.         rowspan NUMBER    1      -- rows spanned --
  84.         align  (%horiz.align) #IMPLIED -- horizontal alignment --
  85.         valign (%vert.align) top -- vertical alignment --
  86.         dp      CDATA    #IMPLIED  -- decimal point e.g. dp="," 
  87.         Not supported by IE2 --
  88.         nowrap (nowrap)  #IMPLIED  -- don't wrap words --
  89.         axis CDATA #IMPLIED -- axis name, defaults to element content 
  90.         Not supported by IE2 --
  91.         axes CDATA #IMPLIED -- comma separated list of axis names 
  92.         Not supported by IE2 --
  93.  
  94.     -- Added for IE2 --
  95.     bgcolor          CDATA    #IMPLIED  -- background color for cell --
  96.     bordercolor      CDATA    #IMPLIED  -- cell border color --
  97.     bordercolorlight CDATA    #IMPLIED  -- 3D cell border color --
  98.     bordercolordark  CDATA    #IMPLIED  -- 3D cell border color --
  99.         width    CDATA    #IMPLIED -- added for IE2 --
  100.       >
  101.  
  102. <!--======================= Captions ======================================-->
  103.  
  104. <!ELEMENT CAPTION - - (%text;)+ -- table or figure caption -->
  105. <!ATTLIST CAPTION
  106.         %attrs;
  107.         align    (left|right|center) #IMPLIED
  108.         valign    (top|bottom) #IMPLIED
  109.         >
  110.  
  111.