CSSTITLEDIV and CSSTITLESPAN (JANUS DEFINE parameters)

From m204wiki
Revision as of 20:21, 24 February 2012 by JAL2 (talk | contribs)
Jump to navigation Jump to search

<section begin="desc" />Specify 'div' or 'span' use for Legacy web screen titles.<section end="desc" />

CSSTITLEDIV and CSSTITLESPAN are parameters on JANUS DEFINE, whichs define and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.

Indicates whether or not Janus Web Legacy support is to use a <div> (CSSTITLEDIV) or <span> (CSSTITLESPAN) tag for the title line of a screen when using an external style sheet.

and tags are rendered differently on different browsers, though on most browsers a <div> causes extra space to be placed around the element. The default of CSSTITLESPAN is probably alright for most purposes, but CSSTITLEDIV can be used to make the title line stand out more.

These parameters have no effect if an external style sheet is not used (CSS parameter in JANUS WEB SCREEN rules).

Before Sirius Mods Version 6.2, Janus Web Legacy support did not generate any CSS, so these parameters were not necessary or available.

The CSSTITLEDIV and CSSTITLESPAN parameters on the JANUS DEFINE can be overridden on a URL basis by the like-named parameters on JANUS WEB SCREEN rules, or they can be overridden on an application level by the like-named parameters in $Web_Screen calls.

Valid only for WEBSERV ports.

References

See: List of Janus commands | List of JANUS DEFINE parameters.