home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / res / samples / treeTest1.css < prev    next >
Cascading Style Sheet File  |  1999-03-09  |  945b  |  63 lines

  1. window {
  2.     display: block;
  3.     width: 100%;
  4. }
  5.  
  6. tree {
  7.     display: table;
  8.     background-color: lightGray;
  9.     border: none;
  10.     border-spacing: 0px;
  11.     border-collapse: collapse;
  12.     width: 75%;
  13. }
  14.  
  15. treeitem {
  16.     display: table-row;
  17.     visibility: collapse; 
  18. }
  19.  
  20. treehead {
  21.     display: table-header-group;
  22. }
  23.  
  24. treebody {
  25.     display: table-row-group;    
  26. }
  27.  
  28. treehead > treeitem { 
  29.     visibility: visible; 
  30. treeitem[open] > treechildren > treeitem { 
  31.     visibility: visible; 
  32. }
  33. treebody > treeitem { 
  34.     visibility: visible; 
  35.  
  36.  
  37. treecell {
  38.     display: table-cell;
  39.     color: black;
  40.     font-family: Verdana;
  41.     font-size: 10pt;
  42. }
  43.  
  44. treehead treeitem treecell {
  45.     background-color: #a0a0a0;
  46.     border: thin black solid;
  47.     color: black;
  48. }
  49.  
  50. treeicon {
  51.     display: list-item;
  52.     list-style-image: url("http://rava/~hyatt/ClosedRead.gif");
  53.     list-style-position: inside;
  54. }
  55.  
  56. treecell[selectedcell] {
  57.     background-color: lightBlue;
  58. }
  59.  
  60.  
  61.