<?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>graphiceyedea &#187; handcoding</title>
	<atom:link href="http://graphiceyedea.co.uk/wp/category/handcoding/feed/" rel="self" type="application/rss+xml" />
	<link>http://graphiceyedea.co.uk/wp</link>
	<description>prisca schmarsow - portfolio</description>
	<lastBuildDate>Sat, 20 Aug 2011 10:48:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>customising google forms</title>
		<link>http://graphiceyedea.co.uk/wp/customising-google-forms/</link>
		<comments>http://graphiceyedea.co.uk/wp/customising-google-forms/#comments</comments>
		<pubDate>Tue, 25 May 2010 23:54:55 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[handcoding]]></category>
		<category><![CDATA[form]]></category>

		<guid isPermaLink="false">http://graphiceyedea.co.uk/wp/?p=1676</guid>
		<description><![CDATA[Finally :) figured out to customise the brilliant Google forms, including custom redirects and data validation via jQuery. This is a step-by-step tutorial on how setup the form using Google docs and then integrate it into your site.]]></description>
			<content:encoded><![CDATA[<p>Forms&#8230; well, we all know what a pain they can be to get right, to keep accessible and secure and to style nicely. With the continued expansion of Google apps and their brilliant record in regards to spam filtering &#8211; I was very happy to find the forms making an appearance in the google docs :)</p>
<p><img src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/googledocs.jpg" alt="" title="googledocs" width="460" height="27" class="alignnone size-full wp-image-1771" /></p>
<p><span id="more-1676"></span><br />
Unfortunately, one issue with using these is the look and feedback on errors and confirmation. The default styling is just ugly and the themes available are&#8230; well, not great. The only theme I liked is the &#8216;magazine&#8217; theme which is clean and simple. But despite the decent look of the form itself &#8211; the confirmation page is stuck in google&#8217;s default blues and over overall styling. So I decided to go on the hunt for a better solution. Here follows my custom solution &#8211; taking lead from various sources (as listed below).</p>
<h4>setting up the form</h4>
<p>Before I start talking about the steps required to embed the google form into your site &#8211; a quick intro to setting up the form itself using google docs:</p>
<ol>
<li>to use any of the google docs &#8211; you will need to have a google account. Once logged into your gmail account &#8211; you can then access these via the link at the very top of your page:<img class="alignnone size-full wp-image-1679" title="1-googledocs" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/1-googledocs.jpg" alt="" width="460" height="68" /></li>
<li><img class="floatright" style="width: 193px; height: 290px; float: right; margin: 0 0 10px 10px;" title="2-form" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/2-form.jpg" alt="" width="193" height="290" /> once you have accessed the google documents &#8211; you can create a new form by choosing it from the dropdown menu, as shown here.
<p style="margin: 1em 0 0 0;">Note the spreadsheet option here &#8211; all data submitted to the form will be saved in the spreadsheet created automatically. You will not need to create this yourself &#8211; it will be done automatically as soon as your new form is setup and ready.</p>
<p>Thought I have a hate for spreadsheets &#8211; I am coming around to seeing their potential here. All data is easily accessible in one place.</li>
<li>once you clicked the &#8216;create new &#8211; form&#8217; &#8211; you will be taken to a new window, ready to start putting your form together. There are 2 sample fields setup for you &#8211; the first one in editing mode, ready for you to customise.<br />
<a rel="lightbox[form]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/3-editform.jpg"><img class="alignnone size-full wp-image-1697" title="3-editform-sm" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/3-editform-sm.jpg" alt="" width="460" height="226" /></a><br />
There are various form filed types available for you to select from and you can choose which fields are to be set as required information.<a rel="lightbox[form]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/3-editmore.jpg"><img class="alignnone size-full wp-image-1700" title="3-editmore-sm" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/3-editmore-sm.jpg" alt="" width="460" height="214" /></a><br />
Once you have completed your form &#8211; you can choose from the number of themes available for styling. You will have the options of previewing the themes before applying them to your form by simply clicking on the thumbnail image.<a rel="lightbox[form]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/3-themes.jpg"><img class="alignnone size-full wp-image-1703" title="3-themes-sm" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/3-themes-sm.jpg" alt="" width="460" height="143" /></a>The options are limited but are being added to over time. I would think that these are great for a quick and easy form used for any suitable purpose. The ease of use and application of the themes is excellent and do have their uses.</p>
<p>There are a few nicely designed themes available by now but personally, I&#8217;m not too impressed overall. And as a designer creating a specific site &#8211; you will of course want to customise the design of the form to fit the site which will be covered in the following steps.</li>
<li>with the form fields in place and a suitable theme applied &#8211; you are almost ready to use the form. Keeping the form editing window open (if you like, ready for further edits if need be) &#8211; return to the google docs window where you will find a new spreadsheet for your form already ready for you:<img class="alignnone size-full wp-image-1707" title="4-spreadsheet" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/4-spreadsheet.jpg" alt="" width="460" height="120" /><br />
click on the title to view the spreadsheet and to configure the necessary settings for data validation and notification.<br />
<a rel="lightbox[form]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/4-settings.jpg"><img class="alignnone size-full wp-image-1709" title="4-settings-sm" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/4-settings-sm.jpg" alt="" width="460" height="211" /></a></li>
<li>once you have your form completed and all settings in place &#8211; you can use it by simply forwarding the link to your users/clients. All form submissions will be saved in the corresponding spreadsheet in Google docs. Easy :)</li>
</ol>
<h4>embedding the form</h4>
<p>To get this form embedded into your site &#8211; there are several issues to consider. Google forms hosted on Google make use of all Google&#8217;s goodness in regards to security, processing and confirmation of form submission. You can simply leave the form where it is, hosted with Google &#8211; and use the embed option available to use it on your site. This option via the embed code will use an iFrame to show the form on your site, using the theme you applied. Though this is perfectly fine and works very well &#8211; you will not have access to the actual styling of your form &#8211; or be able to set up your own confirmation page (not as far as I can figure out anyway).</p>
<p>This was the dilemma I set out to solve. I am not keen on iFrames for various reasons and really wanted to control not only over the styling but also the confirmation page. Going around the houses a bit, asking several people who know much more than me about forms and so on &#8211; it seemed impossible to solve. But I could not stick with this setup and finally managed to figure it out, thanks to various online articles and my better understanding of jQuery after the <a href="http://graphiceyedea.co.uk/wp/jquery-for-designers/">workshop with Remy</a> :)<br />
I will be using a questionnnaire I setup for my future webstudents as example (<a href="http://webeyedea.info/questionnaire/">view live form</a>) and I hope the following steps will be useful to help you along &#8211; if you notice any errors or have any better suggestions, please do leave a comment :)</p>
<ol>
<li><strong style="font-weight:bold;">get the final source code.</strong><br />
view your completed form in the browser and get the source code. Paste the code into your webpage, making sure you take the entire form code. You can place the form into your main div or simply on the page itself, all other elements such as your menu, sidebar or footer can be added accordingly.</p>
<p>You will notice that there is a lot of extras in the source code &#8211; not all of which you actually need, such as the embedded CSS or the favicon.<br />
<a rel="lightbox[embedform]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/embed-1-code.jpg"><img class="alignnone size-full wp-image-1718" title="embed-1-code-sm" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/embed-1-code-sm.jpg" alt="" width="460" height="71" /></a><br />
Do make sure to make sure to check carefully that you take the code for the entire form and add in the link to your own CSS as required.</li>
<li><strong style="font-weight:bold;">redirecting to custom confirmation page.</strong><br />
To redirect your user to your own custom confirmation page after form submission &#8211; use a hidden iFrame and some Javascript. Place the code below at the bottom of your code, right before the closing body tag and add in the path to your custom confirmation page in the &#8216;onload&#8217; details:<br />
<strong style="display: block; width:500px; margin: 10px 0;padding: 10px; background: none repeat scroll 0% 0% #bfc193; font-family: monospace; font-weight: bold; color: #00079b; font-size: 1.1em; line-height: 1.5;">&#60;!&#8211; validate &#8211;&#62;<br />
&#60;script&#62;var submitted=false;&#60;/script&#62;<br />
&#60;!&#8211; redirect &#8211;&#62;<br />
&#60;iframe name=&#8221;hidden_iframe&#8221; id=&#8221;hidden_iframe&#8221; style=&#8221;display:none;&#8221; onload=&#8221;if(submitted){window.location=&#8217;path/to/custompage.html&#8217;;}&#8221;&#62;<br />
&#60;/iframe&#62;<br />
</strong><br />
You will need to add the new target (iFrame) to your opening form tag as well as the &#8216;onsubmit&#8217; attribute:<br />
<strong style="display: block; width:500px; margin: 10px 0;padding: 10px; background: none repeat scroll 0% 0% #bfc193; font-family: monospace; font-weight: bold; color: #00079b; font-size: 1.1em; line-height: 1.5;">&#60;form action=&#8221;https://spreadsheets.google.com/formResponse?formkey=###&#8221; method=&#8221;post&#8221; target=&#8221;hidden_iframe&#8221; onsubmit=&#8221;submitted=true;&#8221; id=&#8221;ss-form&#8221;&#62;</strong>
</li>
<li><strong style="font-weight:bold;">validating via jQuery.</strong><br />
As Google from validation is embedded into the hosted solution only &#8211; you will need to add your own for your custom form. There is an excellent plugin for jQuery available which fits the purpose perfectly :) Download the <a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery plugin: Validation</a> by Jörn Zaefferer and copy the &#8216;jquery.validate.js&#8217; file into your site&#8217;s directory.<br />
To activate the plugin &#8211; add the following code below the redirection code at the very bottom of your page: first the link to the latest version of jQuery on the google CDN (as recommended by Remy &#8211; <a href="http://graphiceyedea.co.uk/wp/jquery-for-designers/">read more on this in my last post</a>), followed by the link to the jQuery plugin and then the activation:<br />
<strong style="display: block; width:500px; margin: 10px 0;padding: 10px; background: none repeat scroll 0% 0% #bfc193; font-family: monospace; font-weight: bold; color: #00079b; font-size: 1.1em; line-height: 1.5;">&#60;!&#8211;JQUERY&#8211;&#62;<br />
&#60;script src=&#8221;http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js&#8221;&#62;<br />
&#60;/script&#62;<br />
&#60;script src=&#8221;path/to/jquery.validate.js&#8221;&#62;&#60;/script&#62;<br />
&#60;script&#62;<br />
$(function() {<br />
$(&#8220;#questionnaire&#8221;).validate({meta: &#8220;validate&#8221;});<br />
});<br />
&#60;/script&#62;<br />
&#60;!&#8211;END OF JQUERY&#8211;&#62;<br />
</strong><br />
Note the ID called &#8216;questionnaire&#8217; here. You will need to add this ID to your form tag (replacing the existing ID found in the original code).<br />
<strong style="display: block; width:500px; margin: 10px 0;padding: 10px; background: none repeat scroll 0% 0% #bfc193; font-family: monospace; font-weight: bold; color: #00079b; font-size: 1.1em; line-height: 1.5;">&#60;form action=&#8221;https://spreadsheets.google.com/formResponse?formkey=###&#8221; method=&#8221;post&#8221; target=&#8221;hidden_iframe&#8221; onsubmit=&#8221;submitted=true;&#8221; id=&#8221;questionnaire&#8221;&#62;</strong><br />
As last step to validate the fields (in addition to checking for a properly formed email address) you will need to manually add in the class &#8216;required&#8217; to your required fields. The email field needs to have an additional class of &#8216;email&#8217; for proper validation.<br />
Any error messages will use the title attribute, added to the input tag of the required form fields, as shown below.<br />
<strong style="display: block; width:500px; margin: 10px 0;padding: 10px; background: none repeat scroll 0% 0% #bfc193; font-family: monospace; font-weight: bold; color: #00079b; font-size: 1.1em; line-height: 1.5;">&#60;input type=&#8221;text&#8221; name=&#8221;entry.1.single&#8221; value=&#8221;" class=&#8221;required email&#8221; id=&#8221;entry_1&#8243; title=&#8221;&#10007; Please enter a valid email address&#8221; &#62;</strong><br />
Finally, don&#8217;t forget to style your error messages to complete your styling and make your form look seemlessly integrated into your site.<br />
<a rel="lightbox[embedform]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/finalform.jpg"><img src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/05/finalform-full-sm.jpg" alt="" title="finalform-full-sm" width="460" height="368" class="alignnone size-full wp-image-1756" /></a>
</li>
</ol>
<p>And you&#8217;re done &#8211; ready to upload and test, test, test :)</p>
<p>One drawback of this approach is clearly the reliance on enabled Javascript &#8211; so do keep this in mind when using this technique. Still hunting for a solution which does not have this requirement.</p>
<h4>useful links</h4>
<p>just a few links to give credit ~ thanks for helping me along :)</p>
<ul>
<li><a href="http://www.morningcopy.com.au/category/tutorials/google-forms-tutorials/">tutorials by Morning Copy</a><br />
a huge thanks to Dillon, very useful reading ~ though I found some of the steps a little confusing &#8211; I learnt a lot :)</li>
<li><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery plugin: Validation</a> by Jörn Zaefferer [<a href="http://bassistance.de/">bassistance.de</a>]<br />
homepage of the validation plugin </li>
<li><a href="http://docs.jquery.com/Plugins/Validation">jQuery Validation plugin article</a> on jquery.com<br />
documentation of the validation plugin
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/customising-google-forms/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>my top 3 online browser testing tools</title>
		<link>http://graphiceyedea.co.uk/wp/my-top-3-online-browser-testing-tools/</link>
		<comments>http://graphiceyedea.co.uk/wp/my-top-3-online-browser-testing-tools/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 22:38:37 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[handcoding]]></category>

		<guid isPermaLink="false">http://graphiceyedea.co.uk/wp/?p=1494</guid>
		<description><![CDATA[Browser testing is one of the most commonly performed tasks by any webdesigner and developer. Without access to a full test suite - it is the online tools which come to the rescue to test websites on various platforms and different browsers.]]></description>
			<content:encoded><![CDATA[<p>Everyone has their favourite browser &#8211; be it the default installed on the home computer or one of the newer and more modern browsers like Firefox. As webdesigners &#8211; we have no influence over how our sites will be accessed (no matter how much we wish we had&#8230;). And of course, we work towards ensuring our sites not only work across all required browsers but also look professional. We have no choice but to take into consideration the different viewing platforms. This could be any of the different browsers on a desktop or laptop computer, or one of the mobile browsers and now also other browsers found on games platforms. In addition &#8211; the screensize, resolution and functionality needs to be planned for as well.<br />
<img class="alignnone size-full wp-image-1522" title="browser-col" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/01/browser-col.jpg" alt="" width="460" height="122" /><span id="more-1494"></span><br />
When it comes to the browsers however, luckily, there are tools available which will allow you to monitor various aspects of your website&#8217;s traffic, such as the number of visitors, pages viewed as well as which applications are accessing your site. Usually, you can find these statistics via your hosting package — or you can use free tools such as <a href="http://www.google.com/analytics" target="_blank">Google Analytics</a>, as shown in the screenshot below.</p>
<p><img class="alignnone size-full wp-image-1530" title="browsers-thn" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/01/browsers-thn3.jpg" alt="" width="460" height="251" /></p>
<p>Ideally, we&#8217;d all like to have a full test suite available &#8211; but this might not always be possible. This is where the online options for browser testing come to the rescue. There are quite a few options out there and it will be worth your time to check out what&#8217;s available (see the articles listed below for links and more info). Personally,  I&#8217;ve now settled on the ones listed below so here are my top 3 online browser testing tools.</p>
<ol>
<li><a href="http://browsershots.org/"><img class="alignnone size-full wp-image-1501" title="browsershots" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/01/browsershots.jpg" alt="" width="460" height="80" />bowser shots</a><br />
One of the oldest free services around &#8211; browsershots allows you to select from a vast list of browsers and browser versions and then presents screenshots of your site in those browsers. During busy times this process can take a few minutes but usually you will be able to view the first screenshots very quickly.</li>
<li><a href="https://browserlab.adobe.com"><img class="alignnone size-full wp-image-1506" title="browserlab" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/01/browserlab.jpg" alt="" width="460" height="80" />Adobe Browserlab</a><br />
Adobe offers their own version of a browser testing suite &#8211; you will need to sign up for an Adobe ID first and sign in (same as for <a href="http://kuler.adobe.com">Kuler</a>, the colour theme generator). Browserlab offers a list of browsers and different viewing modes which make it easy to find and identify discrepancies. Best of all &#8211; the results are shown in real time which make this one of the most effective tools around.</li>
<li><a href="http://meineipadresse.de/netrenderer/"><img class="alignnone size-full wp-image-1508" title="netrenderer" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2010/01/netrenderer.jpg" alt="" width="460" height="80" />IE NetRenderer</a><br />
A utility reserved for the sole purpose of testing your website in the dreaded IE, very fast in delivery of screenshots.</li>
</ol>
<p>These are of course my personal choices with many more available. So here are a few useful articles which will point you elsewhere:</p>
<ul>
<li><a href="http://www.quirksmode.org/blog/archives/browsers/index.html">browsers</a> on quirksmode.org<br />
PPK&#8217;s famous site, amazing amount of in depth information of various browser bugs</li>
<li><a href="http://www.sitepoint.com/blogs/2009/03/17/building-the-best-browser-test-suite/">How to Build the Best Browser Test Suite</a> on sitepoint.com<br />
good article covering online tools as well as discussing how to install multiple versions of browsers</li>
<li><a href="http://www.smashingmagazine.com/2007/10/02/browser-tests-services-and-compatibility-test-suites/">Browser Tests, Services and Compatibility Test Suites</a> on smashingmagazine.com<br />
excellent article discussing useful tools to work towards cross-browser compatibility</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/my-top-3-online-browser-testing-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>standards.next—HTML5</title>
		<link>http://graphiceyedea.co.uk/wp/standards-next%e2%80%94html5/</link>
		<comments>http://graphiceyedea.co.uk/wp/standards-next%e2%80%94html5/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 12:09:04 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[handcoding]]></category>

		<guid isPermaLink="false">http://graphiceyedea.co.uk/wp/?p=1334</guid>
		<description><![CDATA["Presented by Bruce Lawson (Opera Software ASA). A pragmatic look at HTML 5 by experimenting with converting a real site to HTML 5 - how does it work? Where it useful and where is it annoying? How is support in current browsers?"]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago &#8211; I went to the <a href="http://standards-next.org/">standards.next</a> meetup which was absolutely fantastic :) The event was organised by <a href="http://www.brucelawson.co.uk/">Bruce Lawson</a> and <a href="http://www.iheni.com/">Henny Swan</a>, who evangelise Open Web Standards for Opera. It was one of the best geek meetups I&#8217;ve been to in ages&#8230; I couldn&#8217;t believe how great the speakers were and how much solid information was shared&#8230; I learnt a ton and really enjoyed it.</p>
<p>I had intended to write this post straight after the event and sum up a few bits of content. Unfortunately I&#8217;d been so busy that I did not have the time. So rather than delaying this further I&#8217;d like to show you a clip of Bruce Lawson and his talk on HTML5 instead.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="281" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=5810449&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=c9ff23&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="500" height="281" src="http://vimeo.com/moogaloop.swf?clip_id=5810449&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=7c8902&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://vimeo.com/5810449">Bruce Lawson from Opera: The HTML 5 Experiments</a> from <a href="http://vimeo.com/user447755">Sigurd Magnusson</a> on <a href="http://vimeo.com">Vimeo</a>.<br />
Bruce Lawson from Opera talks at O&#8217;Reilly&#8217;s <a href="http://en.oreilly.com/oscon2009/public/schedule/detail/8856">OSCON 2009</a> conference about HTML 5.</p>
<p>&#8220;Presented by Bruce Lawson (Opera Software ASA). A pragmatic look at HTML 5 by experimenting with converting a real site to HTML 5 &#8211; how does it work? Where it useful and where is it annoying? How is support in current browsers?&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/standards-next%e2%80%94html5/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>css switch (php only)</title>
		<link>http://graphiceyedea.co.uk/wp/css-switch-php-only/</link>
		<comments>http://graphiceyedea.co.uk/wp/css-switch-php-only/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 19:16:13 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[handcoding]]></category>

		<guid isPermaLink="false">http://graphiceyedea.co.uk/wp/?p=1315</guid>
		<description><![CDATA[my demo of a style sheet switcher using PHP alone, rather than burdening the user machine - this approach leaves the execution to the server. Keeping things simple :)]]></description>
			<content:encoded><![CDATA[<p><img class="floatright" title="mainvis" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2009/06/mainvis.png" alt="mainvis" width="120" height="214" />Personally, I am very fond of Style Sheet Switchers (I&#8217;ve been meaning to put one on this site for ages now, oh to have more hours in the day! I will find the time &#8211; one day). For me &#8211; they add a certain playful touch to the site if done creatively. They are however much more important functions to consider so a style sheet switch function is not only a little bit of eye candy or simply a superficial feature but can also add to the accessibility of a website. It is good to offer an alternative colour scheme which would switch the page from light coloured text on a dark background to a dark coloured text on a light background, for example. <span id="more-1315"></span></p>
<p>With a lot of different options and techniques out there I would still favour a simple switch using only PHP.  This will work reliably with or without enabled Javascript. I&#8217;ve put together a demo which also includes the steps and code snippets.</p>
<p><a href="http://dev.eyedea.eu/samples/styleswitch-php/">» view tutorial &amp; demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/css-switch-php-only/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>the right/light lightbox</title>
		<link>http://graphiceyedea.co.uk/wp/the-rightlight-lightbox/</link>
		<comments>http://graphiceyedea.co.uk/wp/the-rightlight-lightbox/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 21:48:12 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[handcoding]]></category>

		<guid isPermaLink="false">http://graphiceyedea.co.uk/wp/?p=947</guid>
		<description><![CDATA[The lightbox presentation becoming a popular and often requested feature - here is a look at the options out there and a personal sample.]]></description>
			<content:encoded><![CDATA[<p>Looking for a suitable script for the popular lightbox presentation to show my web students &#8211; I went online to do some research and was quite taken back with the number of different techniques now used.  With <a href="http://jquery.com/" target="_blank">jQuery</a> being such a light and apparently designer-friendly script &#8211; it was no surprise to find it in use extensively. I came across this great post: <a href="http://blog.insicdesigns.com/2009/01/10-promising-jquery-lighbox-plugin/" target="_blank">10+ promising jQuery Lightbox-Clones Plugins</a> by <a href="http://blog.insicdesigns.com" target="_blank">insicDesigns</a>. This list shows various different techniques and makes for interesting experimenting :)<br />
<span id="more-947"></span></p>
<p>If you want to have a play around yourself &#8211; please do refer to the original sources for specifics. You will also need the jQuery JavaScript library itself,  or link to it. You can download the latest version from the <a href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.1.min.js" target="_blank">Google code library</a>.</p>
<p><strong style="display:block;font-size:1.3em;font-weight:bold;margin:0 0 2px 0;">FancyZoom</strong><br />
Initially the FancyZoom by <a href="http://orderedlist.com" target="_blank">orderedlist</a> looked excellent &#8211; a very quick response and simple presentation. The <a href="http://orderedlist.com/demos/fancy-zoom-jquery/" target="_blank">demo</a> works very smoothly and for a limited amount of images &#8211; this technique can be suitable. FancyZoom works by referencing IDs between the link and the chosen content within a container with the same ID. This essentially means that all content will have to be put into the HTML itself.<br />
<strong style="display:block;padding:10px;background:#bfc193;font-family:monospace;font-weight:bold;color:#00079b;font-size:1.1em;line-height:1.5"><em style="color:#069;">&lt;div class=&#8221;photo&#8221;&gt;</em><br />
&nbsp;&nbsp;&lt;a href=&#8221;#beach1&#8243;&gt;<br />
<em style="color:#333;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;img src=&#8221;images/beach1.jpg&#8221; alt=&#8221;beach photo&#8221; /&gt;</em><br />
&nbsp;&nbsp;&lt;/a&gt;<br />
<em style="color:#069;">&lt;/div&gt;</em><br />
</strong></p>
<p>The ID referred to in the link is then referenced to the ID assigned to the DIV containing the content to be zoomed.<br />
<strong style="display:block;padding:10px;background:#bfc193;font-family:monospace;font-weight:bold;color:#00079b;font-size:1.1em;line-height:1.5"><em style="color:#069;">&lt;div id=&#8221;beach1&#8243;&gt;</em><br />
<em style="color:#333;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;img src=&#8221;images/beach1.jpg&#8221; alt=&#8221;beach photo&#8221; /&gt;</em><br />
<em style="color:#069;">&lt;/div&gt;</em><br />
</strong><br />
This can of course add weight to the page, in case of the CSS or JS failing &#8211; in which case all images will appear on the page &#8211; and add to the amount of code in the HTML document itself. In cases where only very few images are on display &#8211; this technique can work well.</p>
<p><strong style="display:block;font-size:1.3em;font-weight:bold;margin:0 0 2px 0;">FaceBox</strong><br />
Looking for an alternative which would not required the extra DIVs for zoomed content &#8211; I found <a href="http://famspam.com/facebox" target="_blank">FaceBox</a>. This technique can be used to show images, text or even another HTML file. The use for an image gallery here allows for multiple images as no added HTML is needed. Once the JS function is active &#8211; the image get loaded on demand.<br />
<strong style="display:block;padding:10px;background:#bfc193;font-family:monospace;font-weight:bold;color:#00079b;font-size:1.1em;line-height:1.5">&nbsp;&lt;a href=&#8221;beach1.jpg&#8221; rel=&#8221;facebox&#8221;&gt;<br />
<em style="color:#333;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;img src=&#8221;images/beach1_thn.jpg&#8221; alt=&#8221;beach photo&#8221; /&gt;</em><br />
&nbsp;&lt;/a&gt;<br />
</strong><br />
Much cleaner in its application &#8211; these options are very useful indeed :-)</p>
<p><strong style="display:block;font-size:1.3em;font-weight:bold;margin:0 0 2px 0;">jQuery lightBox </strong><br />
My favourite however still remains based on the original <a href="http://www.huddletogether.com/projects/lightbox2/" target="_blank">LightBox JS</a> by Lokesh Dhakar. Now faster and just as customisable as the original &#8211; the <a href="http://leandrovieira.com/projects/jquery/lightbox/" target="_blank">new version</a> is using jQuery, written by Leandro Vieira Pinho.<br />
This lightbox plugin allows you to assign the presentation effect to an ID assigned to the DIV containing the image links. The styling of presentation and visuals is highly flexible and great to work with.<br />
<strong style="display:block;padding:10px;background:#bfc193;font-family:monospace;font-weight:bold;color:#00079b;font-size:1.1em;line-height:1.5"><em style="color:#069;">&lt;style type=&#8221;text/javascript&#8221;&gt;</em><br />
<em style="color:#333;"><code>$(function() {<br />
        $('#photos a').lightBox();<br />
    });</code></em><br />
<em style="color:#069;">&lt;/style&gt;</em><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/the-rightlight-lightbox/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Styling blockquotes</title>
		<link>http://graphiceyedea.co.uk/wp/styling-blockquotes/</link>
		<comments>http://graphiceyedea.co.uk/wp/styling-blockquotes/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 21:12:39 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[handcoding]]></category>

		<guid isPermaLink="false">http://graphiceyedea.co.uk/wp/?p=885</guid>
		<description><![CDATA[Getting your quotes right ;) a quick look at tags to use, techniques to add the quotation marks - and a lovely quote by Jeffrey Zeldman.]]></description>
			<content:encoded><![CDATA[<p>For ages now I&#8217;ve been meaning to write up a brief tutorial on styling quotes. There are many articles out there, many great resources which talk of the different ways of styling quotes &#8211; worth a read. My aim here is to give you a bit of info on handling this popular typographical feature, hoping to inspire you to give quotes the attention they deserve.</p>
<p>let&#8217;s take this quote from one of my favourite web gurus<br />
(as published on <a href="http://twitter.com/zeldman/status/804159148" target="_blank">Twitter</a>, 5/5/08):</p>
<blockquote style="margin: 20px 20px 50px; padding: 0pt 20px; display: block; width: 300px; font-size: 1.4em; color: #952000; font-family: Georgia,Times,serif;"><p>Jeffrey Zeldman<br />
<cite style="font-family: Lucida, Helvetica, sans-serif; display: block; color: #4b1101; font-size:1.2em; line-height: 1.2em;"><span style="display: block;	float: left;	font-size: 3em;	 font-family: Times New Roman, Times, serif;	color: #952000;	margin: 22px 0 0 -30px;}">“</span><span style="margin: 1.8em 0 0 0;	display: block;	float: right;	font-size: 3em;	font-family: Times New Roman, Times, serif;	color: #952000;">”</span><br />
Content precedes design. Design in the absence of content is not design, it&#8217;s decoration.<br />
</cite></p></blockquote>
<p><span id="more-885"></span>A quick list of the tags you can use:</p>
<ul>
<li><strong style="font-family:monospace;font-weight:bold;color:#00079b;font-size:1.4em;">&lt;blockquote&gt;  &lt;/blockquote&gt;</strong><br />
used for long quotations &#8211; a default margin is applied, the unstyled font appears in italic.<br />
<a href="http://www.w3.org/TR/html401/struct/text.html#h-9.2.2http://www.w3.org/TR/html401/struct/text.html#h-9.2.2" target="_blank">—w3c—</a></li>
<li><strong style="font-family:monospace;font-weight:bold;color:#00079b;font-size:1.4em;">&lt;q&gt;&lt;/q&gt;</strong><br />
used for short inline quotations which do not require a line break.<a href="http://www.w3.org/TR/html401/struct/text.html#h-9.2.2http://www.w3.org/TR/html401/struct/text.html#h-9.2.2" target="_blank"><br />
</a><a href="http://www.w3.org/TR/html401/struct/text.html#h-9.2.2http://www.w3.org/TR/html401/struct/text.html#h-9.2.2" target="_blank">—w3c—</a><a href="http://www.w3.org/TR/html401/struct/text.html#h-9.2.2http://www.w3.org/TR/html401/struct/text.html#h-9.2.2" target="_blank"><br />
</a></li>
<li><strong style="font-family:monospace;font-weight:bold;color:#00079b;font-size:1.4em;">&lt;cite&gt;&lt;/cite&gt;</strong><br />
used to define a citation<br />
<a href="http://www.w3schools.com/tags/tag_phrase_elements.asp" target="_blank">—w3c—</a><br />
(I&#8217;m referring to the HTML tag here, NOT the blockquote attribute)</li>
</ul>
<p>To show the quotation marks around the quote &#8211; you can use generated content, ie use CSS to add the quotation marks for you. This is a somewhat debated technique which is nonetheless very useful but is unfortunately not supported by all browsers. I will not go into this technique here as it is not widely used yet (though I have started using it for several projects myself) &#8211; please refer to the <a href="http://www.w3schools.com/CSS/CSS_reference.asp#generatedcontent" target="_blank">W3C for further information</a>.</p>
<p>The other method of adding the quotations marks is to use the HTML entities, surrounded by the span tag. Make sure to pay close attention to the correct entities here &#8211; and do not mistake the apostrophe or a double, single quote for the appropriate quotation marks.<br />
&amp; for your reference here are the quotation entities:</p>
<p><strong style="font-family:monospace;font-weight:bold;color:#00079b;font-size:1.4em;">&amp;ldquo;</strong> — left double quotation mark (“)<br />
<strong style="font-family:monospace;font-weight:bold;color:#00079b;font-size:1.4em;">&amp;rdquo; </strong>— right double quotation mark (<acronym title="For Example"></acronym>”)<br />
<strong style="font-family:monospace;font-weight:bold;color:#00079b;font-size:1.4em;">&amp;lsquo; </strong>— left single quotation mark (<acronym title="For Example"></acronym>‘)<br />
<strong style="font-family:monospace;font-weight:bold;color:#00079b;font-size:1.4em;">&amp;rsquo; </strong>— right single quotation mark (<acronym title="For Example"></acronym>’)<br />
<strong style="font-family:monospace;font-weight:bold;color:#00079b;font-size:1.4em;">&amp;quot; </strong>— straight quotation mark (<acronym title="For Example"></acronym>&#8220;)</p>
<p>Another option is to create the quotation marks as graphics and add them as background images to the quote. I will go more into detail another time &#8211; for now &#8211; please <a href="http://graphiceyedea.co.uk/samples/styling-quotes/" target="_blank">take a look at my sample file</a>.</p>
<p style="font-style:italic;">PS: I had planned a much longer write up for this &#8211; but alas, time is not on my side and I will need to leave it there for now. I will however return to this post and elaborate on the details soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/styling-blockquotes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CSS Edit &#8211; a coder&#8217;s joy :)</title>
		<link>http://graphiceyedea.co.uk/wp/css-edit-a-coders-joy/</link>
		<comments>http://graphiceyedea.co.uk/wp/css-edit-a-coders-joy/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 19:00:08 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[handcoding]]></category>

		<guid isPermaLink="false">http://graphiceyedea.co.uk/wp/?p=588</guid>
		<description><![CDATA[If you're lucky and just now starting to learn CSS - you do have some great tools to help you along. Here is a quick intro to one of the best coding apps out there - CSS Edit.]]></description>
			<content:encoded><![CDATA[<p>If you are lucky enough to start learning webdesign at the moment &#8211; ideally on a mac &#8211; then you do have the perfect tools at your fingertips. The <a href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_blank">&#8216;Web Developer&#8217; toolbar</a> (Firefox extension by Chris Pederick) alone can be a great help to learning about page elements, their positioning and properties.</p>
<p><img class="floatright" title="CSS Edit application icon" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/cssedit.jpg" alt="" width="176" height="auto" /> One of the best applications out there however must be <a href="http://macrabbit.com/cssedit/" target="_blank">MacRabbit&#8217;s CSS Edit</a>. Unfortunately for mac only &#8211; this code editor can make learning CSS a little bit easier. Luckily there is now an alternative for you PC users &#8211; <a href="http://www.blumentals.net/rapidcss/" target="_blank">Rapid CSS</a>.<br />
I will focus on CSS Edit here as it&#8217;s one of my favourite apps ;) CSS Edit colour codes and tidies up your code &#8211; it allows instant preview of applied rules &#8211; and even enables you to override the CSS of any given site.</p>
<p>To get you started a quick introduction to its features&#8230; <span id="more-588"></span></p>
<p>Let&#8217;s assume we have the following HTML file at hand, ready to be styled. To open the file as preview in CSS Edit &#8211; simply launch the application. By default you will see an empty CSS file opened automatically. Click the &#8216;Preview&#8217; button at the top to add your HTML file to the preview window (see screenshot below):<br />
<a title="HTML sample code" rel="lightbox[css]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/html-sample.png"><img class="floatleft thn100" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/html-sample.png" alt="screenshot of HTML code" /></a> <a title="HTML sample code as viewed in browser without styling" rel="lightbox[css]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/browser-sample1.png"><img class="floatleft thn100" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/browser-sample1.png" alt="screenshot of HTML code" /></a> <a title="HTML sample code as viewed in browser without styling" rel="lightbox[css]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap0.png"><img class="floatleft thn100" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap0.png" alt="screenshot of HTML code" /></a><br class="clear" /><br />
Ideally you should set yourself up to view both the code and the preview windows together, next to each other or within easy access. Depending on the monitor size of the computer you are working on, of course &#8211; this can be quite tricky. But keeping both windows nex to each other and easy to access will greatly speed up your workflow.<br />
<a title="reset reloaded CSS applied" rel="lightbox[css]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap1.png"><img  class="floatleft thn" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap1.png" alt="screenshot of reset reloaded CSS applied"  /></a> <br />This screenshot shows both views: the CSS code to the left (including only Eric Meyer&#8217;s &#8216;reset reloaded&#8217; so far) and the preview on the right.<br class="clear" /><br />
As you will see &#8211; adding new rules to your CSS file now will show you an immediate preview in thew preview window:<br />
<a title="code editing window and options" rel="lightbox[css]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap2.png"><img  class="floatleft thn" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap2.png" alt="screenshot of code editing window"  /></a><br /> the instant preview :) one of the most intuitive parts of your learning process.<br class="clear" /><br />
The coding window in CSS Edit has several differet views and functions &#8211; allowing you to use a visual editor which lists properties for you to edit, or to work with the source code alone &#8211; and even combine the two. Though the visual editor can be useful while you are learning &#8211; it can also be a distraction from the code itself. I would recommend to use the course view alone and focus on writing your CSS rules yourself. You will get a better understanding and become much more confident in your coding if you write it all yourself &#8211; CSS Edit does work with you, suggesting and completing your code as you type.<br />
<a title="source view in the code editing window" rel="lightbox[css]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap3.png"><img  class="floatleft thn" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap3.png" alt="screenshot of source view in the code editing window"  /></a><a title="source view with code suggestion drop down" rel="lightbox[css]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap6.png"><img  class="floatleft thn" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap6.png" alt="screenshot of code suggestion"  /></a><br class="clear" /><a title="source view with validation popup, indicating error" rel="lightbox[css]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap4.png"><img  class="floatleft thn" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap4.png" alt="screenshot of source view with validation popup, indicating error"  /></a><br /> It will be important to ensure that your code is correct and valid &#8211; so to help you troubleshoot your css &#8211;  CSS Edit&#8217;s validation function will give pointers to your errors.<br class="clear" /><br />
One of the most powerful features is yet to come &#8211; the X-ray and the inspector. These 2 buttons change the preview window and allow you to put your code under the magnifying glass, showing you in detail which effect your CSS rules have on your layout as well as display clearly any page element&#8217;s place in the hierarchy of your HTML code.<br />
<a title="preview window using X-ray and Inspector functions" rel="lightbox[css]" href="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap5.png"><img  class="floatleft thn" src="http://graphiceyedea.co.uk/wp/wp-content/uploads/2008/09/csseditsnap5.png" alt="screenshot of preview window using X-ray and Inspector functions"  /></a><br /> The X-ray function can be useful in many ways &#8211; do take your time to explore. You can select the page elements by clicking within the preview itself &#8211; or clicking on an element&#8217;s selector within the list shown and see it highlighted within the preview.<br />
<br class="clear" /><br />
I hope this has given you a brief look into the brilliant functions which CSS Edit gives you &#8211; the perfect learning tool which has become my favourite CSS editor very soon after my first test run. Reading this post through now &#8211; I noticed I might sound a bit like a sales person here, sorry if I did&#8230;. I hope you know by now that I do not write which I don&#8217;t believe. So if it sounded like a sales pitch &#8211; then it&#8217;s a compliment to the development team behind this application :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/css-edit-a-coders-joy/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>how to fix your site for IE</title>
		<link>http://graphiceyedea.co.uk/wp/how-to-fix-your-site-for-ie/</link>
		<comments>http://graphiceyedea.co.uk/wp/how-to-fix-your-site-for-ie/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 20:20:00 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[IE thoughts]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[handcoding]]></category>

		<guid isPermaLink="false">http://www.graphiceyedea.co.uk/wp/?p=242</guid>
		<description><![CDATA[While you are new to handcoding &#8211; you will inevitably write CSS code which IE just messes up&#8230; :&#8221;( In this moment you&#8217;d probably like to have a little IE voodoo doll to stick pins into&#8230;. :) But don&#8217;t worry &#8211; the more you work with the code &#8211; the more you will understand how [...]]]></description>
			<content:encoded><![CDATA[<p><img class="floatright relative" src="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2008/01/ie_vodoo.jpg" alt="ie - voodoo doll" />While you are new to handcoding &#8211; you will inevitably write CSS code which IE just messes up&#8230; :&#8221;( In this moment you&#8217;d probably like to have a little <a href="http://chisa.deviantart.com/art/tutorial-IE-voodoo-doll-65352093" target="_blank">IE voodoo doll</a> to stick pins into&#8230;. :)</p>
<p>But don&#8217;t worry &#8211; the more you work with the code &#8211; the more you will understand how to structure your HTML and CSS better, avoiding most if not all IE hacks. And hopefully with IE8 &#8211; if we&#8217;re lucky enough &#8211; we will have a better version yet&#8230;<br />
This post is merely a resources collection &#8211; to give you a few links to articles, resources and utitlities&#8230; <span id="more-242"></span></p>
<p>the oddities of IE highlighted:</p>
<ul>
<li><a href="http://www.positioniseverything.net/explorer.html" target="_blank">positioniseverything &#8211; Explorer Exposed!</a><br />
<em>&#8220;These CSS bugs are all found only in Internet Explorer, versions 5 and higher.  To see the demos properly, they must be viewed in IE, of course.&#8221;</em></li>
<li><a href="http://positioniseverything.net/explorer/expandingboxbug.html" target="_blank">positioniseverything &#8211; expanding box problem</a><br />
<em>&#8220;It&#8217;s an unfortunate fact that Internet Explorer will always incorrectly expand any dimensionally restricted block element so that oversize content is unable to overflow, as the specs require that content to do.&#8221;</em></li>
<li><a href="http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug" target="_blank">wiki &#8211; Internet Explorer box model bug</a><br />
<em>&#8220;The Internet Explorer box model bug is one of the best-known software bugs in a popular implementation of Cascading Style Sheets (CSS). It affects CSS-aware versions of Microsoft&#8217;s Internet Explorer Web browser for Windows up to version six.&#8221;</em></li>
<li> <a href="http://www.quirksmode.org/css/contents.html" target="_blank">quirksmode &#8211; CSS contents and browser compatibility</a><br />
<em>- compatibility chart </em></li>
<li><a href="http://blogs.msdn.com/ie/default.aspx" target="_blank">microsoft &#8211; IE blog</a><br />
<em>- Mircosoft&#8217;s blog on any news concerning IE </em></li>
</ul>
<p>various hacks and techniques to fight the IE bugs:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/CSS_filter" target="_blank">wiki &#8211; CSS filter</a><br />
<em>&#8220;A CSS Filter is a coding technique used to hide or show CSS markup depending on the browser&#8217;s brand and/or version number. Browsers have different interpretations of CSS behavior and different levels of support for the W3C standards.&#8221;</em></li>
<li><a href="http://tantek.com/CSS/Examples/boxmodelhack.html" target="_blank">tantek&#8217;s box model hack</a><br />
<em>the famous box model hack &#8211; to fix the bug for IE 5/5.5 </em></li>
<li><a title="Permalink to The Ultimate IE Hack Guide" href="http://cavemonkey50.com/2005/12/the-ultimate-ie-hack-guide/" target="_blank">cavemonkey &#8211; The Ultimate IE Hack Guide</a><br />
<em>&#8220;You&#8217;ve designed the perfect website. You&#8217;re checking it in all browsers. Firefox &#8211; check, Safari &#8211; check, Opera &#8211; check, Internet Explorer &#8211; ah, am I looking at a website? We&#8217;ve all been there.&#8221;</em></li>
<li><a href="http://kickasswebdesign.com/wordpress/2007/03/hacks-for-various-flavors-of-ie/" target="_blank">kickasswebdesign &#8211; Hacks in various flavours</a><br />
<em>&#8220;There&#8217;s an article on the Front End about a new parsing bug that was introduced in <a href="http://frontend.blogsome.com/2007/01/23/the-flispide-of-star-html/" target="_blank">IE7</a> that now allows us to target in ONE stylesheet the different IE versions.&#8221;</em></li>
<li><a href="http://www.glish.com/css/home.asp">glish &#8211; LAYOUT TECHNIQUES: hacks</a><br />
<em>&#8220;If you are trying to do pixel-perfect cross-browser CSS layout, you will often run into problems with IE5x PC because it radically mis-implements the box model as prescribed by the W3C. There are several workarounds for this problem, not the least of which is to simply not design with pixel precision in mind. But assuming you just have to get it pixel-perfect, no way around it, well here are a couple of workarounds that can help you&#8230;&#8221;</em></li>
<li><a href="http://www.webcredible.co.uk/user-friendly-resources/css/hacks-browser-detection.shtml">webcredible &#8211; CSS hacks &#038; browser detection</a><br />
<em>&#8220;The way browser detection using CSS hacks works is to send one CSS rule to the browser(s) you&#8217;re trying to trick, and then send a second CSS rule to the other browsers, overriding this first command. If you have two CSS rules with identical selectors then the second CSS rule will always take precedence.&#8221;</em></li>
</ul>
<p>[image © *<a href="http://chisa.deviantart.com/" target="_blank">chisa</a>, found on <a href="http://deviantart.com/" target="_blank">deviantart.com</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/how-to-fix-your-site-for-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>clever rollovers</title>
		<link>http://graphiceyedea.co.uk/wp/clever-rollovers/</link>
		<comments>http://graphiceyedea.co.uk/wp/clever-rollovers/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 16:44:03 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[handcoding]]></category>

		<guid isPermaLink="false">http://www.graphiceyedea.co.uk/wp/?p=231</guid>
		<description><![CDATA[Spending time on your menu styling will be time well worth spent. Though going over the top with link enhancement will be more distracting than helpful &#8211; making good use of icons, graphic symbols and other small additional visuals can create a richer user experience &#8211; adding a touch of style and character. Using CSS [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2007/10/sprites.gif" alt="sprite" class="floatright" />Spending time on your menu styling will be time well worth spent. Though going over the top with link enhancement will be more distracting than helpful &#8211; making good use of icons, graphic symbols and other small additional visuals can create a richer user experience &#8211; adding a touch of style and character.<br />
Using CSS &#8211; you can use background images to add visual effects to your links &#8211; here is a quick step-by-step to take you through one example of a so-called &#8216;sprite rollover&#8217;, as in the <a href="http://graphiceyedea.info/experiments/css/ul_sprite_rollovers/" target="_blank">example here</a>.<br />
<span id="more-231"></span></p>
<p>The main advantage of a sprite rollover is the more effective loading of the rollover visuals and therefore a faster response. It is possible to set up an image rollover by merely changing the image if used as a background image for a link. Creating separate image files for each state of the link would allow you swap the images via CSS for the <em>a:hover</em> and <em>a:active</em>. This set up loads in the image only when needed &#8211; and on first page view &#8211; will require some loading time when a rollover is activated.</p>
<p>The sprite setup in comparison works by shifting the position of 1 single image file for the rollover effect. This means that the image is loaded with the page and is ready for display on rollover &#8211; without requiring any extra loading time.</p>
<ol>
<li>create and optimise the graphic<br />
as the image will include all different stages of the rollover effect &#8211; create a suitable image file. My example here shows 2 stages &#8211; one image for the link as shown for<em> a:link</em> and <em>a:visited</em> and one image for the rollover, ie for <em>a:hover</em> and <em>a:active</em>.<br />
<a href="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2007/10/sprite1.jpg" rel="lightbox[sprite]"><img src="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2007/10/sprite1.jpg" alt="sprite screenshot" class="floatleft thn100 " /></a><br />
Make sure to align all images perfectly within your required area. The example file is setup as 40px in width and 120px in height. The height of an additional 40px is added to create extra space which might be required when text is resized.<br />
Once you are finished &#8211; save your graphic optimised for your site.<br />
As the image will be applied as background image &#8211; you can choose to save as PNG if necessary. All modern browsers will be fine but you will need an additional style sheet for IE6 replacing your PNG with its GIF version. So you should always save one of each (1 PNG and 1 GIF) at this stage.<br />
<a href="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2007/10/sprite2.jpg" rel="lightbox[sprite]"><img src="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2007/10/sprite2.jpg" alt="sprite 2" class="floatleft thn100 " /></a></li>
<li>with your new sprite image saved into your site&#8217;s image folder &#8211; go back to your coding program and edit your site.<br />
My example here uses a simple fixed width layout with a left side menu &#8211; <a href="http://graphiceyedea.info/experiments/css/ul_sprite_rollovers/" target="_blank">view sample</a>.<br />
The rollover links here are displayed within an unordered list. To achieve the desired rollover effect &#8211; you need to make use of the default behaviour of the link element. By targeting the link itself &#8211; you can control more than the mere static appearance of the links. Using CSS and the <em>&#8216;background-position&#8217;</em> rule &#8211; you can control which part of your graphic is visible.<br />
<a href="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2007/10/sprite3.jpg" rel="lightbox[sprite]"><img src="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2007/10/sprite3.jpg" alt="sprite3" class="floatleft thn100 " /></a><br />
When using the <em>&#8216;background-position&#8217;</em> you can specify 2 values &#8211; the first being the horizontal shift, the second the vertical positioning  &#8211; you can use both positive and negative values.</li>
</ol>
<p><br class="clear" /><br />
The actual values you will need to use for this technique to work will of course depend on your design and overall layout. To practice this for now &#8211; please feel free to <a href="http://graphiceyedea.info/experiments/css/ul_sprite_rollovers/sprite.zip">download the file</a> used in my sample.<br />
have fun experimenting ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/clever-rollovers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>forms baving badly&#8230;</title>
		<link>http://graphiceyedea.co.uk/wp/forms-baving-badly/</link>
		<comments>http://graphiceyedea.co.uk/wp/forms-baving-badly/#comments</comments>
		<pubDate>Thu, 17 May 2007 19:29:25 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[handcoding]]></category>
		<category><![CDATA[tips & tricks]]></category>

		<guid isPermaLink="false">http://www.graphiceyedea.co.uk/wp/?p=191</guid>
		<description><![CDATA[Being &#8220;a visual type&#8221; &#8211; as Eric Meyer puts it &#8211; and handcoding my webpages as much to the web standards as possible for my overloaded brain to cope with &#8211; I&#8217;ve come to love CSS as it&#8217;s a great techniques to work with. On a positive note &#8211; it allows us to fight the [...]]]></description>
			<content:encoded><![CDATA[<p>Being &#8220;a visual type&#8221; &#8211; as Eric Meyer puts it &#8211; and handcoding my webpages as much to the web standards as possible for my overloaded brain to cope with &#8211; I&#8217;ve come to love CSS as it&#8217;s a great techniques to work with. On a positive note &#8211; it allows us to fight the browsers and &#8211; with a few battles here and there, a few cups of coffee later &#8211; achieve a nicely grafted layout which reflects our design concept. Great.</p>
<p>Then, there comes the contact page, blog comments or generally any page using any type of form. And out goes the joy and visual continuity of CSS styling&#8230;. :&#8221;(<span id="more-191"></span></p>
<p>When I first started using CSS &#8211; learning from the masters out there &#8211; I found forms to be the biggest stumbling block in my understanding of the rules and their application. What started to make sense &#8211; no longer did when it came to the form elements&#8230; Eventually, of course, reading enough posts, tutorials and reference material &#8211; I realised that it would be a hopeless endeavour to try to understand&#8230; So you learn to cope, not ideal but the best you can do, right? ;)</p>
<p>To take one of my current projects as an example &#8211; while the site is being built the domain shows a holding page with contact form: <a href="http://organikrocka.com">http://organikrocka.com</a>. The look and feel of the site is textured, warm cardboard brown with black. As the current page is intended to give a flavour of the final site &#8211; just the thought of styling the form brought on a headache, already getting frustrated in anticipation of the obvious problems &#8211; and unfortunately the end result is somewhat unresolved&#8230;<br />
I tried several different approaches in the CSS, even experimented with changing the design and feel of the page itself to tie in the form elements &#8211; and in the end resorted to using <a href="http://www.brainerror.net/scripts_js_checkbox.php" target="_blank">Javascript</a> to replace the now rather ugly, misaligned and at times distorted appearance of the check box.</p>
<p>The screenshot below shows the final solution with Javascript replaced checkbox &#8211; and below the check box appearances in different broswers after my endless CSS edits &#8211; or how the check boxes would look with Javascript disabled. And in this case it was not even the standard check box visual itself which turned out to be the biggest pain in the ***** (pain in the brain!). Applying styling to the form resulted in a very inconsistent display of the box itself across different browsers. I just couldn&#8217;t get it to look right&#8230; :&#8221;(</p>
<p><a href="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2007/05/fullform.jpg" rel="lightbox[or]"><img src="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2007/05/samplecheck.jpg" alt="screenshots of the checkbox in different browsers" /></a></p>
<p>So I finally did replace the standard checkbox with a graphic I created, with Javascript. I usually don&#8217;t edit the form elements in this way, I do care about usability and accessibility and am aware that this is not fully compliant. In an attempt to remain within the realms of usability and the familiarity with the commonly known check box &#8211;  my graphic still shows the small, square, white box, only as flat graphic to suit the overall visuals and with some additional purely decorative elements. It is not ideal and though the form still looks very different in the different browsers &#8211; at least its layout is now even.</p>
<p>Following Eric&#8217;s posts on <a href="http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/" target="_blank">resetting styles</a> and particularly reading his recent post on &#8216;<a href="http://meyerweb.com/eric/thoughts/2007/05/15/formal-weirdness/" target="_blank">formal weirdness</a>&#8216; &#8211; the strange results for any styling applied to forms are slowly starting to make more sense. I&#8217;m a big fan of the universal resetting of margin and padding &#8211; it gives me back control over my layouts (apart from &#8211; IE what else :&#8221;(&#8230;.). The universal reset is great &#8211; short and sweet and just works &#8211; well, apart from forms&#8230; of course :&#8221;(  But I don&#8217;t really like the idea of the big chunk of code preceeding my CSS either, merely to accomodate the form pages. So I thought I would most likely stick with it and try to compensate for the forms within my CSS where needed.</p>
<p>Reading about the &#8216;<a href="http://meyerweb.com/eric/thoughts/2007/05/15/formal-weirdness/" target="_blank">formal weirdness</a>&#8216; however&#8230; I think I&#8217;ll have to reconsider my opinion and change my working methods after all &#8211; thanks, Eric&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/forms-baving-badly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

