TQS Home
Trivia Quiz Shell Version 2.8 Now Available!Bot Productions Home
 
TQS 2.0

Back to Reference

STYLES Element

Contains style sheet definitions that apply to this custom location type.

Syntax
<STYLES
  SUBST="subst">
  ...
</STYLES>
Attributes
SUBST
TQS 2.5 Specifies a semicolon-deliminated list of substitution values. A substitution value is in the form of string,dynval where all instances of string are replaced with the specified dynamic value.
Placement

The STYLES element must be a child of the CUSTOMDIV element.

Children

The following child element is supported:

Examples

<STYLES>
  <STYLE .../>
  <STYLE .../>
</STYLES>

Using the SUBST attribute is useful for specifying graphics for bulleted lists.

<STYLES SUBST="%DATA%,DATAROOT">
  <STYLE
    NAME="#myClass UL"
    STYLEENTRY="list-style-image:url(%DATA%bullet.gif)"
  />
  ...
</STYLES>
<STYLES SUBST="%EMBED%,EMBEDROOT">
  <STYLE
    NAME="#myClass UL"
    STYLEENTRY="list-style-image:url(%EMBED%bullet.gif)"
  />
  ...
</STYLES>


©2016 Bot Productions. All rights reserved.Last Updated: September 9, 2007