<?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>Saffron Stroke - Your Web Design Resource &#187; hover</title>
	<atom:link href="http://www.saffronstroke.com/tag/hover/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.saffronstroke.com</link>
	<description>Design Blog</description>
	<lastBuildDate>Wed, 11 Jan 2012 06:36:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Change color on mouse hover in Microsoft Expression Web</title>
		<link>http://www.saffronstroke.com/2009/01/02/change-color-mouse-hover-ew/</link>
		<comments>http://www.saffronstroke.com/2009/01/02/change-color-mouse-hover-ew/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 05:04:01 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[Expression Web]]></category>
		<category><![CDATA[background color]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[font color]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[modify]]></category>
		<category><![CDATA[mouse over]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://saffronstroke.wordpress.com/?p=252</guid>
		<description><![CDATA[To change the background color and font color of a div on mouse hover, use this CSS code. &#60;style type=&#8221;text/css&#8221; &#62; .title_div{                 background-color:black;                 color:white; } .title_div:hover{                                 background-color:green;                                 color:black; } &#60;/style&#62; &#60;body&#62;         &#60;div class=” title_div”&#62;                         On mouse over div becomes green and text turns black.         &#60;/div&#62; &#60;/body&#62; [...]]]></description>
			<content:encoded><![CDATA[<div align="left" style="float: none; clear:right; padding: 0px 5px 5px 0px;"><a name="fb_share" type="button_count" share_url="http://www.saffronstroke.com/2009/01/02/change-color-mouse-hover-ew/"></a></div><div class="tweetmeme_button" style="float: right; margin-left: 10px;; margin-top:-2px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F01%2F02%2Fchange-color-mouse-hover-ew%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F01%2F02%2Fchange-color-mouse-hover-ew%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p class="MsoListParagraph" style="margin:0 0 10pt .25in;"><span style="font-size:small;font-family:Calibri;">To change the background color and font color of a div on mouse hover, use this CSS code.</span></p>
<p class="MsoNormal" style="text-indent:.25in;margin:0 0 10pt;"><span style="font-size:small;font-family:Calibri;">&lt;style type=&#8221;text/css&#8221; &gt;</span></p>
<p class="MsoListParagraphCxSpFirst" style="margin:0 0 0 .5in;"><span style="font-size:small;font-family:Calibri;">.title_div{</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0 0 0 .5in;"><span style="font-size:small;"><span style="font-family:Calibri;">                background-color:black;</span></span></p>
<p class="MsoListParagraphCxSpLast" style="margin:0 0 10pt .5in;"><span style="font-size:small;"><span style="font-family:Calibri;">                color:white;</span></span></p>
<p class="MsoNormal" style="text-indent:.5in;margin:0 0 10pt;"><span style="font-size:small;font-family:Calibri;">}</span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:.5in;margin:0;"><span style="font-size:small;font-family:Calibri;">.title_div:hover{</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0;"><span style="font-size:small;"><span style="font-family:Calibri;">                                background-color:green;</span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0;"><span style="font-size:small;"><span style="font-family:Calibri;">                                color:black;</span></span></p>
<p class="MsoListParagraphCxSpLast" style="margin:0 0 10pt .5in;"><span style="font-size:small;font-family:Calibri;">}</span></p>
<p class="MsoNormal" style="text-indent:.25in;margin:0 0 10pt;"><span style="font-size:small;font-family:Calibri;">&lt;/style&gt;</span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-size:small;font-family:Calibri;">&lt;body&gt;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0 0 0 .25in;"><span style="font-size:small;"><span style="font-family:Calibri;">        &lt;div class=” title_div”&gt;</span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0 0 0 .25in;"><span style="font-size:small;"><span style="font-family:Calibri;">                        On mouse over div becomes green and text turns black.</span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0 0 0 .25in;"><span style="font-size:small;"><span style="font-family:Calibri;">        &lt;/div&gt;</span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-size:small;font-family:Calibri;">&lt;/body&gt;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin:0 0 0 .25in;"> </p>
<dt class="wp-caption-dt"><img class="size-full wp-image-254" title="b4hover1" src="http://www.saffronstroke.com/wp-content/uploads/2009/03/b4hover1.jpg" alt="Before Hover" width="407" height="25" /></dt>
<dt class="wp-caption-dt"><img class="size-full wp-image-255" title="afterhover" src="http://www.saffronstroke.com/wp-content/uploads/2009/03/afterhover.jpg" alt="After Hover" width="407" height="25" /></dt>
<p class="wp-caption-dt">The same can be done in Microsoft Expression Web in very simple steps.</p>
<ol>
<li>Go to the Apply/Manage Styles task pane and choose ‘New Style’. In the New Style dialog box, enter the Selector as <strong>.title_div</strong> and set the background color to black and font color to white.</li>
<p>             <img class="alignnone size-full wp-image-256" title="b4" src="http://www.saffronstroke.com/wp-content/uploads/2009/03/b4.jpg" alt="b4" width="432" height="414" /></p>
<li>Click OK to save. Then position your cursor into the div and right click on the style in the Apply Styles task pane and select Apply Style from the menu or simply double click on the style, to apply it to the div.</li>
<li>Now create another style called <strong>.title_div:hover</strong> (a pseudo-class to catch the event hover/mouseover) and set the background color to green and font color to black.</li>
<p>             <img class="alignnone size-full wp-image-257" title="after" src="http://www.saffronstroke.com/wp-content/uploads/2009/03/after.jpg" alt="after" width="433" height="415" /></p>
<li>Save your document and preview in the browser.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2009/01/02/change-color-mouse-hover-ew/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

