33 'left' =>
'text-align:left;',
34 'right' =>
'text-align:right;',
35 'top' =>
'caption-side:top;',
36 'bottom' =>
'caption-side:bottom;' 45 'left' =>
'float:left;',
46 'right' =>
'float:right;',
47 'top' =>
'vertical-align:top;',
48 'middle' =>
'vertical-align:middle;',
49 'bottom' =>
'vertical-align:baseline;',
58 'left' =>
'float:left;',
59 'center' =>
'margin-left:auto;margin-right:auto;',
60 'right' =>
'float:right;' 73 'left' =>
'margin-left:0;margin-right:auto;text-align:left;',
74 'center' =>
'margin-left:auto;margin-right:auto;text-align:center;',
75 'right' =>
'margin-left:auto;margin-right:0;text-align:right;' 81 $align_lookup = array();
82 $align_values = array(
'left',
'right',
'center',
'justify');
83 foreach ($align_values as $v) {
84 $align_lookup[$v] =
"text-align:$v;";
112 'left' =>
'clear:left;',
113 'right' =>
'clear:right;',
114 'all' =>
'clear:both;',
115 'none' =>
'clear:none;',
133 'color:#808080;background-color:#808080;border:0;' 141 'white-space:nowrap;' 150 'disc' =>
'list-style-type:disc;',
151 'square' =>
'list-style-type:square;',
152 'circle' =>
'list-style-type:circle;' 155 '1' =>
'list-style-type:decimal;',
156 'i' =>
'list-style-type:lower-roman;',
157 'I' =>
'list-style-type:upper-roman;',
158 'a' =>
'list-style-type:lower-alpha;',
159 'A' =>
'list-style-type:upper-alpha;' 161 $li_types = $ul_types + $ol_types;
Abstract class for a set of proprietary modules that clean up (tidy) poorly written HTML...