<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title><![CDATA[emonX.com - Webmasters & Technology Forum - Design & Development]]></title>
		<link>http://forums.emonx.com/</link>
		<description><![CDATA[This forum is dedicated on Web Design & Development, This also includes Development of html, php, ajax, java, asp.net, vb.net etc.]]></description>
		<language>en</language>
		<lastBuildDate>Thu, 09 Sep 2010 13:49:35 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forums.emonx.com/digitalvb/morbid/misc/rss.png</url>
			<title><![CDATA[emonX.com - Webmasters & Technology Forum - Design & Development]]></title>
			<link>http://forums.emonx.com/</link>
		</image>
		<item>
			<title>Css: How to change the default text selection color</title>
			<link>http://forums.emonx.com/showthread.php?17043-Css-How-to-change-the-default-text-selection-color&amp;goto=newpost</link>
			<pubDate>Thu, 19 Aug 2010 17:39:26 GMT</pubDate>
			<description><![CDATA[Image: http://i35.tinypic.com/x0p6j7.jpg  
 
Now you can change your blog&#8217;s default text highlight color with cute  colors of your choice by adding...]]></description>
			<content:encoded><![CDATA[<div><img src="http://i35.tinypic.com/x0p6j7.jpg" border="0" alt="" /><br />
<br />
Now you can change your blog&#8217;s default text highlight color with cute  colors of your choice by adding this cool CSS3 declaration &#8212; <i> <b><font color="#3366ff">::selection</font></b></i> &#8212; to your stylesheet.   Here&#8217;s how to use it:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">HTML Code:</div>
	<hr /><code class="bbcode_code">::selection {<br />
&nbsp; &nbsp; background: #ffb7b7; /* Safari */<br />
&nbsp; &nbsp; }<br />
::-moz-selection {<br />
&nbsp; &nbsp; background: #ffb7b7; /* Firefox */<br />
}</code><hr />
</div> If you want to change the color of the selected text, just add <b><font color="#3366ff"><i>color:</i></font></b> like this&#8230;<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">HTML Code:</div>
	<hr /><code class="bbcode_code">::selection {<br />
&nbsp; &nbsp; background: #ffb7b7; /* Safari */<br />
&nbsp; &nbsp; &nbsp; &nbsp; color: #ffffff;<br />
&nbsp; &nbsp; }<br />
::-moz-selection {<br />
&nbsp; &nbsp; background: #ffb7b7; /* Firefox */<br />
&nbsp; &nbsp; &nbsp; &nbsp; color: #ffffff;<br />
&nbsp; &nbsp; }</code><hr />
</div> It&#8217;s something that most visitors would never see, but it&#8217;s a fantastic visual touch for those who would.  This trick works on all major browsers except IE.  As always, IE is left behind.<br />
<br />
<i>(Source: thanks to <a href="http://css-tricks.com/overriding-the-default-text-selection-color-with-css/" target="_blank" rel="nofollow">css-tricks</a>)</i></div>

 ]]></content:encoded>
			<category domain="http://forums.emonx.com/forumdisplay.php?162-Design-amp-Development"><![CDATA[Design & Development]]></category>
			<dc:creator>SR.KHAN</dc:creator>
			<guid isPermaLink="true">http://forums.emonx.com/showthread.php?17043-Css-How-to-change-the-default-text-selection-color</guid>
		</item>
	</channel>
</rss>
