<?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>Bluelime Media Vancouver Web Development &#187; HTML/CSS</title>
	<atom:link href="http://www.bluelimemedia.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bluelimemedia.com</link>
	<description>Interactive Solutions with a Twist</description>
	<lastBuildDate>Mon, 01 Mar 2010 04:51:22 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Add social bookmarking icons to your sidebar without using widgets</title>
		<link>http://www.bluelimemedia.com/2009/03/18/add-social-bookmarking-icons-to-your-sidebar/</link>
		<comments>http://www.bluelimemedia.com/2009/03/18/add-social-bookmarking-icons-to-your-sidebar/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 01:46:15 +0000</pubDate>
		<dc:creator>Christine</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.bluelimemedia.com/?p=688</guid>
		<description><![CDATA[As social bookmarking sites such as Twitter, Facebook and Linked in become more and more popular, these days, I find myself being asked to make adjustments to several WordPress websites by adding social bookmarking links and icons to the sidebar. After 2 such web updates this week, I was asked by a friend to send [...]]]></description>
			<content:encoded><![CDATA[<p>As social bookmarking sites such as <a href="http://www.twitter.com">Twitter</a>,<a href="http://www.facebook.com"> Facebook</a> and <a href="http://www.linkedin.com">Linked in</a> become more and more popular, these days, I find myself being asked to make adjustments to several WordPress websites by adding social bookmarking links and icons to the sidebar. After 2 such web updates this week, I was asked by a friend to send me the code so that they could add it to their site. So instead of doing the work and sending it to him, I thought I would share it with you all.</p>
<p>The following examples are just code snippets that you can add to your sidebar.php template file. These snippets will not work if your website use sidebar widgets. (That&#8217;s not exactly true, but it&#8217;s a bit more complicated.)</p>
<p>The first example is very simple and can be seen live on the <a href="http://www.kitsilano.ca">kitsilano.ca</a> website.</p>
<p style="text-align: center;"><a href="http://www.kitsilano.ca"><img class="alignnone size-full wp-image-689" style="border:1px solid #F6F6F6;" title="Kitsilano sidebar example" src="http://www.bluelimemedia.com/blog/wp-content/uploads/kits_sidebar.gif" alt="Kitsilano sidebar example" width="173" height="92" /></a></p>
<p>First you&#8217;ll need to edit your sidebar.php template and add the following lines of code:</p>
<pre><code>
&lt;h2&gt;Follow Us&lt;/h2&gt;
&lt;ul&gt;
&lt;li class="rss"&gt;
&lt;a href="[insert your rss link here]"&gt;Get our Feed&lt;/a&gt;
&lt;/li&gt;
&lt;li class="twitter"&gt;
&lt;a href="[insert your twitter link here]"&gt;On Twitter&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
</code></pre>
<p>Next you can adjust the styling by adding this piece of code to your style.css</p>
<pre><code>
#sidebar li.rss {background:url(images/rss.gif) 0 50% no-repeat;}
#sidebar li.twitter {background:url(images/twitter.gif) 0 50%  no-repeat;}
#sidebar li.rss a, #sidebar li.twitter a {padding-left:20px;}
</code></pre>
<p>The icons will also have to be uploaded in your templates&#8217; images folder. You can use your own icons or grab the ones that I&#8217;ve used by downloading the <a href="http://www.bluelimemedia.com/blog/wp-content/uploads/socialbookmarking_examples.zip">zip file</a>.</p>
<p>The second example may look a bit more complex, but is just as easy and can be seen on the <a href="http://www.mudcreative.com">mudcreative.com</a> sidebar.</p>
<p style="text-align: center;"><a href="http://www.mudcreative.com"><img class="alignnone size-full wp-image-691" title="Mudcreative Social Bookmarking example" src="http://www.bluelimemedia.com/blog/wp-content/uploads/mudcreative.gif" alt="Mudcreative Social Bookmarking example" width="205" height="82" /></a></p>
<p>First insert these lines of code in your sidebar.php:</p>
<pre><code>
&lt;div id="social_media"&gt;
&lt;h2&gt;Follow Us&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="[insert your link to linked in here]"&gt;&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/images/linkedin.png" alt="View our linked in profile" width="32" height="32" border="0" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="[insert your link to twitter here]"&gt;&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/images/twitter.png" alt="On Twitter" width="32" height="32" border="0"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="[insert your link to rss feed here]"&gt;&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/images/rss.png" alt="Via our RSS feed" width="32" height="32" border="0" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="[insert your link to facebook here]"&gt;&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/images/facebook.png" alt="On Facebook" width="32" height="32" border="0"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</code></pre>
<p>Next, add the following to your style.css</p>
<pre><code>
#social_media {
width:200px;
background:#F2F7F7;
border:1px solid #ACD0D1;
padding: 0 0 5px 0; margin-bottom:10px;
}
#social_media ul {list-style-type:none; margin:0 0 0 6px; padding:0;}
#social_media ul li {display:inline; padding: 0 6px 0 0;}
</code></pre>
<p>Depending on what your stylesheet already contains, you may need to make a few tweaks, but it should be pretty straightforward. Here is <a href="http://www.bluelimemedia.com/blog/wp-content/uploads/socialbookmarking_examples.zip">zip file</a> with the code snippets and icons. Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bluelimemedia.com/2009/03/18/add-social-bookmarking-icons-to-your-sidebar/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Better Coda Slider with image rollover</title>
		<link>http://www.bluelimemedia.com/2009/01/23/better-coda-slider-with-image-rollover/</link>
		<comments>http://www.bluelimemedia.com/2009/01/23/better-coda-slider-with-image-rollover/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 00:32:29 +0000</pubDate>
		<dc:creator>Christine</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>

		<guid isPermaLink="false">http://www.bluelimemedia.com/?p=640</guid>
		<description><![CDATA[In my last post I talked about using the &#8220;Better Coda Slider&#8221; created by Remy to create the testimonial slide show on the Enhance Dental Centre. While working on this, I ran into a problem. Instead of using a single image when moving from image to image, I wanted to use a rollover image. I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bluelimemedia.com/examples/coda/"><img class="alignright size-full wp-image-641" title="Bluelime Coda Slider Example" src="http://www.bluelimemedia.com/blog/wp-content/uploads/coda.jpg" alt="Bluelime Coda Slider Example" width="220" height="179" /></a>In my <a href="http://www.bluelimemedia.com/2009/01/18/enhance-dental-centre-enhanced-with-jquery/">last post</a> I talked about using the &#8220;<a href="http://jqueryfordesigners.com/demo/coda-slider.html">Better Coda Slider</a>&#8221; created by <a href="http://remysharp.com/">Remy</a> to create the <a href="http://www.enhancedentalcentre.com/testimonials-press/">testimonial slide show on the Enhance Dental Centre</a>. While working on this, I ran into a problem. Instead of using a single image when moving from image to image, I wanted to use a rollover image. I looked at the <a href="http://jqueryfordesigners.com/coda-slider-effect/">thread of comments</a> on Remy&#8217;s blog post and noticed that I was not alone in wanting this and that no one had offered a solution.</p>
<p>Possibly because of my stubbornness I tried all sorts of  CSS tricks and hacks and couldn&#8217;t get the damn rollovers to work. In the end, the solution was pretty obvious, in fact a bit embarrassing.</p>
<p>I asked <a href="http://www.benjaminkeen.com/">Ben</a> to look at my code and in my coda-slider.js file, he simply changed</p>
<pre><code>.before('&lt;img class="scrollButtons left" src="/images/left.gif" alt="" /&gt;')
.after('&lt;img class="scrollButtons right" src="/images/right.gif" alt="" /&gt;');</code></pre>
<p>to this:</p>
<pre><code>.before('&lt;img class="scrollButtons left" onmouseover="this.src=\'images/left_hover.gif\'"
onmouseout="this.src=\'images/left.gif\'" src="images/left.gif" alt="" /&gt;')
.after('&lt;img class="scrollButtons right" onmouseover="this.src=\'images/right_hover.gif\'" onmouseout="this.src=\'images/right.gif\'" src="images/right.gif" alt="" /&gt;');</code></pre>
<p>Doh! I was trying so hard to do my rollovers with css, that I forgot the &#8220;old school&#8221; way of doing this.</p>
<p>In case anybody is interested in re-creating this  <a href="http://www.bluelimemedia.com/examples/coda/">example</a>, here are <a href="http://www.bluelimemedia.com/examples/coda.zip">the files are zipped up for you to play with</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bluelimemedia.com/2009/01/23/better-coda-slider-with-image-rollover/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Highlights from An Event Apart Seattle</title>
		<link>http://www.bluelimemedia.com/2007/06/26/highlights-from-an-event-apart-seattle/</link>
		<comments>http://www.bluelimemedia.com/2007/06/26/highlights-from-an-event-apart-seattle/#comments</comments>
		<pubDate>Tue, 26 Jun 2007 16:10:13 +0000</pubDate>
		<dc:creator>Tzaddi</dc:creator>
				<category><![CDATA[Bluelime News]]></category>
		<category><![CDATA[Content Writing]]></category>
		<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.bluelimemedia.com/blog/2007/06/26/highlights-from-an-event-apart-seattle/</guid>
		<description><![CDATA[One of the things I love about being a web designer is that there is always more to learn, be it from other web specialists or your clients. Last week at An Event Apart Seattle Christine and I had the chance to learn from some true experts. The speakers were not only masters in their [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I love about being a web designer is that there is always more to learn, be it from other web specialists or your clients. Last week at <a href="http://aneventapart.com/events/seattle07/">An Event Apart Seattle</a> Christine and I had the chance to learn from some true experts. The speakers were not only masters in their fields, but engaging and generous with their knowledge.</p>
<p>Here are some highlights:</p>
<ul>
<li>Watching Eric Meyer write CSS (you know you&#8217;re a geek when&#8230;)</li>
<li>Jeffrey Zeldman&#8217;s talk on &#8220;Writing the User Interface&#8221; confirmed my experience: the words in a web design matter much more than you might think and can really make a difference in how visitors use your site. So long as it invites clicking, it matters more what a button says than what it looks like.</li>
<li>Peaking into other designer&#8217;s processes, from beautiful sketchbooks to user research. </li>
<li>I enjoyed Jeff Veen&#8217;s <a href="http://flickr.com/photos/sanchez/596818178/">succinct message</a> which shows the benefits of doing your design research up front vs. the cost of changing your mind partway through the build. He also discussed why web design is so much more complex now than it was in the early days of the web, when everyone using the web were of the same type (geeks).</li>
<li>Shawn Henry shared insights for ensuring your site is accessible to varying abilities; from folks who read the web with braille or speech readers to limited vision users &mdash; who magnify screens to an amazing degree, but want the same site that was designed for regularly sighted users. Bottom line: there is no substitute for engaging disabled users in the design process if you want to build truly accessible sites. Her <a href="http://uiaccess.com/accessucd/">book on accessibility</a> is free online.</li>
<li>Andy Budd shared how a delightful user experience is worth more than the sum of it&#8217;s parts in the loyalty that can create.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bluelimemedia.com/2007/06/26/highlights-from-an-event-apart-seattle/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Why should you care if your website is built with tables or CSS?</title>
		<link>http://www.bluelimemedia.com/2007/06/01/why-should-you-care-if-your-website-is-built-with-tables-or-css/</link>
		<comments>http://www.bluelimemedia.com/2007/06/01/why-should-you-care-if-your-website-is-built-with-tables-or-css/#comments</comments>
		<pubDate>Fri, 01 Jun 2007 22:33:49 +0000</pubDate>
		<dc:creator>Christine</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://www.bluelimemedia.com/blog/2007/06/01/why-should-you-care-if-your-website-is-built-with-tables-or-css/</guid>
		<description><![CDATA[Yesterday, I was invited to have lunch at Twin Fish Creative&#8217;s monthly staff get together. Since, I&#8217;ve been doing a lot of work with them, I thought I would take the opportunity to explain what I do to their Photoshop files and more specifically how CSS is used.
What’s this CSS?
HTML tags were originally designed to [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I was invited to have lunch at <a href="http://www.twinfishcreative.com">Twin Fish Creative</a>&#8217;s monthly staff get together. Since, I&#8217;ve been doing a lot of work with them, I thought I would take the opportunity to explain what I do to their Photoshop files and more specifically how CSS is used.</p>
<p><strong>What’s this CSS?</strong><br />
HTML tags were originally designed to define the content of a document. They were supposed to say &#8220;This is a header&#8221;, &#8220;This is a paragraph&#8221;, &#8220;This is a table&#8221;, by using tags like <code>&lt;h1&gt;</code>, <code>&lt;p&gt;</code>, <code>&lt;table&gt;</code>, and so on.  The layout of the document was supposed to be taken care of by the browser, without using any formatting tags.</p>
<p><span id="more-155"></span><br />
As the major browsers continued to add new HTML tags and attributes (like the <code>&lt;font&gt;</code> tag and the color attribute) to the original HTML specification, it became more and more difficult to create Websites where the content of HTML documents was clearly separated from the document&#8217;s presentation layout.</p>
<p>To solve this problem, the <a href="http://www.w3.org/">World Wide Web Consortium</a> (W3C) created STYLES. Styles sheets define <strong>HOW HTML</strong> elements are to be displayed, just like the font tag and the color attribute. </p>
<p><strong>So what&#8217;s the advantage?</strong><br />
Styles are normally saved in an external file which allows us to change the appearance and layout of all the pages in a Website, simply by editing one single document! This saves us loads of time which means money for our clients.</p>
<p>Style sheets also allow us to reduce the amount of HTML code which means smaller file size which load faster and better search engine ranking.</p>
<p><strong>How is code reduced?</strong><br />
Let&#8217;s take the following example. Below is a screenshot of a typical navigation.</p>
<p><img src='http://www.bluelimemedia.com/blog/wp-content/uploads/2007/06/navigation.gif' alt='Navigation Bar' /></p>
<p>The old way of coding this nav bar using tables would be as follows:</p>
<ol class="code">
<li><code>&lt;table cellpadding="0" cellspacing="0" border="0"&gt;</code></li>
<li><code>&lt;tr&gt;</code></li>
<li><code>&lt;td&gt;&lt;img name="image1" src="images/home_over.gif"</code></li>
<li><code>alt="home" border="0" /&gt;&lt;a href="#" onmouseover="image2.src='images/about_over.gif';"<br />
onmouseout="image2.src='images/about.gif';"&gt;&lt;img name="image2" src="images/about.gif" alt="about" border="0" /&gt;&lt;/a&gt;&lt;/td&gt;</code></li>
<li><code>&lt;td&gt;&lt;a href="#" onmouseover="image3.src='images/services_over.gif';" </code></li>
<li><code>onmouseout="image3.src='images/services.gif';"&gt;&lt;img name="image3" src="images/services.gif" alt="services" border="0" /&gt;&lt;/a&gt;&lt;/td&gt;</code></li>
<li><code>&lt;td&gt;&lt;a href="#" onmouseover="image4.src='images/portfolio_over.gif';" onmouseout="image4.src='images/portfolio.gif';"&gt;&lt;img name="image4" src="images/portfolio.gif" alt="portfolio" border="0" /&gt;&lt;/a&gt;&lt;/td&gt;</code></li>
<li><code>&lt;td&gt;&lt;a href="#" onmouseover="image5.src='images/news_over.gif';"<br />
onmouseout="image5.src='images/news.gif';"&gt;&lt;img name="image5" src="images/news.gif" alt="news" border="0" /&gt;&lt;/a&gt;&lt;/td&gt;</code></li>
<li><code>&lt;td&gt;&lt;a href="#" onmouseover="image8.src='images/contact_over.gif';" onmouseout="image8.src='images/contact.gif';"&gt;&lt;img name="image8"<br />
		src="images/contact.gif" alt="contact" border="0" /&gt;&lt;/a&gt;&lt;/td&gt;</code></li>
<li><code>&lt;/tr&gt;</code></li>
<li><code>&lt;/table&gt;</code></li>
</ol>
<p>Using css the same navigation is reduced to these few lines:</p>
<ol class="code">
<li><code>&lt;ul id="nav1"&gt;</code></li>
<li><code>&lt;li&gt;&lt;a class="home" href="#"&gt;&lt;span&gt;home&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;</code></li>
<li><code>&lt;li&gt;&lt;a class="about" href="#"&gt;&lt;span&gt;about&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;</code></li>
<li><code>&lt;li&gt;&lt;a class="services" href="#"&gt;&lt;span&gt;services&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;</code></li>
<li><code>&lt;li&gt;&lt;a class="portfolio" href="#"&gt;&lt;span&gt;portfolio&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;</code></li>
<li><code>&lt;li&gt;&lt;a class="news" href="#"&gt;&lt;span&gt;news&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;</code></li>
<li><code> &lt;li&gt;&lt;a class="contact" href="#"&gt;&lt;span&gt;contact&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;</code></li>
<li><code>&lt;/ul&gt;</code></li>
</ol>
<p>If you&#8217;re not convinced that the result is the same, take a look at the <a href="http://www.bluelimemedia.com/examples/navigation/">example in action</a> or <a href="BluelimeMedia_CSSvsTablebasedNavigation.zip">download the files</a>. </p>
<p><strong>How is search engine ranking improved?</strong><br />
Search engine spiders see the same thing we do, words. Open any browser window, click on View and Source (IE) or Page Source (Firefox) and take a look at the code. A Search engine friendly site should be easy to read. If your website is full of code which doesn&#8217;t mean much to you, chances are it won&#8217;t mean anything to search engine spiders either.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bluelimemedia.com/2007/06/01/why-should-you-care-if-your-website-is-built-with-tables-or-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating customized error messages</title>
		<link>http://www.bluelimemedia.com/2007/04/19/creating-customized-error-messages/</link>
		<comments>http://www.bluelimemedia.com/2007/04/19/creating-customized-error-messages/#comments</comments>
		<pubDate>Fri, 20 Apr 2007 02:34:27 +0000</pubDate>
		<dc:creator>Christine</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>

		<guid isPermaLink="false">http://www.bluelimemedia.com/blog/2007/04/19/creating-customized-error-messages/</guid>
		<description><![CDATA[There is nothing more frustrating then getting to a page which no longer exists and getting the dreadful plain looking 404 error page with no explanation of what just happened. These pages can be made much more informative with simple HTML. If you take a look at the following links to pages that are broken [...]]]></description>
			<content:encoded><![CDATA[<p>There is nothing more frustrating then getting to a page which no longer exists and getting the dreadful plain looking <a href="http://en.wikipedia.org/wiki/404_error">404 error</a> page with no explanation of what just happened. These pages can be made much more informative with simple HTML. If you take a look at the following links to pages that are broken you will notice that we&#8217;ve made them a bit friendlier:</p>
<ul>
<li><a href="http://www.bluelimemedia.com/test.html">www.bluelimemedia.com/test.html</a></li>
<li><a href="http://www.outofchaos.ca/test.html">www.outofchaos.ca/test.html</a></li>
</ul>
<p>The folks at the <a href="http://www.bbc.co.uk/crap.html">BBC</a> display the 404 error message, but at least they have added some additional information giving you options as what to do next which is not the case over at <a href="http://www.crap.com/crap.php">crap.com</a>.</p>
<p>Of course you can also use humour to display your error messages. <a href="http://www.mynameiskate.ca/2007/04/when_creating_y.html">Kate</a> discovered this great message when she broke her Twitter.</p>
<p><img src="http://www.bluelimemedia.com/blog/wp-content/uploads/2007/04/picture_2.jpg" alt="Twitter Error Message" /></p>
<p>I think that your website users would appreciate your effort.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bluelimemedia.com/2007/04/19/creating-customized-error-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
