<?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>Abstract Sequential &#187; code</title>
	<atom:link href="http://stephaniehobson.ca/wordpress/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://stephaniehobson.ca/wordpress</link>
	<description>You make it pretty - I make it work.</description>
	<lastBuildDate>Thu, 03 Jun 2010 18:23:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Maintaining your CSS helps maintain your site</title>
		<link>http://stephaniehobson.ca/wordpress/2009/12/10/maintaining-css-help-maintain-site/</link>
		<comments>http://stephaniehobson.ca/wordpress/2009/12/10/maintaining-css-help-maintain-site/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 20:02:44 +0000</pubDate>
		<dc:creator>Stephanie</dc:creator>
				<category><![CDATA[webdesign]]></category>
		<category><![CDATA[bcit]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://stephaniehobson.ca/wordpress/?p=112</guid>
		<description><![CDATA[Rather than doing one giant redesign and launch, at BCIT, we&#8217;ve been doing small updates for a while now.
Take our footer for example, [...]]]></description>
			<content:encoded><![CDATA[<p>Rather than doing one giant redesign and launch, at BCIT, we&#8217;ve been doing small updates for a while now.</p>
<p>Take our footer for example, I got to update all of them using the CSS a few times and then we decided we wanted to mix up the HTML. Templates and applications were updated with the new code in phases. There were a few different ways the CSS for this could have been managed but I chose to have the old code co-exist with the new in the same style sheet and differentiated the two with IDs (let&#8217;s say I called them #footer and #fatfooter). </p>
<p>We&#8217;ve phased in #fatfooter slowly across the 46ish templates, 3 CMSs, and only Brandon knows how many applications with their own code that make up our website.</p>
<p>We should be done now and, unintentionally, I made it easy for us to check. A quick search of the server for id=&#8221;footer&#8221; turned up all the stragglers.</p>
<p>Some of the stragglers had been neglected for a while and turned out to need more than just a new footer&#8230;</p>
<p>So what&#8217;s languishing in your code that you can delete?</p>
]]></content:encoded>
			<wfw:commentRss>http://stephaniehobson.ca/wordpress/2009/12/10/maintaining-css-help-maintain-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS bug in IE 6 with: .class a:hover element</title>
		<link>http://stephaniehobson.ca/wordpress/2007/12/19/css-bug-in-ie-6-with-class-ahover-element/</link>
		<comments>http://stephaniehobson.ca/wordpress/2007/12/19/css-bug-in-ie-6-with-class-ahover-element/#comments</comments>
		<pubDate>Wed, 19 Dec 2007 22:49:05 +0000</pubDate>
		<dc:creator>Stephanie</dc:creator>
				<category><![CDATA[webdesign]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ie]]></category>

		<guid isPermaLink="false">http://stephaniehobson.ca/2007/12/19/css-bug-in-ie-6-with-class-ahover-element/</guid>
		<description><![CDATA[This bug seems to apply to styling elements under a class or id within a link on hover.  Stuff like .class a:hover [...]]]></description>
			<content:encoded><![CDATA[<p>This bug seems to apply to styling elements under a class or id within a link on hover.  Stuff like <code>.class a:hover span{}</code> or <code>#id a:hover strong{}</code>.  The solution is to define a property on the parent link <code>.class a:hover{}</code> that hasn&#8217;t been declared anywhere else in your CSS, like a text indent of 0 or something.</p>
<p>All the work for the solution was done by <a href="http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp">Tanfa, who wrote an article on IE Pure CSS Pop Ups Bug</a>, I just thought it was worth mentioning that this bug can be generalized to more than the CSS menus.</p>
<p>Here&#8217;s what happened to me:</p>
<p>I had some text inside a link, and I wanted some of it to do one thing when rolled over and some of it to do something else.  I marked it up like this:</p>
<p><code>&lt;div class="promo"&gt;<br />
&lt;h3&gt;News&lt;/h3&gt;<br />
&lt;a href="link.html"&gt;IE has lots of bugs &lt;strong&gt;read more&lt;/strong&gt;.&lt;/a&gt;<br />
&lt;/div&gt;</code></p>
<p>It&#8217;s sort of a solution to the fact that &#8220;read more&#8221; makes bad link text.  Bad.  And I don&#8217;t write the copy.</p>
<p>Then I tried to style it with something like this:</p>
<p><code>/*default link behaviour*/<br />
a{<br />
text-decoration:none;<br />
color:#8ec3e2;<br />
}<br />
a:visited{<br />
color:#6d80a8;<br />
}<br />
a:hover{<br />
color:#c1fcff;<br />
}<br />
</code><br />
<code><br />
/* overrides for this element */<br />
.promo a{<br />
color:#000;<br />
}<br />
.promo a:hover{<br />
color:#000;<br />
}<br />
.promo a strong,<br />
.promo a:visited strong{<br />
color:#8ec3e2;<br />
display:block;<br />
}<br />
.promo a:hover strong{<br />
color:#c1fcff;<br />
}</code></p>
<p>Which did exactly what I wanted it to do&#8230; in FireFox but in IE 6 the hover was not displaying properly.  After a little tinkering the IE bug alarm bells started going off in the back of my head and Google provided <a href="http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp">Tanfa&#8217;s article on IE Pure CSS Pop Ups Bug</a> in response to my query.</p>
<p>I added float:none to my declaration for <code>.promo a:hover{}</code> and all is now well :)</p>
<p><code>.promo a:hover{<br />
color:#000;<br />
}</code></p>
<p>Thank you Tanfa!</p>
]]></content:encoded>
			<wfw:commentRss>http://stephaniehobson.ca/wordpress/2007/12/19/css-bug-in-ie-6-with-class-ahover-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching for an answer</title>
		<link>http://stephaniehobson.ca/wordpress/2007/06/29/searching-for-an-answer/</link>
		<comments>http://stephaniehobson.ca/wordpress/2007/06/29/searching-for-an-answer/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 01:02:09 +0000</pubDate>
		<dc:creator>Stephanie</dc:creator>
				<category><![CDATA[webdesign]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://stephaniehobson.ca/?p=33</guid>
		<description><![CDATA[Has anyone else noticed a bunch of really old HTML coding tutorials at the top of their search results when searching for answers [...]]]></description>
			<content:encoded><![CDATA[<p>Has anyone else noticed a bunch of really old HTML coding tutorials at the top of their search results when searching for answers to HTML coding questions lately?</p>
<p>I was trying to find out if legend was a required tag in fieldset and I got a tutorial that said not to use legend because Netscape 4 doesn&#8217;t support it yet but should soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://stephaniehobson.ca/wordpress/2007/06/29/searching-for-an-answer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Styling Our Style Sheets</title>
		<link>http://stephaniehobson.ca/wordpress/2007/04/23/styling-our-style-sheets/</link>
		<comments>http://stephaniehobson.ca/wordpress/2007/04/23/styling-our-style-sheets/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 21:15:26 +0000</pubDate>
		<dc:creator>Stephanie</dc:creator>
				<category><![CDATA[webdesign]]></category>
		<category><![CDATA[bcit]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[guidelines]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[nervous]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://stephaniehobson.ca/?p=17</guid>
		<description><![CDATA[I&#8217;ve been wanting to seriously redo some of the HTML and CSS behind the BCIT site since I came on board here almost [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wanting to seriously redo some of the HTML and CSS behind the <a href="http://bcit.ca">BCIT</a> site since I came on board here almost a year ago.</p>
<p>Well, I get my wish.  We&#8217;re going to take some baby steps towards semantic HTML and CSS (<a href="http://tantek.com/log/2007/04.html#d20t0823">POSH</a> if you like) and despite my aversion to being in charge, I&#8217;m leading the project.</p>
<p>As a first step I&#8217;m trying to write a CSS coding style guide.  I can&#8217;t necessarily clean up the current mess but I can try to stop any new ones from being made ;)</p>
<p>What I want to do is develop guidelines for:</p>
<ul>
<li>if and how style definitions should be divided between multiple style sheets</li>
<li>what order style definitions should be listed in (I currently put all my tag definitions at the top of documents and then place my id and class definitions beneath them in the order they&#8217;re anticipated to appear on the page)</li>
<li>naming conventions for ids and classes</li>
<li>commenting conventions</li>
<li>what order properties should be arranged within definitions</li>
<li>if and when we should use shorthand properties</li>
<li>formatting guidelines</li>
</ul>
<p>So far my research has turned up very few examples to help me with the development.  <a href="http://bitworking.org/news/CSS_Coding_Style">This somewhat out dated post</a> is the best I&#8217;ve found so far.  Part of my problem is that searching for a style guide for CSS is just coming up with guides to styling with CSS.</p>
<p>Do you work with a CSS coding style guide or know any good resources for developing one?</p>
]]></content:encoded>
			<wfw:commentRss>http://stephaniehobson.ca/wordpress/2007/04/23/styling-our-style-sheets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t judge me on my code</title>
		<link>http://stephaniehobson.ca/wordpress/2007/04/23/dont-judge-me-on-my-code/</link>
		<comments>http://stephaniehobson.ca/wordpress/2007/04/23/dont-judge-me-on-my-code/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 19:25:43 +0000</pubDate>
		<dc:creator>Stephanie</dc:creator>
				<category><![CDATA[webdesign]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[metablogging]]></category>
		<category><![CDATA[web standards]]></category>

		<guid isPermaLink="false">http://stephaniehobson.ca/?p=18</guid>
		<description><![CDATA[Just like the current BCIT site&#8217;s code is horrible thanks to our restrictive CMS I&#8217;m not happy with my current blog theme, please [...]]]></description>
			<content:encoded><![CDATA[<p>Just like the current <a href="http://bcit.ca">BCIT</a> site&#8217;s code is horrible thanks to our restrictive CMS I&#8217;m not happy with my current blog theme, please don&#8217;t judge me on it.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephaniehobson.ca/wordpress/2007/04/23/dont-judge-me-on-my-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Striving for excellence</title>
		<link>http://stephaniehobson.ca/wordpress/2007/03/30/striving-for-excellence/</link>
		<comments>http://stephaniehobson.ca/wordpress/2007/03/30/striving-for-excellence/#comments</comments>
		<pubDate>Fri, 30 Mar 2007 19:51:10 +0000</pubDate>
		<dc:creator>Stephanie</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[accomplishment]]></category>
		<category><![CDATA[bcit]]></category>
		<category><![CDATA[big picture]]></category>
		<category><![CDATA[career]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[HOPE]]></category>
		<category><![CDATA[microformats]]></category>
		<category><![CDATA[podcasts]]></category>
		<category><![CDATA[self-taught]]></category>
		<category><![CDATA[sociology]]></category>

		<guid isPermaLink="false">http://stephaniehobson.ca/?p=12</guid>
		<description><![CDATA[I just finished my first micoformatted page!  When I was writing the information page for HOPE&#8217;s spring dinners I coded all the [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished my first micoformatted page!  When I was writing the information page for <a href="http://hope-international.com/fundraising/07_springdinners.html" target="_blank">HOPE&#8217;s spring dinners</a> I coded all the dinners as events and the organizers as hcards :)  I did work with Brandon to re-do the <a href="http://www.bcit.ca/contacts" target="_blank">BCIT Contacts</a> application to use microformats but he did most of the coding on that project.  This is the first time I&#8217;ve done it myself.</p>
<p>I didn&#8217;t actually tell anyone at HOPE that I&#8217;d done it that way since it doesn&#8217;t effect the way the page looks and I figure they&#8217;ll discover it for themselves if it&#8217;s useful to them.  However, my friend thinks I should tell them so they recognize just how good a job I&#8217;m doing for them.</p>
<p>I don&#8217;t really feel like I did anything other than my job.  Isn&#8217;t it my job to do a good job?</p>
<p>In the last two weeks of February, <a href="http://www.cbc.ca/ideas/">CBC&#8217;s <em>IDEAS</em></a> aired a couple programs on the ideas of Richard Sennett, a sociologist and author who has studied the organization of work.  Among other things he suggests the Western world is obsessed not with the idea of craftsmanship but with productivity.  In other words: it doesn&#8217;t matter how well you do you job &#8211; just how quickly.</p>
<p>The speaker at my graduation ceremony spoke at length encouraging us to &#8220;<quote>strive for excellence</quote>&#8221; in everything we do.  Not just in the work we do but also in our interactions as part of our daily lives.  From answering a client&#8217;s e-mail to cooking dinner, he urged us to do our best.</p>
<p>Is doing a good job something society has to be told to do now?</p>
]]></content:encoded>
			<wfw:commentRss>http://stephaniehobson.ca/wordpress/2007/03/30/striving-for-excellence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Something new today</title>
		<link>http://stephaniehobson.ca/wordpress/2007/03/25/something-new-today/</link>
		<comments>http://stephaniehobson.ca/wordpress/2007/03/25/something-new-today/#comments</comments>
		<pubDate>Sun, 25 Mar 2007 20:20:32 +0000</pubDate>
		<dc:creator>Stephanie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[oops]]></category>
		<category><![CDATA[self-taught]]></category>

		<guid isPermaLink="false">http://stephaniehobson.ca/?p=10</guid>
		<description><![CDATA[So apparently we&#8217;re supposed to be encoding ampersands when we write them in the href part of anchor tags.
&#60;a href="http://stephaniehobson.ca/file.php »
?fire=hot&#38;amp;beer=foamy"&#62;link&#60;/a&#62;
]]></description>
			<content:encoded><![CDATA[<p>So apparently we&#8217;re supposed to be encoding ampersands when we write them in the href part of anchor tags.</p>
<p><code>&lt;a href="http://stephaniehobson.ca/file.php »<br />
?fire=hot&amp;amp;beer=foamy"&gt;link&lt;/a&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://stephaniehobson.ca/wordpress/2007/03/25/something-new-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Border Collapse</title>
		<link>http://stephaniehobson.ca/wordpress/2007/03/06/border-collapse/</link>
		<comments>http://stephaniehobson.ca/wordpress/2007/03/06/border-collapse/#comments</comments>
		<pubDate>Wed, 07 Mar 2007 04:13:22 +0000</pubDate>
		<dc:creator>Stephanie</dc:creator>
				<category><![CDATA[webdesign]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[handy]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[self-taught]]></category>
		<category><![CDATA[WDN]]></category>

		<guid isPermaLink="false">http://stephaniehobson.ca/blog/?p=5</guid>
		<description><![CDATA[I am, for the most part, self taught when it comes to HTML and CSS.  I&#8217;ve take a few courses to get [...]]]></description>
			<content:encoded><![CDATA[<p>I am, for the most part, self taught when it comes to HTML and CSS.  I&#8217;ve take a few courses to get a piece of paper that says I can do what I say I can do but learned very little from them.</p>
<p>I spotted this little CSS tidbit in a presenter&#8217;s code at the <a target="_blank" href="http://north.webdirections.org">Web Directions North</a> conference a few weeks ago and now I&#8217;m wondering if this is the sort of thing I missed out on by being self taught:</p>
<p><code>table<br />
{<br />
border-collapse: </code><code>collapse</code><code>;<br />
}</code></p>
<p>There are quite a few tables I&#8217;ve designed where this would have been very useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://stephaniehobson.ca/wordpress/2007/03/06/border-collapse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
