<?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>CreateBetterWebsites.com &#187; Q &amp; A&#8217;s</title>
	<atom:link href="http://www.createbetterwebsites.com/category/create-a-website-qanda/feed" rel="self" type="application/rss+xml" />
	<link>http://www.createbetterwebsites.com</link>
	<description>Learn How to Create Better Websites</description>
	<lastBuildDate>Wed, 01 Sep 2010 07:04:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How do Websites Use Cookies</title>
		<link>http://www.createbetterwebsites.com/how-do-websites-use-cookies.html</link>
		<comments>http://www.createbetterwebsites.com/how-do-websites-use-cookies.html#comments</comments>
		<pubDate>Thu, 01 Apr 2010 08:02:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Q & A's]]></category>
		<category><![CDATA[how do webistes use cookies]]></category>
		<category><![CDATA[website cookies]]></category>
		<category><![CDATA[what are website cookies]]></category>

		<guid isPermaLink="false">http://www.createbetterwebsites.com/?p=163</guid>
		<description><![CDATA[A client asked &#8220;How do websites use cookies?&#8221; and I thought I&#8217;d just write an article explaining this in a little more detail since there is no short answer. But the technicality of how it works would require much more detailed explanation. So what is a cookie anyway? Many people think that cookies are programs [...]]]></description>
			<content:encoded><![CDATA[<p>A client asked &#8220;How do websites use cookies?&#8221; and I thought I&#8217;d just write an article explaining this in a little more detail since there is no short answer.  But the technicality of how it works would require much more detailed explanation.</p>
<p>So what is a cookie anyway?  Many people think that cookies are programs which are saved on their computers by websites that they visit, and that these programs can access personal information. </p>
<p>But cookies are not programs and they <b>cannot</b> access your personal information on your computer.  Cookies are simply text files that are stored on your computer by a website that you&#8217;ve visited.  </p>
<p>These cookie files store information to the website you&#8217;ve visited.  Information such as user id&#8217;s, session id&#8217;s, a session start time etc.  This information is stored so that a website can retrieve it the next time you visit. </p>
<p>For example when you visit a website and sign in, the cookie file it stores on your machine or computer may contain your user-id, session id and the start of the session.  Then next time your visit the same website it can access this cookie file and retrieve the data. </p>
<p>A website can only access the cookie file it created on your machine and <b>cannot</b> access cookie files from other websites.</p>
<p>So how do websites use cookies and what do they use them for?  Well they use them for many reasons but here are some common ones.</p>
<ol>
<li>They help with getting an accurate count of unique visitors versus repeat visitors and how many time a visitor has visited the website.
</li>
<li>They can be useful for sites that allow user customizations like Yahoo and MSN.  When you set your user layout the cookies contain some information that helps the website remember this the next time you visit.  </li>
<li>Shopping sites use cookies to store information about your cart, for example when you visit a site and add things to a cart, it stores this information so if you don&#8217;t complete the order and come back later your cart is still there.  Some sites keep this information only for a period of time and then it expires.</li>
</ol>
<p>The way that websites use cookies is by storing information from your actions on the website, like what pages you&#8217;ve viewed, what products you buy or any information you give via a form on the website. </p>
<p>Most of the information is stored on the websites database and the only thing stored in the cookie file is a unique id that helps the website find the related information in it&#8217;s database.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.createbetterwebsites.com/how-do-websites-use-cookies.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Format CSS Links</title>
		<link>http://www.createbetterwebsites.com/css-links.html</link>
		<comments>http://www.createbetterwebsites.com/css-links.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 07:22:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Q & A's]]></category>
		<category><![CDATA[css links]]></category>
		<category><![CDATA[format css links]]></category>
		<category><![CDATA[how to format CSS links]]></category>

		<guid isPermaLink="false">http://www.createbetterwebsites.com/?p=111</guid>
		<description><![CDATA[Question: Is there a way to have different looks for different links? For example, can some have a blue underline, some a different color underline, some no underline until someone hovers their mouse over them? I was thinking about h1, h2, h3, etc. Is this kind of variety possible using a stylesheet, too? Answer: You [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Question:</strong><br />
Is there a way to have different looks for different links?</p>
<p>For example, can some have a blue underline, some a different color underline, some no underline until someone hovers their mouse over them?</p>
<p>I was thinking about h1, h2, h3, etc. Is this kind of variety possible using a stylesheet, too?</p>
<p><strong>Answer:</strong><br />
You can define different styles for each link.  See the examples below.  You&#8217;ll notice that the html portion of the code all look the same on the examples. But the CSS code for each one is different.</p>
<p>This is the flexibility of the CSS.  You can modify the CSS file and the change will effect every document that uses it.</p>
<p><a class="underlineLink">This is a blue underlined Link.</a> When you hover over this link its color changes and the underline is still there.</p>
<p>The following is the HTML code.</p>
<blockquote><p>&lt;a class=&#8221;underlineLink&#8221; href=&#8221;http://www.example-link.com/example.html&#8221;&gt;This is a blue underlined link &lt;/a&gt;</p></blockquote>
<p>The <strong>&lt;a&gt;</strong> is the HTML tag for creating a link. The <strong>class</strong> inside this tag defines the style element in your stylesheet.  The <strong>href</strong> points to a document or webpage you want to link to.</p>
<p>This is the CSS code which goes in your style sheet.</p>
<blockquote><p>a.underlineLink {<br />
text-decoration: underline;<br />
color: blue;<br />
}<br />
a.underlineLink:hover {<br />
text-decoration: underline;<br />
color: red;<br />
}</p></blockquote>
<p><a class="no-underlineLink">This is a blue link but not underlined.</a> When you hover over this link its color changes and it&#8217;s underlined.</p>
<p>The following is the HTML code.</p>
<blockquote><p>&lt;a class=&#8221;underlineLink&#8221; href=&#8221;http://www.example.com/example.html&#8221;&gt;This is a red not underlined link&lt;/a&gt;</p></blockquote>
<p>This is the CSS code which goes in your style sheet.</p>
<p>a.no-underlineLink {<br />
text-decoration: none;<br />
color: blue;<br />
}<br />
a.no-underlineLink:hover {<br />
text-decoration: underline;<br />
color: red;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.createbetterwebsites.com/css-links.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
