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

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
<var>CSSTITLEDIV</var> and <var>CSSTITLESPAN</var> are parameters on [[JANUS DEFINE]], whichs define and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
<var>CSSTITLEDIV</var> and <var>CSSTITLESPAN</var> are parameters on [[JANUS DEFINE]], whichs define and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].


Indicates whether or not Janus Web Legacy support is to use a <code>&lt;div></code> (<var>CSSTITLEDIV</var>) or <code>&lt;span></code> (<var>CSSTITLESPAN</var>) 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 &lt;div> causes extra space to be placed around the element. The default of <var>CSSTITLESPAN</var> is probably alright for most purposes, but <var>CSSTITLEDIV</var> can be used to make the title line stand out more.  
Indicates whether or not Janus Web Legacy support is to use a <code>&amp;lt;div></code> (<var>CSSTITLEDIV</var>) or <code>&amp;lt;span></code> (<var>CSSTITLESPAN</var>) 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 &amp;lt;div> causes extra space to be placed around the element. The default of <var>CSSTITLESPAN</var> is probably alright for most purposes, but <var>CSSTITLEDIV</var> 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).  
These parameters have no effect if an external style sheet is not used (CSS parameter in JANUS WEB SCREEN rules).  
Line 12: Line 12:
The <var>CSSTITLEDIV</var> and <var>CSSTITLESPAN</var> 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.  
The <var>CSSTITLEDIV</var> and <var>CSSTITLESPAN</var> 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.
Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.


==References==
==References==

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.