<?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>CSS Tutorials and CSS Articles &#187; CSS Links</title>
	<atom:link href="http://www.cssmaster.co.uk/tag/css-links/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cssmaster.co.uk</link>
	<description>CSS tutorials and articles</description>
	<lastBuildDate>Tue, 02 Feb 2010 01:43:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS Link Styling</title>
		<link>http://www.cssmaster.co.uk/css-link-styling</link>
		<comments>http://www.cssmaster.co.uk/css-link-styling#comments</comments>
		<pubDate>Fri, 15 Jan 2010 18:37:51 +0000</pubDate>
		<dc:creator>CSS Master</dc:creator>
				<category><![CDATA[CSS Tutorials]]></category>
		<category><![CDATA[CSS Fonts]]></category>
		<category><![CDATA[CSS Links]]></category>
		<category><![CDATA[CSS Text]]></category>

		<guid isPermaLink="false">http://www.cssmaster.co.uk/?p=28</guid>
		<description><![CDATA[CSS can be a powerful tool when styling links on your web page.  
You can change the look of the link itself using traditional CSS Font Styling and CSS Styling Text, but links also have extra behaviours that can be styled.
A link is an anchor, the HTML for an anchor tag is , so [...]]]></description>
			<content:encoded><![CDATA[<p>CSS can be a powerful tool when <strong>styling links</strong> on your web page.  </p>
<p>You can change the look of the link itself using traditional <a href="http://www.cssmaster.co.uk/css-font-styling">CSS Font Styling</a> and <a href="http://www.cssmaster.co.uk/css-styling-text">CSS Styling Text</a>, but links also have extra behaviours that can be styled.</p>
<p>A link is an anchor, the HTML for an anchor tag is <a>, so the CSS is:<br />
<code>a:link { color:#fff; }<br />
a:visited { color:red; }<br />
a:hover { color:blue; }<br />
a:active { color:yellow; }</code><br />
:link &#8211; An unvisited link<br />
:visited &#8211; A link that has been visited<br />
:hover &#8211; When the mouse hovers over a link<br />
:active &#8211; The selected link</p>
<p>Ofcourse you can completely customise these links, whether that&#8217;s with a background color, a border or a text styling underline.  By default the links are blue with an underline.  &#8216;active&#8217; links are red by default and visited links are purple.</p>
<p>An example of a link styled as a button:<br />
<code>a {<br />
&nbsp;&nbsp;padding:10px;<br />
&nbsp;&nbsp;margin:5px;<br />
&nbsp;&nbsp;background-color:#eee;<br />
&nbsp;&nbsp;color:#000;<br />
&nbsp;&nbsp;border:1px solid #ccc;<br />
}</p>
<p>a:hover{<br />
&nbsp;&nbsp;background-color:#999;<br />
&nbsp;&nbsp;color:#fff;<br />
}</code><br />
A link with the :hover select</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cssmaster.co.uk/css-link-styling/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

