diff --git a/lam/lib/html.inc b/lam/lib/html.inc index 3665971e..40390485 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -42,6 +42,7 @@ abstract class htmlElement { const ALIGN_LEFT = 1; const ALIGN_RIGHT = 2; const ALIGN_BOTTOM = 3; + const ALIGN_CENTER = 4; /** alignment when inside a table */ public $alignment = null; @@ -84,6 +85,9 @@ abstract class htmlElement { case htmlElement::ALIGN_RIGHT: $align = 'align="right"'; break; + case htmlElement::ALIGN_CENTER: + $align = 'align="center"'; + break; } } return $align;