CSSTITLEDIV and CSSTITLESPAN (JANUS DEFINE parameters): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
m (1 revision)
(No difference)

Revision as of 23:19, 28 February 2012

<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 &lt;div> (CSSTITLEDIV) or &lt;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 &lt;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.