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

Back to Reference

STYLE Element

Contains a specific cascading style sheet (CSS) entry for this custom location type.

Syntax
<STYLE
  NAME="name"
  STYLEENTRY="styleentry"
/>
Attributes
NAME
The name of the CSS selector. TQS allows you to specify an individual element by using "#elementID" or a class of elements by using ".elementClass".
STYLEENTRY
The rule to be applied to the element or class specified in NAME.
Placement

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

Children

No children are supported within the STYLE element.

Remarks

TQS 2.7 and earlier The "S_" prefix is required in the NAME attribute. This is not required as of TQS 2.8.

Example

<STYLES>
  <STYLE
    NAME="#questionSpan"
    STYLEENTRY="font-size:larger; color:green"
  />
  <STYLE
    NAME=".answerHover"
    STYLEENTRY="cursor:hand; color:#00FFFF"
  />
</STYLES>

©2020 Bot Productions. All rights reserved.Last Updated: June 14, 2001