Class HorizontalAlignmentPositionSC

Description

The HorizontalAlignmentPosition represents CSS relative and absolute position values, as well as certain alignments. The allowed

formats are: <ul style="font-family: monospace;"> <li> Percentage - "12%" </li> <li> Ems - "12em" </li> <li> X-Height - "25ex" </li> <li> Pixels - "120px" </li> <li> Inches - "2.3in" </li> <li> Centimeters - "23cm" </li> <li> Millimeters - "1232mm" </li> <li> Points - "22pt" </li> <li> Picas - "54pc" </li> <li> or either: top/center/bottom </li> <li> or either: left/center/right </li> </ul>

The

  1. StyleComponent
(SC) is the most basic of the three building pieces of CSS styles. It combines a CSS property value with a ValidatorRule to ensure that the value follows a certain format.

  • version: $Id: HorizontalAlignmentPositionSC.class.php,v 1.4 2007/09/04 20:25:22 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright &copy; 2005, Middlebury College

Located in /harmoni/core/GUIManager/StyleComponents/HorizontalAlignmentPositionSC.class.php (line 33)

StyleComponentInterface
   |
   --StyleComponent
      |
      --HorizontalAlignmentPositionSC
Method Summary
HorizontalAlignmentPositionSC HorizontalAlignmentPositionSC (string $value)
Variables
Methods

Documentation generated on Wed, 19 Sep 2007 10:24:32 -0400 by phpDocumentor 1.3.0RC3