<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HUBBERS DOT COM BLOG &#187; JavaScript</title>
	<atom:link href="http://www.hubbers.com/index.php/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hubbers.com</link>
	<description>Sports, cycling, travel, scams, triathlons and other blogworthy events in my life</description>
	<lastBuildDate>Sat, 12 Nov 2011 14:56:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Converting CSS Properties into JavaScript</title>
		<link>http://www.hubbers.com/index.php/css-properties-to-javascript-reference-conversion/</link>
		<comments>http://www.hubbers.com/index.php/css-properties-to-javascript-reference-conversion/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 13:28:28 +0000</pubDate>
		<dc:creator>hubbers</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.hubbers.com/blog/?p=380</guid>
		<description><![CDATA[There are other examples of this out there on the web but I cna never find one when I need it so have added it to my blog for easy access. CSS Property JavaScript Reference background background background-attachment backgroundAttachment background-color backgroundColor background-image backgroundImage background-position backgroundPosition background-repeat backgroundRepeat border border border-bottom borderBottom border-bottom-color borderBottomColor border-bottom-style borderBottomStyle [...]]]></description>
			<content:encoded><![CDATA[<p>There are other examples of this out there on the web but I cna never find one when I need it so have added it to my blog for easy access. </p>
<table class="dataTable">
<tr>
<th>CSS Property </th>
<th>JavaScript Reference </th>
</tr>
<tr>
<td>background</td>
<td>background</td>
</tr>
<tr>
<td>background-attachment</td>
<td>backgroundAttachment</td>
</tr>
<tr>
<td>background-color</td>
<td>backgroundColor</td>
</tr>
<tr>
<td>background-image</td>
<td>backgroundImage</td>
</tr>
<tr>
<td>background-position</td>
<td>backgroundPosition</td>
</tr>
<tr>
<td>background-repeat</td>
<td>backgroundRepeat</td>
</tr>
<tr>
<td>border</td>
<td>border</td>
</tr>
<tr>
<td>border-bottom</td>
<td>borderBottom</td>
</tr>
<tr>
<td>border-bottom-color</td>
<td>borderBottomColor</td>
</tr>
<tr>
<td>border-bottom-style</td>
<td>borderBottomStyle</td>
</tr>
<tr>
<td>border-bottom-width</td>
<td>borderBottomWidth</td>
</tr>
<tr>
<td>border-color</td>
<td>borderColor</td>
</tr>
<tr>
<td>border-left</td>
<td>borderLeft</td>
</tr>
<tr>
<td>border-left-color</td>
<td>borderLeftColor</td>
</tr>
<tr>
<td>border-left-style</td>
<td>borderLeftStyle</td>
</tr>
<tr>
<td>border-left-width</td>
<td>borderLeftWidth</td>
</tr>
<tr>
<td>border-right</td>
<td>borderRight</td>
</tr>
<tr>
<td>border-right-color</td>
<td>borderRightColor</td>
</tr>
<tr>
<td>border-right-style</td>
<td>borderRightStyle</td>
</tr>
<tr>
<td>border-right-width</td>
<td>borderRightWidth</td>
</tr>
<tr>
<td>border-style</td>
<td>borderStyle</td>
</tr>
<tr>
<td>border-top</td>
<td>borderTop</td>
</tr>
<tr>
<td>border-top-color</td>
<td>borderTopColor</td>
</tr>
<tr>
<td>border-top-style</td>
<td>borderTopStyle</td>
</tr>
<tr>
<td>border-top-width</td>
<td>borderTopWidth</td>
</tr>
<tr>
<td>border-width</td>
<td>borderWidth</td>
</tr>
<tr>
<td>clear</td>
<td>clear</td>
</tr>
<tr>
<td>clip</td>
<td>clip</td>
</tr>
<tr>
<td>color</td>
<td>color</td>
</tr>
<tr>
<td>cursor</td>
<td>cursor</td>
</tr>
<tr>
<td>display</td>
<td>display</td>
</tr>
<tr>
<td>filter</td>
<td>filter</td>
</tr>
<tr>
<td>font</td>
<td>font</td>
</tr>
<tr>
<td>font-family</td>
<td>fontFamily</td>
</tr>
<tr>
<td>font-size</td>
<td>fontSize</td>
</tr>
<tr>
<td>font-variant</td>
<td>fontVariant</td>
</tr>
<tr>
<td>font-weight</td>
<td>fontWeight</td>
</tr>
<tr>
<td>height</td>
<td>height</td>
</tr>
<tr>
<td>left</td>
<td>left</td>
</tr>
<tr>
<td>letter-spacing</td>
<td>letterSpacing</td>
</tr>
<tr>
<td>line-height</td>
<td>lineHeight</td>
</tr>
<tr>
<td>list-style</td>
<td>listStyle</td>
</tr>
<tr>
<td>list-style-image</td>
<td>listStyleImage</td>
</tr>
<tr>
<td>list-style-position</td>
<td>listStylePosition</td>
</tr>
<tr>
<td>list-style-type</td>
<td>listStyleType</td>
</tr>
<tr>
<td>margin</td>
<td>margin</td>
</tr>
<tr>
<td>margin-bottom</td>
<td>marginBottom</td>
</tr>
<tr>
<td>margin-left</td>
<td>marginLeft</td>
</tr>
<tr>
<td>margin-right</td>
<td>marginRight</td>
</tr>
<tr>
<td>margin-top</td>
<td>marginTop</td>
</tr>
<tr>
<td>overflow</td>
<td>overflow</td>
</tr>
<tr>
<td>padding</td>
<td>padding</td>
</tr>
<tr>
<td>padding-bottom</td>
<td>paddingBottom</td>
</tr>
<tr>
<td>padding-left</td>
<td>paddingLeft</td>
</tr>
<tr>
<td>padding-right</td>
<td>paddingRight</td>
</tr>
<tr>
<td>padding-top</td>
<td>paddingTop</td>
</tr>
<tr>
<td>page-break-after</td>
<td>pageBreakAfter</td>
</tr>
<tr>
<td>page-break-before</td>
<td>pageBreakBefore</td>
</tr>
<tr>
<td>position</td>
<td>position</td>
</tr>
<tr>
<td>float</td>
<td>styleFloat</td>
</tr>
<tr>
<td>text-align</td>
<td>textAlign</td>
</tr>
<tr>
<td>text-decoration</td>
<td>textDecoration</td>
</tr>
<tr>
<td>text-decoration: blink</td>
<td>textDecorationBlink</td>
</tr>
<tr>
<td>text-decoration: line-through</td>
<td>textDecorationLineThrough</td>
</tr>
<tr>
<td>text-decoration: none</td>
<td>textDecorationNone</td>
</tr>
<tr>
<td>text-decoration: overline</td>
<td>textDecorationOverline</td>
</tr>
<tr>
<td>text-decoration: underline</td>
<td>textDecorationUnderline</td>
</tr>
<tr>
<td>text-indent</td>
<td>textIndent</td>
</tr>
<tr>
<td>text-transform</td>
<td>textTransform</td>
</tr>
<tr>
<td>top</td>
<td>top</td>
</tr>
<tr>
<td>vertical-align</td>
<td>verticalAlign</td>
</tr>
<tr>
<td>visibility</td>
<td>visibility</td>
</tr>
<tr>
<td>width</td>
<td>width</td>
</tr>
<tr>
<td>z-index</td>
<td>zIndex</td>
</tr>
</table>
<h3>Usage</h3>
<p>Targeting elements by getElementById seems pretty universal.</p>
<p><code>document.getElementById('x').style.backgroundPosition = '0 -200px';</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hubbers.com/index.php/css-properties-to-javascript-reference-conversion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

