home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 July / INTERNET105.ISO / pc / software / windows / building / topstyle_pro / topstyle.exe / %USERDIR% / cssup.dat < prev    next >
Encoding:
Text File  |  2003-03-24  |  2.4 KB  |  87 lines

  1. '---------------------------------------------------------------------------------
  2. '
  3. '  TopStyle Pro 3.0 Style Upgrade Configuration
  4. '---------------------------------------------------------------------------------
  5. '  If you make any changes to this file, be sure to save a backup since it will
  6. '  be overwritten every time TopStyle is installed.
  7. '---------------------------------------------------------------------------------
  8.  
  9. [version]
  10. Version=3.0
  11.  
  12. [options]
  13. UpgradeBodyLinkColors=1    ' create separate rules from body link, alink, vlink
  14. UpgradeBaseFont=1    ' add <basefont> size, color and face to body rule
  15. CombineFontTags=1    ' combine adjacent font tags into a single font tag before conversion
  16.  
  17. '---------------------------------------------------------------------------------
  18. ' before conversion, replace the following tags
  19. '---------------------------------------------------------------------------------
  20. [TagReplace]
  21. center=div align="center"
  22. font=span
  23. 'note that replacing <font> with <span> requires the [font,span] section below
  24.  
  25. '---------------------------------------------------------------------------------
  26. ' after conversion, these tags will be removed if empty (<font>, <basefont>, etc.)
  27. '---------------------------------------------------------------------------------
  28. [RemoveEmptyTags]
  29. basefont
  30. font
  31. span
  32.  
  33. '---------------------------------------------------------------------------------
  34. ' This section contains html elements that will be converted to styles.  
  35. '---------------------------------------------------------------------------------
  36.  
  37. [font,span]
  38. color=color
  39. face=font-family
  40. size=font-size
  41.  
  42. [body]
  43. background=background-image
  44. bgcolor=background-color
  45. text=color
  46. leftmargin=margin-left
  47. topmargin=margin-top
  48. rightmargin=margin-right
  49. bottommargin=margin-bottom
  50.  
  51. [div,p,caption,legend,h1,h2,h3,h4,h5,h6]
  52. align=text-align
  53.  
  54. [hr]
  55. align=text-align
  56. size=height
  57. width=width
  58.  
  59. [object]
  60. align=text-align
  61. width=width
  62. height=height
  63.  
  64. [pre]
  65. width=width
  66.  
  67. [table]
  68. bgcolor=background-color
  69. background=background-image
  70. width=width
  71. 'align=text-align
  72. 'http://www.w3.org/TR/html4/struct/tables.html for comments on table width 
  73.  
  74. [th,td]
  75. bgcolor=background-color
  76. background=background-image
  77. height=height
  78. width=width
  79. ' 3.01 - align is not deprecated
  80.  
  81. [tr]
  82. bgcolor=background-color
  83. ' 3.01 - align is not deprecated
  84.  
  85. [ul,ol,li]
  86. type=list-style-type
  87.