<?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"
	>

<channel>
	<title>stormdamage.org</title>
	<atom:link href="http://stormdamage.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://stormdamage.org</link>
	<description>Art, Webdesign and CSS.</description>
	<pubDate>Thu, 04 Sep 2008 10:33:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Wrap long hyphenated text onto the next line</title>
		<link>http://stormdamage.org/wrap-long-hyphenated-text-onto-the-next-line/</link>
		<comments>http://stormdamage.org/wrap-long-hyphenated-text-onto-the-next-line/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 10:33:57 +0000</pubDate>
		<dc:creator>Leonie</dc:creator>
		
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://stormdamage.org/?p=34</guid>
		<description><![CDATA[When you have a long line of text separated by hyphens, they will not normally be wrapped automatically onto the next line. This can be awkward, as it may break a perfectly good layout by breaking the content out of its containing box. 
Some text like this for example, will not wrap if its container [...]]]></description>
			<content:encoded><![CDATA[<p>When you have a long line of text separated by hyphens, they will not normally be wrapped automatically onto the next line. This can be awkward, as it may break a perfectly good layout by breaking the content out of its containing box. </p>
<p>Some text like this for example, will not wrap if its container is quite narrow (say, in a table column).</p>
<blockquote><p>466456-34635645-346346346-3463456</p></blockquote>
<p>There is a solution - it&#8217;s the &#8217;soft hyphen&#8217;:</p>
<blockquote><p>&amp;shy;</p></blockquote>
<p>Which will create a hyphen which will happily wrap onto the next line.</p>
]]></content:encoded>
			<wfw:commentRss>http://stormdamage.org/wrap-long-hyphenated-text-onto-the-next-line/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The problems of overdoing design</title>
		<link>http://stormdamage.org/the-problems-of-overdoing-design/</link>
		<comments>http://stormdamage.org/the-problems-of-overdoing-design/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 10:39:40 +0000</pubDate>
		<dc:creator>Leonie</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[formatting]]></category>

		<category><![CDATA[layouts]]></category>

		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://stormdamage.org/?p=24</guid>
		<description><![CDATA[Though it is easy to criticise sites that are somewhat lacking in design smarts, not enough attention is paid to the opposite problem - overdesign.
Though it may seem logical to highlight important information on your site, overdo it and you could put off your users. If they see a panel which tries a little too [...]]]></description>
			<content:encoded><![CDATA[<p>Though it is easy to criticise sites that are somewhat lacking in design smarts, not enough attention is paid to the opposite problem - <em>overdesign</em>.</p>
<p>Though it may seem logical to highlight important information on your site, overdo it and you could put off your users. If they see a panel which tries a little too hard to grab your attention, they could assume it&#8217;s an advert and ignore it completely.</p>
<p>This is illustrated beautifully by <a title="Fancy formatting ignored by users" href="http://www.useit.com/alertbox/fancy-formatting.html">Jakob Neilsen</a>, who uses the US Census Bureau website as an example to show how easily this can happen. Although the site has the US population in large red letters, when users were asked to find it, 86% would miss it entirely, assuming it was an advert.</p>
<p>Another example to illustrate the overdesign problem is the website of <a title="Boots" href="http://www.boots.com">Boots the Chemist</a>:</p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_26" class="wp-caption aligncenter" style="width: 510px;">
<dt class="wp-caption-dt"><a href="http://stormdamage.org/wp-content/uploads/2008/08/boots-screenshot.jpg"><img class="size-full wp-image-26" title="Boots Screenshot" src="http://stormdamage.org/wp-content/uploads/2008/08/boots-screenshot.jpg" alt="Boots Screenshot" width="555" height="397" /></a></dt>
</dl>
</div>
<p>The site&#8217;s main content is made up of variously coloured, attention grabbing panels, which are likely to be ignored by the user. The large numbers in bright red font also add to the problem.<span id="more-24"></span></p>
<dl id="attachment_26" class="wp-caption aligncenter" style="width: 310px;"> </dl>
<p>Many designers forget to suggest a clear workflow through their sites, and I think is especially true of the Boots site. Not content with one navigation bar they have four, all competing for the user&#8217;s attention.</p>
<p>When a user visits a site, they are quite likely to be looking for key information. A store locator perhaps, or opening hours, products, pharmacy information, etc. With some thought, this could all be condensed into one clear navigation tree, rather than being scattered around the page in a  tiny font. The left hand column looks especially squashed, attempting to pack too much information into a small space.</p>
<p>The buttons at the bottom are quite a nice way of navigating; they are clear, simple and not overstyled. But  they are lost at the bottom of the page where the user is unlikely to look first for information. Instead, the entire site gives the impression of information overload, which encourages the user to go straight for the search box.</p>
<p>It becomes easy to see the appeal of minimalist design, keeping the menus, colours and panels as pared down as possible.  But this needn&#8217;t be at the expense of visual appeal. A common-sense balance can achieved by keeping these simple pointers in mind:</p>
<ul>
<li><strong>Limit the </strong><strong>number of panels</strong> on the page. Especially if they are all different colours.</li>
<li><strong>Avoid </strong><strong>over-highlighting numbers</strong> - text is far more user-friendly.</li>
<li><strong>Keep the menus simple</strong>, and as few as possible.</li>
<li><strong>Limit font styles</strong>, colours and other formatting.</li>
<li><strong>Minimise the use of </strong><strong>animated banners </strong>and flashing text.</li>
<li><strong>Avoid jargon</strong> and keep headings simply worded.</li>
</ul>
<p>Really, we need to keep in mind what our users want to do, not what <em>we</em> want our users to do. By highlighting too many &#8216;important&#8217; sections the workflow is lost, and our users with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://stormdamage.org/the-problems-of-overdoing-design/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Uses for CSS Tooltips &#038; Images</title>
		<link>http://stormdamage.org/uses-for-css-tooltips-images/</link>
		<comments>http://stormdamage.org/uses-for-css-tooltips-images/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 10:50:36 +0000</pubDate>
		<dc:creator>Leonie</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[tooltips]]></category>

		<guid isPermaLink="false">http://stormdamage.org/?p=20</guid>
		<description><![CDATA[You may remember a previous post of mine, where I explained a method of using only CSS to create tooltips. Well here are two creative uses for that technique. Firstly - this map of the capital cities in the UK and Ireland. The locations are revealed when you hover your mouse over them:DublinEdinburgh  London [...]]]></description>
			<content:encoded><![CDATA[<p style="padding-bottom:0;">You may remember a previous post of mine, where I explained <a href="/tooltips-using-css-only-no-javascript/">a method of using only CSS to create tooltips</a>. Well here are two creative uses for that technique. Firstly - this map of the capital cities in the UK and Ireland. The locations are revealed when you hover your mouse over them:</p><div class="iecenter"><div id="map"><a href="javascript:void;" class="tooltip"><div class="dublin"><div class="dot"><span>Dublin</span></div></div></a><a href="javascript:void;" class="tooltip"><div class="edinburgh"><div class="dot"><span>Edinburgh </span></div></div></a><a href="javascript:void;" class="tooltip"><div class="london"><div class="dot"><span> London </span></div></div></a><a href="javascript:void;" class="tooltip"><div class="cardiff"><div class="dot"><span> Cardiff </span></div></div></a><a href="javascript:void;" class="tooltip"><div class="belfast"><div class="dot"><span>Belfast </span></div></div></a></div></div><p>This is done by creating a &lt;div&gt; which has the map image as the background. Links are placed inside this &lt;div&gt; for each location, and are positioned absolutely over the map. Inside each link is the tooltip text &lt;span&gt;, and a &lt;div&gt; with the class &#8216;dot&#8217; to define the hotspot area. On the map shown, I have outlined these divs with a square, white border so you can see where they are. But of course you could make them entirely invisible if you wanted to.<span id="more-20"></span></p>
<p>Here&#8217;s the HTML structure:</p>
<blockquote><p>&lt;div id=&#8221;map&#8221;&gt;<br />
&nbsp;&nbsp;&lt;a href=&#8221;javascript:void;&#8221; class=&#8221;tooltip&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#8221;dublin&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#8221;dot&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span&gt; Dublin &lt;/span&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&lt;/a&gt;<br />
&nbsp;&nbsp;&lt;a href=&#8221;javascript:void;&#8221; class=&#8221;tooltip&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#8221;edinburgh&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#8221;dot&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span&gt; Edinburgh &lt;/span&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&lt;/a&gt;<br />
&nbsp;&nbsp;&lt;a href=&#8221;javascript:void;&#8221; class=&#8221;tooltip&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#8221;london&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#8221;dot&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span&gt; London &lt;/span&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&lt;/a&gt;<br />
&nbsp;&nbsp;&lt;a href=&#8221;javascript:void;&#8221; class=&#8221;tooltip&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#8221;cardiff&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#8221;dot&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span&gt; Cardiff &lt;/span&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&lt;/a&gt;<br />
&nbsp;&nbsp;&lt;a href=&#8221;javascript:void;&#8221; class=&#8221;tooltip&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#8221;belfast&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class=&#8221;dot&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span&gt; Belfast &lt;/span&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&lt;/a&gt;<br />
&lt;/div&gt;</p></blockquote>
<p>So to recap - the tooltip text and &#8216;dot&#8217; hotspot are contained within a &lt;div&gt; named the class of the city it points to. This div is positioned absolutely over the map image. To create the tooltip, reuse the CSS from <a href="/tooltips-using-css-only-no-javascript/">my previous tutorial</a> (only with slightly different sizes and colours this time):</p>
<blockquote><p>a.tooltip:hover { font-size:100%; } /* IE6 fix */
a.tooltip span {display:none; }
a.tooltip:hover span { display:inline; position:absolute; padding:3px; background-color:#eee; border:1px solid #000; text-decoration:none; color:#7A2141; font-weight:bold; }</p></blockquote>
<p>Then create the CSS for the map image, and the locations:</p>
<blockquote><p>#map { position:relative; background:url(ukmap.png) no-repeat; width:244px; height:253px; border:1px solid #000; }
<br /><br />
a.tooltip div.belfast { position:absolute; top:116px; left:90px; }<br />
a.tooltip div.dublin { position:absolute; top:147px; left:80px; }<br />
a.tooltip div.edinburgh { position:absolute; top:92px; left:142px; }<br />
a.tooltip div.london { position:absolute; top:204px; left:179px; }<br />
a.tooltip div.cardiff { position:absolute; top:196px; left:130px; }</p></blockquote>
<p>Finally, create the CSS for the dot hotspots. This just decides how big each hotspot should be, and adds an optional border:</p>
<blockquote><p>a.tooltip div.dot { width:10px; height:10px; border:#fff 1px solid; }</p></blockquote>
<p>This will give you some working map tooltips! Of course, you may wish to position them a little better, as they overlap the dots a little. So you can either simply push them down a little like this:</p>
<blockquote><p>a.tooltip div span { top:14px; }</p></blockquote>
<p>or you can try and centre them:</p>
<blockquote><p>a.tooltip div span { top:14px; margin-left:-250%; font-size:100%; }</p></blockquote>
<p>Unfortunately this method is not terribly reliable, a better solution would be to make all the tooltip text &lt;span&gt; tags the same width, then negatively offset them by half their width:</p>
<blockquote><p>a.tooltip div span { text-align:center; top:14px; width:60px; margin-left:-30px; font-size:100%; }</p></blockquote>
<p>The second use for this CSS technique would be a Facebook style method of highlighting photographs. A list of items is shown under an image. When the mouse is hovered over one of the items, a box appears on the image. Like so:</p>
<div class="iecenter"><div class=housemates style="text-align:left;"><ul><li><a href=# class=person>Jon <span class=jon></span></a></li><li><a href=# class=person>Leonie <span class=leonie></span></a></li><li><a href=# class=person>Andy<span class=andy></span></a></li></ul></div></div>
<p>To do this, you need to create a &lt;div&gt; which will hold the image and the list. Each list item will have a &lt;span&gt; inside it, which will be hidden initially, but show up over the image when the item is hovered over. Here&#8217;s the HTML:</p>
<blockquote><p>&lt;div class=&#8221;housemates&#8221;&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;ul&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a href=&#8221;#&#8221; class=&#8221;person&#8221;&gt;Jon &lt;span class=&#8221;jon&#8221;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a href=&#8221;#&#8221; class=&#8221;person&#8221;&gt;Leonie &lt;span class=&#8221;leonie&#8221;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;a href=&#8221;#&#8221; class=&#8221;person&#8221;&gt;Andy &lt;span class=&#8221;andy&#8221;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;/ul&gt;<br />
&lt;/div&gt;</p></blockquote>
<p>The &#8216;housemates&#8217; div should have the photo as a background, and have the photograph&#8217;s width plus some top padding to push the list down underneath:</p>
<blockquote><p>.housemates { position:relative; background:url(housemates.jpg) no-repeat; width:419px; padding-top:343px; }</p></blockquote>
<p>Then the size of the spans which appear when hovering should be set, using the CSS trick previously outlined:</p>
<blockquote><p>a.person:hover { font-size:100%; } /* IE6 fix */<br />
a.person:hover span { position:absolute; width:80px; height:100px; background:transparent; border:2px solid #fff; text-decoration:none; }</p></blockquote>
<p>Finally each individual &lt;span&gt; is given a position over the image:</p>
<blockquote><p>a.person span.jon { top:35px; left:72px; }<br />
a.person span.leonie { top:39px; left:157px; }<br />
a.person span.andy { top:30px; left:240px; }</p></blockquote>
<p>And there it is, a simple way of using CSS to annotate your photos, Facebook style.</p>
]]></content:encoded>
			<wfw:commentRss>http://stormdamage.org/uses-for-css-tooltips-images/feed/</wfw:commentRss>
		</item>
		<item>
		<title>One line of code to rearrange other people&#8217;s page layouts</title>
		<link>http://stormdamage.org/one-line-of-code-to-rearrange-other-peoples-page-layouts/</link>
		<comments>http://stormdamage.org/one-line-of-code-to-rearrange-other-peoples-page-layouts/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 14:41:13 +0000</pubDate>
		<dc:creator>Leonie</dc:creator>
		
		<category><![CDATA[Interesting Links]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[page layouts]]></category>

		<guid isPermaLink="false">http://stormdamage.org/?p=19</guid>
		<description><![CDATA[Here&#8217;s a nifty trick to make the content of any website editable - simply copy and paste this line of Javascript into your browser window, then play around with the content to your heart&#8217;s content:
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

Of course it doesn&#8217;t alter their code in anyway, it just changes the way you see it in [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a nifty trick to make the content of any website editable - simply copy and paste this line of Javascript into your browser window, then play around with the content to your heart&#8217;s content:</p>
<blockquote><pre>javascript:document.body.contentEditable='true'; document.designMode='on'; void 0</pre>
</blockquote>
<p>Of course it doesn&#8217;t alter their code in anyway, it just changes the way you see it in your browser. There isn&#8217;t much of legitimate use for this, but it&#8217;s an interesting Javascript curiosity nonetheless.</p>
<p>(Shamelessly stolen from <a rel="nofollow" href="http://www.blogstorm.co.uk/cut-and-paste-one-line-of-code-to-make-any-website-editable/">Blogstorm</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://stormdamage.org/one-line-of-code-to-rearrange-other-peoples-page-layouts/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using Eyedropper to select a hex colour</title>
		<link>http://stormdamage.org/using-eyedropper-to-select-a-hex-colour/</link>
		<comments>http://stormdamage.org/using-eyedropper-to-select-a-hex-colour/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 15:56:36 +0000</pubDate>
		<dc:creator>Leonie</dc:creator>
		
		<category><![CDATA[Resources]]></category>

		<category><![CDATA[plugins]]></category>

		<category><![CDATA[programs]]></category>

		<guid isPermaLink="false">http://stormdamage.org/?p=17</guid>
		<description><![CDATA[Eyedropper is a useful little program which I couldn&#8217;t be without. It will tell you the hex, RGB or CMYK of any colour on screen if you hover your cursor over it, and so is invaluable for web development. Many people use Colorzilla for this, which is a Firefox plugin. However, the advantage of Eyedropper [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-18" title="Eyedropper at work" src="http://stormdamage.org/wp-content/uploads/2008/07/eyedropper.gif" alt="Eyedropper at work" width="200" height="150" />Eyedropper is a useful little program which I couldn&#8217;t be without. It will tell you the hex, RGB or CMYK of any colour on screen if you hover your cursor over it, and so is invaluable for web development. Many people use <a rel="nofollow" href="https://addons.mozilla.org/en-US/firefox/addon/271?application=firefox&amp;id=271&amp;vid=1032">Colorzilla</a> for this, which is a Firefox plugin. However, the advantage of Eyedropper is that it works anywhere on screen, not just inside the browser window.</p>
<p>In addition, it also gives you the x and y mouse coordinates, which is very useful for checking that things line up properly. The program is very small and unobtrusive, it sits in the systray until you double-click the icon to pick it up. Then it will follow your cursor around, until you double-click its icon in the systray again to put it back.<span id="more-17"></span></p>
<p>Unfortunately it doesn&#8217;t have hex codes set to appear by default, so when you first install the program, you will need to right-click it&#8217;s icon, Select &#8216;Properties&#8217; and tick &#8216;Show hex values&#8217;. You can then hover over your desired colour, and press Ctrl + C to copy its hex code to your clipboard.</p>
<p>A similar program is Pixie, though I like it less as it remains static in the centre of the screen. This means you have to switch in and out of it, unlike Eyedropper which feels more natural as follows the cursor, making it easier to continue your work without needing to make a switch. Both these programs are small, and free (though I don&#8217;t think they are available for the Mac).</p>
<p><a rel="nofollow" href="http://www.tucows.com/preview/194554">Download Eyedropper</a> - <a rel="nofollow" href="http://www.nattyware.com/pixie.html">Download Pixie</a></p>
]]></content:encoded>
			<wfw:commentRss>http://stormdamage.org/using-eyedropper-to-select-a-hex-colour/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Floral Vector Shapes</title>
		<link>http://stormdamage.org/floral-vector-shapes/</link>
		<comments>http://stormdamage.org/floral-vector-shapes/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 15:46:20 +0000</pubDate>
		<dc:creator>Leonie</dc:creator>
		
		<category><![CDATA[Free Stuff]]></category>

		<category><![CDATA[floral]]></category>

		<category><![CDATA[flower]]></category>

		<category><![CDATA[free]]></category>

		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://stormdamage.org/?p=12</guid>
		<description><![CDATA[Here are some free vector florals, made by me, in .eps format. For use in all your personal, non-commercial projects. An easy way to add a touch of elegant sumptuousness!

]]></description>
			<content:encoded><![CDATA[<p>Here are some free vector florals, made by me, in .eps format. For use in all your personal, non-commercial projects. An easy way to add a touch of elegant sumptuousness!</p>
<p><a title="Free Floral Vectors" href="http://stormdamage.org/wp-content/uploads/2008/07/floral.eps" target="_self"><img class="aligncenter size-full wp-image-15" title="Floral Vectors" src="http://stormdamage.org/wp-content/uploads/2008/07/florals.gif" alt="" width="555" height="140" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://stormdamage.org/floral-vector-shapes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tooltips using CSS only, no Javascript</title>
		<link>http://stormdamage.org/tooltips-using-css-only-no-javascript/</link>
		<comments>http://stormdamage.org/tooltips-using-css-only-no-javascript/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 19:44:31 +0000</pubDate>
		<dc:creator>Leonie</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[tooltip]]></category>

		<guid isPermaLink="false">http://stormdamage.org/?p=10</guid>
		<description><![CDATA[Here’s a nice easy method for making link tooltips entirely in CSS, without any Javascript. For a demonstration of what I mean, hover over this link  This is a tooltip.  with your mouse.
To do this, you will need to create a class for the links which require tooltips, and a &#60;span&#62; within that [...]]]></description>
			<content:encoded><![CDATA[<p>Here’s a nice easy method for making link tooltips entirely in CSS, without any Javascript. For a demonstration of what I mean, <a class="tooltiplink" href="javascript:void;">hover over this link <span> This is a tooltip. </span></a> with your mouse.</p>
<p>To do this, you will need to create a class for the links which require tooltips, and a <strong>&lt;span&gt;</strong> within that link to include the tooltip text:</p>
<blockquote><p>&lt;a class=&#8221;tooltiplink&#8221; href=&#8221;#&#8221;&gt;this is a link&lt;span&gt; This is a tooltip&lt;/span&gt;&lt;/a&gt;</p></blockquote>
<p>I have put some spaces inside the tooltip span on both sides, so those with CSS turned off don’t view the link and tooltip text as being scrunched together.</p>
<p>Then add the following styling:<span id="more-10"></span></p>
<blockquote><p>a.tooltiplink span {display:none; }<br />
a.tooltiplink:hover span { display:inline; position:absolute; padding:5px; color:#0c0; background-color:#eee; border:1px solid #000; text-decoration:none; }</p></blockquote>
<p>The first line ensures the tooltip <strong>&lt;span&gt;</strong> is hidden, the second line reveals the <strong>&lt;span&gt;</strong> when the link is hovered over. It does this by switching the ‘display’ from ‘none’ to ‘inline’. The second line also adds some visual styling such as padding, text colour, background colour, and a border. Finally it adds ‘text-decoration:none’, so it does not inherit the underline from the link.</p>
<p>However, There is still a little tweak we need to apply to this CSS, as IE 6 has problems rendering the tooltips. This is easily fixed by adding a font-size to the hover:</p>
<blockquote><p>a.tooltiplink:hover { font-size:100%; } /* IE6 fix */</p></blockquote>
<p>I am not sure why this works, as setting the font-size shouldn’t make any difference at all. Suffice to say IE 6 is full of unique little quirks!</p>
<p>So there you have it, tooltips with no Javascript involved.</p>
<p><strong>EDIT:</strong> You can see some creative uses for trick this here - <a href="/uses-for-css-tooltips-images/">CSS tooltips and images</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stormdamage.org/tooltips-using-css-only-no-javascript/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bug Me Not</title>
		<link>http://stormdamage.org/bug-me-not/</link>
		<comments>http://stormdamage.org/bug-me-not/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 17:03:09 +0000</pubDate>
		<dc:creator>Leonie</dc:creator>
		
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://stormdamage.org/?p=11</guid>
		<description><![CDATA[Here&#8217;s something useful -  repository of logins and passwords for many different sites: www.bugmenot.com
It&#8217;s very handy for sites such as Stock Xchng (royalty free stock photos), Youtube, or the New York Times. Or really any site which tries to glean personal information for no real reason.
They also have a &#8216;disposable email&#8217; feature for creating [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s something useful -  repository of logins and passwords for many different sites: <a href="http://www.bugmenot.com/" rel="nofollow">www.bugmenot.com</a></p>
<p>It&#8217;s very handy for sites such as <a href="http://www.sxc.hu/" rel="nofollow">Stock Xchng</a> (royalty free stock photos), Youtube, or the New York Times. Or really any site which tries to glean personal information for no real reason.</p>
<p>They also have a &#8216;disposable email&#8217; feature for creating temporary email address. This enables you to sign up to sites you know will send you spam, without divulging your personal email address.</p>
]]></content:encoded>
			<wfw:commentRss>http://stormdamage.org/bug-me-not/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Two methods of replacing text with an image in CSS</title>
		<link>http://stormdamage.org/two-methods-of-replacing-text-with-an-image-in-css/</link>
		<comments>http://stormdamage.org/two-methods-of-replacing-text-with-an-image-in-css/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 15:54:50 +0000</pubDate>
		<dc:creator>Leonie</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://stormdamage.org/?p=8</guid>
		<description><![CDATA[This is something I get asked about from time to time. The aim is to have some text which is there in the code, but is hidden when viewing the page.
You may be wondering why replacing images with text could be useful. The reasons are twofold. The first reason is to improve your site&#8217;s SEO [...]]]></description>
			<content:encoded><![CDATA[<p>This is something I get asked about from time to time. The aim is to have some text which is there in the code, but is hidden when viewing the page.</p>
<p>You may be wondering why replacing images with text could be useful. The reasons are twofold. The first reason is to improve your site&#8217;s SEO (Search Engine Optimisation). Having a <strong>&lt;h1&gt;</strong> title makes it easier for spiders to correctly categorise your page, and a relevant and well-worded tag can improve the page&#8217;s ranking. However, for reasons of aesthetics, it&#8217;s often nicer to have an image as the header, perhaps with a unique font, or your company&#8217;s logo. Rather than have this potentially comprise your page rankings, it makes sense to use CSS as an easy way of having a nice looking page and good SEO.</p>
<p>The second reason is to enable accessibility, to maximise the amount of users who are able to make full use of your site. Pages which rely entirely on images for headers and menus are hard to navigate in text-only browsers. This may mean those with  screenreaders have difficulty accessing your content.<span id="more-8"></span></p>
<p>So how do we go about it? Making the text invisible on the background image with &#8216;display:none&#8217; would be counted as a potentially devious cloaking method by Google and penalised. This is because it attempts to entirely hide page content from the user. Instead there are two ways we can achieve it:</p>
<p>1. This method is the one I&#8217;ve seen most commonly used. Rather than hide the text, it places it far off the left hand side of the screen, where it cannot be seen (except by people with really really big monitors!). The title tag is then given the same dimensions as the image which will replace it:</p>
<blockquote><p>&lt;h1 id=&#8221;replace&#8221;&gt;The Title Goes Here&lt;/h1&gt;</p>
<p>#replace { text-indent: -9000px; background:url(title.gif) no-repeat; width:200px; height:100px; }</p></blockquote>
<p>I personally am not a big fan of this method, it seems like &#8216;dirty&#8217; CSS to me, putting a large negative indent on an element. Though it does seem to work in nearly all browsers with the exception of IE 5, though I understand there are some workarounds for this.</p>
<p>2. This next one is my favoured method, and the one I most commonly use. The thinking behind this one is to cover the text with an image inside an absolutely positioned <strong>&lt;span&gt;</strong>. Both the span and the title tag are given the same dimensions at the image, so they take up the same space on the page :</p>
<blockquote><p>&lt;h1 id=&#8221;replace&#8221;&gt;The Title Goes Here&lt;span&gt;&lt;/span&gt;&lt;/h1&gt;</p>
<p>#replace { position:relative; margin:0; padding:0; width:200px; height:100px; }<br />
#replace span { position:absolute; top:0; left:0; background:url(title.gif) no-repeat; width:200px; height:100px; }<br />
#replace, #replace span { width:200px; height:100px; }</p></blockquote>
<p>Because the image gets its absolute positioning from the parent element, when aligned to the top and left, it sits nicely over the text. However, there are a few slight problems with this in older versions of Opera, which can be solved simply by  adding a z-index to the span selector above:</p>
<blockquote><p>#replace span { position:absolute; display:block; top:0; left:0;<strong> </strong>z-index:1; }</p></blockquote>
<p>Of course the problem with both of these methods is that you don&#8217;t get to use the &#8216;alt&#8217; or &#8216;title&#8217; tags on your images (which is good SEO practise), but I think this is outweighed by the benefits of having relevant <strong>&lt;h1&gt;</strong> tags, which are more significant anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://stormdamage.org/two-methods-of-replacing-text-with-an-image-in-css/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
