array('style' => 'color:$value; ','a' => 'style=\'color:$value\' '), 'bgcolor' => array('style' => 'background-color:$value; '), 'font-size' => array('style' => 'font-size:$value; '), 'target' => array('a' => 'target=\'$value\' '), 'rel' => array('a' => 'rel=\'$value\' '), 'hspace' => array('img' => 'hspace=\'$value\' '), 'vspace' => array('img' => 'vspace=\'$value\' '), 'width' => array('img' => 'width=\'$value\' '), 'height' => array('img' => 'height=\'$value\' '), //-------------------------------------------------------------------------------- // This section implements the new proposed markups Styles made in the Development // Group see: http://www.pmichaud.com/wiki/Development/ExtendedMarkup 'ul' => array('style' => 'text-decoration=underline; '), 'u' => array('style' => 'text-decoration=underline; '), 'b' => array('style' => 'text-weight=bold; '), 'strike' => array('style' => 'text-decoration=line-through; '), 'i' => array('style' => 'font-style=italic; '), 'lj' => array('style' => 'text-align=left; '), 'rj' => array('style' => 'text-align=right; '), 'cj' => array('style' => 'text-align=center; '), 'left' => array('style' => 'text-align=left; '), 'right' => array('style' => 'text-align=right; '), 'center' => array('style' => 'text-align=center; '), //-------------------------------------------------------------------------------- // This section implements some additional extended markups (as opposed to 'styles' // which were also made in the Development/ExtendedMarkup discussion. Note that a // couple of the markup's are not possible with %styles% syntax, and so those have // not been implemented here. 'sub' => array('style' => 'vertical-align:subscripted; '), 'sup' => array('style' => 'vertical-align:superscripted; '), 'superscript' => array('style' => 'vertical-align:superscripted; '), 'subscript' => array('style' => 'vertical-align:subscripted; '), //-------------------------------------------------------------------------------- // Font Properties 'font-family' => array('style' => 'font-family:$value; '), 'font-style' => array('style' => 'font-style:$value; '), 'font-variant' => array('style' => 'font-variant:$value; '), 'font-weight' => array('style' => 'font-weight:$value; '), 'font-size' => array('style' => 'font-size:$value; '), // 'font' => array('style' => 'font:$value; '), 'font' => array('style' => 'font:$value; ','a' => 'style=\'$value\' '), // 'color' => array('style' => 'color:$value; ','a' => 'style=\'color:$value\' '), //-------------------------------------------------------------------------------- // Color & Background Properties 'background-color' => array('style' => 'background-color:$value; '), 'background-image' => array('style' => 'background-image:$value; '), 'background-repeat' => array('style' => 'background-repeat:$value; '), 'background-attachment' => array('style' => 'background-attachment:$value; '), 'background-position' => array('style' => 'background-position:$value; '), 'background' => array('style' => 'background:$value; '), //-------------------------------------------------------------------------------- // Text Properties 'word-spacing' => array('style' => 'word-spacing:$value; '), 'letter-spacing' => array('style' => 'letter-spacing:$value; '), 'text-decoration' => array('style' => 'text-decoration:$value; '), 'vertical-align' => array('style' => 'vertical-align:$value; '), 'text-transform' => array('style' => 'text-transform:$value; '), 'text-align' => array('style' => 'text-align:$value; '), 'text-indent' => array('style' => 'text-indent:$value; '), 'line-height' => array('style' => 'line-height:$value; '), //-------------------------------------------------------------------------------- // Box Properties (margins) 'margin-top' => array('style' => 'margin-top :$value; '), 'margin-right' => array('style' => 'margin-right:$value; '), 'margin-bottom' => array('style' => 'margin-bottom:$value; '), 'margin-left' => array('style' => 'margin-left:$value; '), 'margin' => array('style' => 'margin:$value; '), 'padding-top' => array('style' => 'padding-top:$value; '), 'padding-right' => array('style' => 'padding-right:$value; '), 'padding-bottom' => array('style' => 'padding-bottom:$value; '), 'padding-left' => array('style' => 'padding-left:$value; '), 'padding' => array('style' => 'padding:$value; '), 'border-top-width' => array('style' => 'border-top-width:$value; '), 'border-right-width' => array('style' => 'border-right-width :$value; '), 'border-bottom-width' => array('style' =>'border-bottom-width:$value; '), 'border-left-width' => array('style' => 'border-left-width:$value; '), 'border-width' => array('style' => 'border-width:$value; '), 'border-color' => array('style' =>'border-color:$value; '), 'border-style' => array('style' => 'border-style:$value; '), 'border-top' => array('style' => 'border-top:$value; '), 'border-right' => array('style' => 'border-right :$value; '), 'border-bottom' => array('style' =>'border-bottom:$value; '), 'border-left' => array('style' =>'border-left:$value; '), 'border' => array('style' =>'border:$value; '), 'width' => array('style' => 'width:$value; '), 'height' => array('style' => 'height:$value; '), 'float' => array('style' => 'float:$value; '), 'clear' => array('style' => 'clear:$value; '), //-------------------------------------------------------------------------------- // Classification Properties 'display' => array('style' => 'display:$value; '), 'white-space' => array('style' => 'white-space:$value; '), 'list-style-type' => array('style' => 'list-style-type:$value; '), 'list-style-image' => array('style' => 'list-style-image:$value; '), 'list-style-position' => array('style' => 'list-style-position:$value; '), 'list-style' => array('style' => 'list-style:$value; '), ); ?>