home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1997 April / Win95_04974.iso / docs / 00016 / 01649.exe / data.2 / program / Examples / backup / styles.hh < prev    next >
Encoding:
Text File  |  1997-01-21  |  1.7 KB  |  48 lines

  1. <$X>Put an $X in so that the output of this area is
  2. ignored.  This way we can type comments freely and also
  3. not have a lot of wasted space in the output file.
  4.  
  5. If we were doing many pages with the same style we would
  6. put these defintions in an include file, possibly the common
  7. include file.
  8.  
  9. It is NOT a good idea to name your definitions something
  10. the same as the HTML tag, not becuase Mortar doesn't support
  11. it, but because you could end up matching tags incorrectly.
  12.  
  13. <$define name="MBODY"><BODY BGCOLOR="#808080" TEXT="#000000" LINK="#00FFFF" VLINK="#880088" ALINK="#FF0000"><$/define>
  14.  
  15. <$define name="MH1">
  16. <TABLE BGCOLOR="#000000" WIDTH="100%" CELLSPACING=0 CELLPADDING=0 BORDER=0>
  17. <TR><TD COLSPAN=11><FONT SIZE="1"> </FONT></TD></tr>
  18. <TR>
  19. <TD BGCOLOR="#000000"> </TD>
  20. <TD BGCOLOR="#223311"> </TD>
  21. <TD BGCOLOR="#446622"> </TD>
  22. <TD BGCOLOR="#669933"> </TD>
  23. <TD BGCOLOR="#88CC44"> </TD>
  24. <TD BGCOLOR="#AAFF55"><CENTER><FONT SIZE="+3" COLOR="#000000"><$/define>
  25.  
  26. <$define name="/MH1"></FONT></CENTER></TD>
  27. <TD BGCOLOR="#88CC44"> </TD>
  28. <TD BGCOLOR="#669933"> </TD>
  29. <TD BGCOLOR="#446622"> </TD>
  30. <TD BGCOLOR="#223311"> </TD>
  31. <TD BGCOLOR="#000000"> </TD></TR>
  32. <TR><TD COLSPAN=11><FONT SIZE="1"> </FONT></TD></tr>
  33. </TABLE><$/define>
  34.  
  35. <$define name="MH2"><H2 ALIGN=LEFT><FONT COLOR="#88FF00"><U><B><$/define>
  36. <$define name="/MH2"></B></U></FONT></H2><$/define>
  37.  
  38. <$define name="MP"><DL><DD><$/define>
  39. <$define name="/MP"></DD></DL><$/define>
  40.  
  41. <$define name="FMP" auto paired><DL><DD><FONT SIZE="+3"><#[0,1]DCONTENTS></FONT><#[1]DCONTENTS></DD></DL><$/define>
  42.  
  43. <$define name="EX"><DL><DD><B><U>Example:</U> </B><I><$/define>
  44. <$define name="/EX"></I></DD></DL><$/define>
  45.  
  46. <$/X>
  47.  
  48.