Home > Structure > English > Manuals > p-admin manuals > interface & design > page layout config > Boxes custom layout
A newer version of this fact exists. (view)
Boxes custom layout
 

You can specify the style in which boxes are displayed in the leftframe. Different styles can be set for open and closed boxes.This is done by typing the styles in the "Boxes custom layout" text area in Advanced Page Layout Configuration in Padmin.


The default (if nothing is entered in the text area) for open checkboxes is:



<box_opencloselink>

<img src="/images/boxes_close.gif" border=0 width="15" height="16" alt="" style="vertical-align: middle;">

<b><box_title/></b>

</box_opencloselink>
<div class="menu" style="width: 250px; overflow: hidden; padding-left:

<box_ifsysname    structure>0<else>15</box_ifsysname>

px; -moz-box-sizing:border-box; box-sizing:border-box;">   

<box_content/>  

</div>
<div class="menu">&nbsp;</div>





The default (if nothing is entered in the text area) for closed checkboxes is:



<box_opencloselink><img src="/images/boxes_open.gif" border=0 width="15" height="16" alt="" style="vertical-align: middle;"><b><box_title/></b></box_opencloselink>



The best way to add a custom style is by using div tags.

Example for closed checkboxes:


<div style="border-top: 1px solid black; border-bottom: 1px dotted black;

padding-top: 3px;padding-bottom: 3px; width: 200px;">

<box_opencloselink><b><box_title/></b></box_opencloselink></div>


Metainfo:
Author: Webservices GmbH factline; Copyright: factline Webservices GmbH; Published by: factline GmbH (factline6)
factID: 1257710.7 (...history); published on 05 Nov. 2008 13:05
 
Shortcuts:
 
Referers (1):