<?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>dotnet thoughts &#187; CSS</title>
	<atom:link href="http://www.dotnetthoughts.net/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotnetthoughts.net</link>
	<description>a dotnet developer&#039;s technical blog</description>
	<lastBuildDate>Wed, 08 Feb 2012 03:18:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CSS list-style-image Property</title>
		<link>http://www.dotnetthoughts.net/2007/05/22/css-list-style-image-property/</link>
		<comments>http://www.dotnetthoughts.net/2007/05/22/css-list-style-image-property/#comments</comments>
		<pubDate>Tue, 22 May 2007 10:42:52 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://anuraj.wordpress.com/2007/05/22/css-list-style-image-property/</guid>
		<description><![CDATA[If you are using list tags, like OL, LI, UL etc, there is limited control on the UI, like it will render only like 1, disc etc. Sometimes the we require bulletedlists to be look nice. Here is simple way &#8230; <a href="http://www.dotnetthoughts.net/2007/05/22/css-list-style-image-property/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are using list tags, like OL, LI, UL etc, there is limited control on the UI, like it will render only like 1, disc etc. Sometimes the we require bulletedlists to be look nice. Here is simple way to modifying the OL and UL tags with custom icons. The list-style-image property in CSS used to replace the existing UL and OL tags marker with an Image.</p>
<pre class="brush: css; title: ; notranslate">
ol
{
list-style-image: url(&amp;quot;newImage.gif&amp;quot;);
}
</pre>
<p>And you can change it dynamically using Javascript.</p>
<pre class="brush: jscript; title: ; notranslate">
var links = document.getElementsByTagName(&amp;quot;UL&amp;quot;);
for(var i=0; i &amp;lt;= links.length - 1; i++)
{
links[i].style.listStyleImage=&amp;quot;url(plus.gif)&amp;quot;;
}
</pre>
<p>This code will search all the UL tags and assign images for them.</p>
<div class="betterrelated none"><p>No related content found.</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2007/05/22/css-list-style-image-property/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

