| verzia 1.24, 2003/04/19 09:31:50 |
verzia 1.25, 2003/05/02 17:51:33 |
|
|
| <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.23 2003/04/18 13:25:59 nepto Exp $ --> |
<!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.24 2003/04/19 09:31:50 nepto Exp $ --> |
| |
|
| <!-- Categories: |
<!-- Categories: |
| |
|
| Riadok 444 select box for user. Usage of <varname>[ |
|
| Riadok 444 select box for user. Usage of <varname>[ |
|
| <sect1 id="configuration.output-control"> |
<sect1 id="configuration.output-control"> |
| <title id="configuration.output-control.title">Output control</title> |
<title id="configuration.output-control.title">Output control</title> |
| |
|
| |
<bridgehead id="configuration.colattrs">Cell attributes</bridgehead> |
| |
<para> |
| |
|
| |
For setting simple HTML attributes of displayed field cells, there is a |
| |
<varname>['colattrs']</varname> option provided. |
| |
|
| |
</para> |
| |
<para> |
| |
|
| |
For example the alignment of the text inside a column can be controlled using |
| |
the usual HTML <varname>align</> attribute of the cell tag. The text in the |
| |
column will be placed in the center. Useful if you have numbers in a column |
| |
and the title of the column is long. |
| |
|
| |
<example><title>Cell attribute example</title> |
| |
<programlisting><![CDATA[ |
| |
$opts['fdd']['col_name']['colattrs'] = 'align="center"'; |
| |
]]></programlisting> |
| |
</example> |
| |
|
| |
</para> |
| |
<para> |
| |
|
| |
Please note, that recommended and probably also better approach for displayed |
| |
columns design control is to use <xref linkend="configuration.css" |
| |
endterm="configuration.css.title">. Particulary point at <xref |
| |
linkend="configuration.fields.css" endterm="configuration.fields.css"> for |
| |
more information how to customize selected field appearance. |
| |
|
| |
</para> |
| |
|
| <bridgehead id="configuration.width">Field width</bridgehead> |
<bridgehead id="configuration.width">Field width</bridgehead> |
| <para> |
<para> |
| |
|