<?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>Optimus Pete &#187; css</title>
	<atom:link href="http://tech.petegraham.co.uk/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.petegraham.co.uk</link>
	<description>yes i love technology</description>
	<lastBuildDate>Wed, 25 Aug 2010 10:06:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The 100% Easy-2-Read Standard (if you can find it)</title>
		<link>http://tech.petegraham.co.uk/2007/02/06/the-100-easy-2-read-standard-if-you-can-find-it/</link>
		<comments>http://tech.petegraham.co.uk/2007/02/06/the-100-easy-2-read-standard-if-you-can-find-it/#comments</comments>
		<pubDate>Tue, 06 Feb 2007 19:09:00 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/02/06/the-100-easy-2-read-standard-if-you-can-find-it/</guid>
		<description><![CDATA[I read a great Article on how to design websites so they&#8217;re easy to read and aesthetically pleasing yesterday on informationarchitects.jp. I was going to do a short post linking to the article and a few of their others I found especially good, however the article seems to have disappeared from their site! They obviously [...]]]></description>
			<content:encoded><![CDATA[<p>I read a great Article on how to design websites so they&#8217;re easy to read and aesthetically pleasing yesterday on <a target="_blank" href="http://www.informationarchitects.jp/">informationarchitects.jp</a>. I was going to do a short post linking to the article and a few of their others I found especially good, however the article seems to have disappeared from their site! They obviously haven&#8217;t heard <a target="_blank" href="http://www.w3.org/Provider/Style/URI">cool URI&#8217;s don&#8217;t change</a>. Thankfully I managed to grab myself a copy from the Google cache and have stuck it up <a href="http://tech.petegraham.co.uk/the-100-easy-2-read-standard/">here</a> for your viewing pleasure. Enjoy!</p>
<p>When I have time to start tweaking the CSS for this site I think I&#8217;ll increase the font sizes and alter a few of the colours. Currently the fonts haven&#8217;t been changed from the original <a href="http://www.themeporter.com/2007/01/01/binary-news-wordpress-theme/">Binary News theme</a> I used for the base of the design.<br />
# Pete Graham</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.petegraham.co.uk/2007/02/06/the-100-easy-2-read-standard-if-you-can-find-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS tips and articles</title>
		<link>http://tech.petegraham.co.uk/2007/02/01/css-tips-and-articles/</link>
		<comments>http://tech.petegraham.co.uk/2007/02/01/css-tips-and-articles/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 18:08:17 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Website Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/02/01/css-tips-and-articles/</guid>
		<description><![CDATA[I began teaching myself Cascading Style Sheets (CSS) in 2004 when I graduated from University and started work in website development. At the time it was difficult to find well written resources that thoroughly explained how various CSS techniques worked.
In the past few years, CSS adoption has increased dramatically. These days most high profile websites [...]]]></description>
			<content:encoded><![CDATA[<p>I began teaching myself Cascading Style Sheets (CSS) in 2004 when I graduated from University and started work in website development. At the time it was difficult to find well written resources that thoroughly explained how various CSS techniques worked.</p>
<p>In the past few years, CSS adoption has increased dramatically. These days most high profile websites use CSS rather than tables for their design. Although <a target="_blank" href="http://amazon.co.uk">amazon.co.uk</a> and <a target="_blank" href="http://news.bbc.co.uk">bbc news</a> still have partially table based layouts, naughty!</p>
<p>Thankfully they are now many excellent articles available on CSS. Yesterday while working my way though some bug fixes on <a target="_blank" href="http://phuser.com">phuser.com</a> I stumbled upon some brilliant ones that I hadn’t read before.</p>
<p>Emil Stenstrom has written an excellent article on how to <a target="_blank" href="http://friendlybit.com/css/cross-browser-strategies-for-css/">Cross-browser CSS</a> for your site. One tip I picked up is to start your CSS files with:</p>
<div class="igBar"><span id="lcss-3"><a href="#" onclick="javascript:showPlainTxt('css-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-3">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">* <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span>: <span style="color: #cc66cc;color:#800000;">0</span>; <span style="color: #000000; font-weight: bold;">padding</span>: <span style="color: #cc66cc;color:#800000;">0</span>; <span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>This will remove all default element stylings which can be a right pain in the @r$e when trying to get your site to render consistently cross browser. A clever little hack he suggests is the "star html" hack:</p>
<div class="igBar"><span id="lcss-4"><a href="#" onclick="javascript:showPlainTxt('css-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-4">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">* html <span style="color: #cc00cc;">#element <span style="color: #66cc66;">&#123;</span></span> code; <span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>This is valid CSS but only IE will apply "code" to "#element". I think its much cleaner than <a target="_blank" href="http://www.sitepoint.com/article/browser-specific-css-hacks">other browser hacks</a> I’ve seen. Many of his articles are well worth a read but I would especially recommend his guide on <a target="_blank" href="http://friendlybit.com/css/how-to-structure-large-css-files/">structuring large CSS files </a>. <a target="_blank" href="http://friendlybit.com/css/real-hackers-dont-use-css/">Real hackers don't use css</a> is more amusing than useful but still interesting.</p>
<p>For people wanting to learn more about CSS and web design techniques in general <a target="_blank" href="http://www.alistapart.com/">A List Apart</a> is well worth checking out. Also worth a mention is <a target="_blank" href="http://www.projectseven.com/tutorials/css/pvii_columns/index.htm">this fix</a> for the two columns with equal height layout, it uses Javascript instead of the normal background image fix.<br />
/* Pete Graham */</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.petegraham.co.uk/2007/02/01/css-tips-and-articles/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MultipleIEs Cookie Problem Solved</title>
		<link>http://tech.petegraham.co.uk/2007/01/31/multipleies-cookie-problem-solved/</link>
		<comments>http://tech.petegraham.co.uk/2007/01/31/multipleies-cookie-problem-solved/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 12:14:28 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Website Development]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/01/31/multipleies-cookie-problem-solved/</guid>
		<description><![CDATA[Last weekend I wrote about how to run IE6 and IE7 on the same computer. Now this technique was working very well until I needed to test some CSS modifications that I had made on the phuser interface in IE6. It was then I discovered the standalone version of IE6 has a problem with storing [...]]]></description>
			<content:encoded><![CDATA[<p>Last weekend I wrote about how to run <a href="http://tech.petegraham.co.uk/2007/01/27/run-ie6-and-ie7-on-the-same-computer/">IE6 and IE7 on the same computer</a>. Now this technique was working very well until I needed to test some CSS modifications that I had made on the <a href="http://phuser.com">phuser</a> interface in IE6. It was then I discovered the standalone version of IE6 has a problem with storing cookies, which (if you excuse the pun) renders it pretty useless for testing sites that require a login.</p>
<p>Thankfully I discovered that tredosoft.com have fixed this cookie problem, they offer a handy windows installer that will install IE3, IE4.01, IE5, IE5.5 and IE6. Wow image the hours and hours of fun you can have with all those different versions of Internet Explorer! Also it’s bound to really impress chicks that you’re running so many versions of IE on one PC, we all know chicks dig website development. So what are you waiting for <a target="_blank" href="http://tredosoft.com/Multiple_IE">download it now</a>!</p>
<p><a target="_blank" href="http://tech.petegraham.co.uk/wp-content/uploads/2007/01/multiple-ie-big.png"><img alt="6 versions of Internet Explorer" title="6 versions of Internet Explorer" src="http://tech.petegraham.co.uk/wp-content/uploads/2007/01/multiple-ie.png" /></a></p>
<p>Click the image above to see it in its full resolution glory!</p>
<p># Pete Graham</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.petegraham.co.uk/2007/01/31/multipleies-cookie-problem-solved/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IG Syntax Higliter CSS Width Fix for IE6</title>
		<link>http://tech.petegraham.co.uk/2007/01/27/ig-syntax-higliter-css-width-fix-for-ie6/</link>
		<comments>http://tech.petegraham.co.uk/2007/01/27/ig-syntax-higliter-css-width-fix-for-ie6/#comments</comments>
		<pubDate>Sat, 27 Jan 2007 18:46:03 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Website Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/01/27/ig-syntax-higliter-css-width-fix-for-ie6/</guid>
		<description><![CDATA[If you have a site with a narrow main content area like this blog then the IG Syntax Highliter plugin can break your layout in Internet Explorer 6. This problem can be easily solved by modfying the file syntax_hilite_css.css. Here is where this file is located:
your_blogs_dir/wp-content/plugins/ig_syntax_hilite/css/syntax_hilite_css.css
Below is the first change I've made aroud line 7, [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a site with a narrow main content area like this blog then the <a href="http://tech.petegraham.co.uk/2007/01/26/sytax-highlighting-a-go-go/">IG Syntax Highliter plugin</a> can break your layout in <a href="http://tech.petegraham.co.uk/2007/01/27/run-ie6-and-ie7-on-the-same-computer/">Internet Explorer 6</a>. This problem can be easily solved by modfying the file syntax_hilite_css.css. Here is where this file is located:</p>
<p>your_blogs_dir/wp-content/plugins/ig_syntax_hilite/css/syntax_hilite_css.css</p>
<p>Below is the first change I've made aroud line 7, I have commented out the original width and replaced it with a smaller one.</p>
<div class="igBar"><span id="lcss-7"><a href="#" onclick="javascript:showPlainTxt('css-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-7">
<div class="css">
<ol start="7">
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">.syntax_hilite <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">/*WIDTH: 500px*/</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">WIDTH: 450px</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>The second change required is around line 19, again I have commented out the original code.</p>
<div class="igBar"><span id="lcss-8"><a href="#" onclick="javascript:showPlainTxt('css-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-8">
<div class="css">
<ol start="19">
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #6666ff;">.igBar </span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">/*WIDTH: 511px*/</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">WIDTH: 461px</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Upload this file to your wordpress install and your site design should now render correctly. In this example I have reduced the width of the code box by 50 pixels you may want to alter yours by a different amount.</p>
<p>/* Pete Graham */</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.petegraham.co.uk/2007/01/27/ig-syntax-higliter-css-width-fix-for-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Curse you Internet Explorer!</title>
		<link>http://tech.petegraham.co.uk/2007/01/27/curse-you-internet-explorer/</link>
		<comments>http://tech.petegraham.co.uk/2007/01/27/curse-you-internet-explorer/#comments</comments>
		<pubDate>Sat, 27 Jan 2007 17:36:42 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/01/27/curse-you-internet-explorer/</guid>
		<description><![CDATA[I was pretty pleased with the code syntax highlighting plugin I installed yesterday, just before I was about to finish work I got the Blog up in IE6 Arrrggghhh! IE6 redenders the width of the main content column  smaller than Firefox and IE7, this causes the main content to be displayed below the content [...]]]></description>
			<content:encoded><![CDATA[<p>I was pretty pleased with the code <a href="http://tech.petegraham.co.uk/2007/01/26/sytax-highlighting-a-go-go/">syntax highlighting plugin</a> I installed yesterday, just before I was about to finish work I got the Blog up in IE6 Arrrggghhh! IE6 redenders the width of the main content column  smaller than Firefox and IE7, this causes the main content to be displayed below the content in the right sidebar, not good.</p>
<p>I think the fix is going to be fairly easy, I'll upload it here when I get it sorted.</p>
<p>I also installed the <a target="_blank" href="http://www.jonabad.com/livecalendar/">live calendar plugin</a> on my <a href="http://blog.petegraham.co.uk">Peteamania blog</a>, unfortunatley I've noticed that this plugin doesn't work correctly in IE7 (the hyperlinks never load). I don't think I can be bothered to fix this bug, although its a nifty little AJAX plugin it doesn't offer much improved functionality over the bog standard wordpress calendar.</p>
<p># Pete Graham</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.petegraham.co.uk/2007/01/27/curse-you-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blog Makeover</title>
		<link>http://tech.petegraham.co.uk/2007/01/12/blog-makeover/</link>
		<comments>http://tech.petegraham.co.uk/2007/01/12/blog-makeover/#comments</comments>
		<pubDate>Fri, 12 Jan 2007 18:15:05 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/01/12/blog-makeover/</guid>
		<description><![CDATA[I have updated this blog to use my modified version of the Binary News wordpress theme, hope you like it. This will be an intermediate look for the blog until I have time to write my own CSS, I thought it would be a good idea to move away from the default wordpress theme.
Ultimately I [...]]]></description>
			<content:encoded><![CDATA[<p>I have updated this blog to use my modified version of the Binary News wordpress theme, hope you like it. This will be an intermediate look for the blog until I have time to write my own CSS, I thought it would be a good idea to move away from the default wordpress theme.</p>
<p>Ultimately I want all parts of the petegraham.co.uk to have the same layout but different header banners, I would like to have a unifying colour scheme with variations for each sub-domain. One step at a time though..</p>
<p>/* Pete Graham */</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.petegraham.co.uk/2007/01/12/blog-makeover/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix For Binary News WordPress Theme</title>
		<link>http://tech.petegraham.co.uk/2007/01/12/fix-for-binary-news-wordpress-theme/</link>
		<comments>http://tech.petegraham.co.uk/2007/01/12/fix-for-binary-news-wordpress-theme/#comments</comments>
		<pubDate>Fri, 12 Jan 2007 17:03:06 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tech.petegraham.co.uk/2007/01/12/fix-for-binary-news-wordpress-theme/</guid>
		<description><![CDATA[As Phevans suggested there was a problem with the widths on the columns. I have modified the style.css file, click here to download it. I also noticed that the paragraph spacing is a bit odd (you get the same width between paragraphs that you get between lines) so I have modified that too.
To install this [...]]]></description>
			<content:encoded><![CDATA[<p>As <a href="http://tech.petegraham.co.uk/2007/01/11/wordpress-themes-binary-bad-news/">Phevans suggested</a> there was a problem with the widths on the columns. I have modified the style.css file, <a href="http://tech.petegraham.co.uk/wp-content/uploads/2007/01/style.css">click here</a> to download it. I also noticed that the paragraph spacing is a bit odd (you get the same width between paragraphs that you get between lines) so I have modified that too.<br />
To install this file you will need to place it in: your_wordpress_directory/wp-content/themes/binary-news-10</p>
<p>I have not changed this blogs theme to Binary News yet as I'm adding some further modifications to the css.</p>
<p># Pete Graham</p>
<p><!-- Pete Graham --></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.petegraham.co.uk/2007/01/12/fix-for-binary-news-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

