<?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>DamonLedet.com&#187; Writing about technology, daily life, and other things I find interesting</title>
	<atom:link href="http://www.damonledet.com/blog/tag/css-link/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.damonledet.com</link>
	<description>Writing about technology, daily life, and other things I find interesting</description>
	<lastBuildDate>Thu, 27 May 2010 13:51:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>CSS link color question</title>
		<link>http://www.damonledet.com/blog/2008/03/11/css-link-color-question/</link>
		<comments>http://www.damonledet.com/blog/2008/03/11/css-link-color-question/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 07:59:00 +0000</pubDate>
		<dc:creator>Damon Ledet</dc:creator>
				<category><![CDATA[Questions]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[css link]]></category>
		<category><![CDATA[link colors]]></category>

		<guid isPermaLink="false">http://new.damonledet.com/blog/2008/03/11/css-link-color-question/</guid>
		<description><![CDATA[From time to time I get questions from former students or people that just so happen to stumble upon my website. I decided to start logging these questions on my blog in a new category called questions. Earlier today Dan worte: &#8220;HI I’m in the process of creating a new web site, my template contains [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.damonledet.com%252Fblog%252F2008%252F03%252F11%252Fcss-link-color-question%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22CSS%20link%20color%20question%22%20%7D);"></div>
<p>From time to time I get questions from former students or people that just so happen to stumble upon my website. I decided to start logging these questions on my blog in a new category called <a href="http://blog.damonledet.com/index.cfm/Questions">questions</a>.</p>
<p>Earlier today Dan worte:<br />
<em>&#8220;HI<br />
I’m in the process of creating a new web site, my template contains different colors in different areas on the page. Some of my links are located on a blue background and some are on a white background. I set the page properties links to FFFFFF (link color and visited links to FFFFFF); the problem I’m having is that the links on the white background are not showing. Is there any way to change specific link color?<br />
Thanks for your help.<br />
E.D&#8221;</em></p>
<p>Check out <a href="http://www.damonledet.com/tutorial/index.cfm/name/CSS_Links">http://www.damonledet.com/tutorial/index.cfm/name/CSS_Links</a> the code is below. Instead of color: blue you can use hexadecimal colors like #FFFFFF</p>
<p>When you create the link make sure you add a class=&#8221;linkset2&#8243; in the &lt; a href &gt; tag of course you can change the &#8220;linkset2&#8243; name, if you would like but be sure you also change it in the a.linkset2:link and so on. Using this trick will allow you to have as many link colors as you would like ie a.linkset3:link, a.linkset4:link &#8230; If you really want to use best practices you should attach an external css file so all the pages in your site can use your linkset. The way I did it below is page specific.</p>
<blockquote><p><span style="color: #000000;"><span style="color: #000099;">&lt;html&gt;</span><br />
<span style="color: #000099;">&lt;head&gt;</span><br />
<span style="color: #000099;">&lt;meta http-equiv=<span style="color: #0000cc;">&#8220;content-type&#8221;</span> content=<span style="color: #0000cc;">&#8220;text/html;charset=iso-8859-1&#8243;</span>&gt;</span><br />
<span style="color: #000099;">&lt;title&gt;</span>CSS two color link page<span style="color: #000099;">&lt;/title&gt;</span><br />
<span style="color: #990099;">&lt;style type=<span style="color: #0000cc;">&#8220;text/css&#8221;</span> media=<span style="color: #0000cc;">&#8220;screen&#8221;</span>&gt;</span><br />
<span style="color: #aaaaaa;">&lt;!&#8211;<br />
a:link { color: blue }<br />
a:visited { color: blue }<br />
a:hover { color: purple }<br />
a:active { color: red }<br />
a.linkset2:link { color: purple }<br />
a.linkset2:visited { color: purple }<br />
a.linkset2:hover { color: olive }<br />
a.linkset2:active { color: red }<br />
&#8211;&gt;</span><br />
<span style="color: #990099;">&lt;/style&gt;</span><br />
<span style="color: #000099;">&lt;/head&gt;</span><br />
<span style="color: #000099;">&lt;body bgcolor=<span style="color: #0000cc;">&#8220;#ffffff&#8221;</span>&gt;</span><br />
<span style="color: #000099;">&lt;p&gt;</span><span style="color: #000099;">&lt;a href=<span style="color: #0000cc;">&#8220;#&#8221;</span>&gt;</span>Link 1<span style="color: #000099;">&lt;/a&gt;</span><span style="color: #000099;">&lt;/p&gt;</span><br />
<span style="color: #000099;">&lt;p&gt;</span><span style="color: #000099;">&lt;/p&gt;</span><br />
<span style="color: #000099;">&lt;p&gt;</span><span style="color: #000099;">&lt;a href=<span style="color: #0000cc;">&#8220;#&#8221;</span> class=<span style="color: #0000cc;">&#8220;Linkset2&#8243;</span>&gt;</span>Link 2<span style="color: #000099;">&lt;/a&gt;</span><span style="color: #000099;">&lt;/p&gt;</span><br />
<span style="color: #000099;">&lt;/body&gt;</span><br />
<span style="color: #000099;">&lt;/html&gt;</span></span></p></blockquote>
<p><!-- a:link { color: blue } a:visited { color: blue } a:hover { color: purple } a:active { color: red } a.linkset2:link { color: purple } a.linkset2:visited { color: purple } a.linkset2:hover { color: olive } a.linkset2:active { color: red } --></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.damonledet.com/blog/2007/11/15/export-categories-in-blogcfc-google-sitemap/" rel="bookmark" class="crp_title">Export Categories in Blogcfc Google Sitemap</a></li><li><a href="http://www.damonledet.com/blog/2007/12/26/previous-and-next-in-coldfusion/" rel="bookmark" class="crp_title">Previous and Next in Coldfusion</a></li><li><a href="http://www.damonledet.com/blog/2007/11/21/using-cfimage-to-create-a-watermark/" rel="bookmark" class="crp_title">Using CFIMAGE to create a watermark</a></li><li><a href="http://www.damonledet.com/blog/2007/11/18/using-cfimage-to-create-thumbnails/" rel="bookmark" class="crp_title">Using cfimage to create thumbnails</a></li><li><a href="http://www.damonledet.com/blog/2007/03/03/remote-into-your-macintosh-from-windows/" rel="bookmark" class="crp_title">Remote into your Macintosh from Windows</a></li><li>Powered by <a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a></li></ul></div><script src="http://feeds.feedburner.com/~s/?i=http://www.damonledet.com/blog/2008/03/11/css-link-color-question/" type="text/javascript" charset="utf-8"></script>
]]></content:encoded>
			<wfw:commentRss>http://www.damonledet.com/blog/2008/03/11/css-link-color-question/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
