CSSTITLEDIV and CSSTITLESPAN (JANUS DEFINE parameters)

From m204wiki
Revision as of 16:30, 2 March 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.

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. <div> and <span> 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).

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.

See also