28 'left' =>
'text-align:left;',
29 'right' =>
'text-align:right;',
30 'top' =>
'caption-side:top;',
31 'bottom' =>
'caption-side:bottom;' 37 'left' =>
'float:left;',
38 'right' =>
'float:right;',
39 'top' =>
'vertical-align:top;',
40 'middle' =>
'vertical-align:middle;',
41 'bottom' =>
'vertical-align:baseline;',
47 'left' =>
'float:left;',
48 'center' =>
'margin-left:auto;margin-right:auto;',
49 'right' =>
'float:right;' 59 'left' =>
'margin-left:0;margin-right:auto;text-align:left;',
60 'center' =>
'margin-left:auto;margin-right:auto;text-align:center;',
61 'right' =>
'margin-left:auto;margin-right:0;text-align:right;' 66 $align_lookup = array();
67 $align_values = array(
'left',
'right',
'center',
'justify');
68 foreach ($align_values as $v) $align_lookup[$v] =
"text-align:$v;";
92 'left' =>
'clear:left;',
93 'right' =>
'clear:right;',
94 'all' =>
'clear:both;',
95 'none' =>
'clear:none;',
112 'color:#808080;background-color:#808080;border:0;' 120 'white-space:nowrap;' 129 'disc' =>
'list-style-type:disc;',
130 'square' =>
'list-style-type:square;',
131 'circle' =>
'list-style-type:circle;' 134 '1' =>
'list-style-type:decimal;',
135 'i' =>
'list-style-type:lower-roman;',
136 'I' =>
'list-style-type:upper-roman;',
137 'a' =>
'list-style-type:lower-alpha;',
138 'A' =>
'list-style-type:upper-alpha;' 140 $li_types = $ul_types + $ol_types;
Abstract class for a set of proprietary modules that clean up (tidy) poorly written HTML...