<?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>Joseph Piché &#187; css</title>
	<atom:link href="http://jpiche.com/tags/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://jpiche.com</link>
	<description>Web development professional with expertise in PHP, MySQL query optimization, Ajax, and XHTML</description>
	<lastBuildDate>Tue, 20 Jul 2010 04:04:51 +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>CSS is Not an Art</title>
		<link>http://jpiche.com/2009/12/css-is-not-an-art/</link>
		<comments>http://jpiche.com/2009/12/css-is-not-an-art/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 08:29:19 +0000</pubDate>
		<dc:creator>Joseph Piché</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[languages]]></category>
		<category><![CDATA[web-browsers]]></category>

		<guid isPermaLink="false">http://jpiche.com/?p=313</guid>
		<description><![CDATA[For some time I&#8217;ve been working with web frameworks. Finding a good web framework is not hard with PHP since so many exist already, but since I&#8217;ve fallen in love with Python I&#8217;ve discovered Django. Recently, I&#8217;ve been re-building this blog using Django (more on that to come later) and to my surprise, using a [...]]]></description>
			<content:encoded><![CDATA[<p>For some time I&#8217;ve been working with web frameworks. Finding a good web framework is not hard with PHP since so many exist already, but since I&#8217;ve fallen in love with Python I&#8217;ve discovered <a href="http://www.djangoproject.com/">Django</a>. Recently, I&#8217;ve been re-building this blog using Django (more on that to come later) and to my surprise, using a well-developed <a href="http://en.wikipedia.org/wiki/Model-view-controller"><acronym title="Model-view-controller">MVC</acronym></a> Framework with a thought-out database schema makes traditional development almost non-existent and lets me focus on theming.</p>
<p>Since my job is mainly PHP and MySQL development, I don&#8217;t do a lot of theming. I actually like coding CSS, but we have a design team for that. For this blog, it&#8217;s actually something I need to think about. I&#8217;ve done a lot of CSS coding, but recent events at work have left me frustrated with legacy code, thus sparking this post. So getting to the point: CSS is not an art. Cross-browser CSS is not something one intuitively picks up and starts playing with, it is a language, and to be successful at it you need to know what you are doing.</p>
<p>The key concept is the possibility of writing unsuccessful or <em>bad</em> CSS. The art is drawing up what the page is to look like&mdash;concept art, or as some call it &ldquo;mocking up&rdquo; a page. CSS is the tool used to get the page to actually look <em>and function</em> as intended, and in every browser. I believe a lot of amateur web developers do not realize the importance of understanding both the CSS specifications themselves and how each CSS command will affect each web browser.</p>
<p>To further my point, this week I&#8217;ve been working with more legacy code which has CSS sprinkled all over, and always as an afterthought. This itself is not necessarily bad, as sometimes the importance of getting something semi-functional (or to a state where your boss stops yelling at you) necessitates ignoring certain parts of the process. In this, Internet Explorer 7 was forgotten about and somehow hovering over a certain set of <code>&lt;span&gt;</code> tags makes large parts of the page shift a few pixels back and forth. In an extreme case, it would hinder someone from using the application and potentially cost the company money&mdash;again an unacceptable outcome.</p>
<p>Having been dealing with CSS for a number of years now, I feel like I&#8217;ve learned quite a bit about how each browser treats different CSS attributes, but new web technology is embraced at a quick pace, and I still find new awkward Internet Explorer rendering engine bugs on a consistent basis. But at the least, having an understanding of what CSS was built to do goes a long way.</p>
]]></content:encoded>
			<wfw:commentRss>http://jpiche.com/2009/12/css-is-not-an-art/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
