<?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>Francois Faubert &#187; CSS</title>
	<atom:link href="http://www.francoisfaubert.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.francoisfaubert.com</link>
	<description></description>
	<lastBuildDate>Tue, 08 Sep 2009 19:00:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Learning through mimicry</title>
		<link>http://www.francoisfaubert.com/2007/09/24/learning-through-mimicry/</link>
		<comments>http://www.francoisfaubert.com/2007/09/24/learning-through-mimicry/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 20:49:41 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://fake.themusictank.com/2007/09/24/learning-through-mimicry/</guid>
		<description><![CDATA[There are several web design projects I am actively working on at the moment. Some are for my real day job but many are personal endeavors I am likely not to finish. Nonetheless, these projects force me into solve interesting problems I knew someone else has already solved before me.
Why reinvent something when you can [...]]]></description>
			<content:encoded><![CDATA[<p>There are several web design projects I am actively working on at the moment. Some are for my real day job but many are personal endeavors I am likely not to finish. Nonetheless, these projects force me into solve interesting problems I knew someone else has already solved before me.</p>
<p><strong>Why reinvent something when you can just &#8220;view source&#8221;?</strong></p>
<p>By no means am I implying you should copy others like a scanning robot, but you should at least take a few seconds to try and understand the concept behind their solution.</p>
<p>This is a quick, rough list of the things I&#8217;ve learned;  especially by looking at Apple.com and Google Maps.</p>
<p><strong>CSS Browser validation</strong></p>
<p>If the programming language used permits it, you should have quick access to the surfer&#8217;s browser information as the page is loading. By cleaning this string, you can extract a rough approximation of the browser&#8217;s type and version.</p>
<p>Afterwards, if you attach this cleaner and shorter approximation as the &lt;body&gt; tag&#8217;s id, all of the children nodes can be modified and tweaked using basic CSS rules:</p>
<pre><code>p.box {width:200px; padding:10px;}
#explorer6  p.box { width:180px; }</code></pre>
<p>This should be remembered when you can&#8217;t use conditional comments to fix a rendering issue. You can push it by adding a unique identifier to the current page in the <code>class</code> to the &lt;body&gt; tag and continue filtering the rules further:</p>
<pre><code>form { background-color:#000;}
body.contact form { border:1px solid #333; }
body.register form { border:none;}</code></pre>
<p><strong>Customizing recurring styles </strong></p>
<p>When you have a global theme but each single page has a very different style for its content area, you can still use general styles and customize what you need at the lowest level.</p>
<p>For instance, column-based design is often used on webpages nowadays. You can define a reusable column set using these rules :</p>
<blockquote><p>.col_1_2 { float:left; width:60%;}<br />
.col_2_2 { float:left; width:40%;}</p></blockquote>
<p>With this is mind, you can build a widget or any sub-designed area with two columns. If this rules needs to change in only one page, you can override the rule to reflect new sizes using custom CSS identifiers.</p>
<p>It&#8217;s common sense and good use of CSS to try and sort out all the global widgets or recurring design types that way. On big projects using exhaustive imbrication of templates, using predefined global styles as building tools will really save you some time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2007/09/24/learning-through-mimicry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yahoo! as Standard Makers</title>
		<link>http://www.francoisfaubert.com/2007/06/11/yahoo-as-standard-makers/</link>
		<comments>http://www.francoisfaubert.com/2007/06/11/yahoo-as-standard-makers/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 18:41:28 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[Yahoo!]]></category>
		<category><![CDATA[YUI]]></category>

		<guid isPermaLink="false">http://fake.themusictank.com/2007/06/11/yahoo-as-standard-makers/</guid>
		<description><![CDATA[Long time indifference 
Yahoo! is not a place I like to hang around. I guess it has all to do with how they handled the presentation of their search results back in the day. I never was a fan of categorized results &#8212; at least wasn&#8217;t ready to try harder to use them at that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Long time indifference </strong></p>
<p>Yahoo! is not a place I like to hang around. I guess it has all to do with how they handled the presentation of their search results back in the day. I never was a fan of categorized results &#8212; at least wasn&#8217;t ready to try harder to use them at that time.</p>
<p>So, for years I&#8217;ve been using AltaVista and then Google instead of Yahoo! search; Hotmail, then GMail instead of Yahoo! mail. Since I don&#8217;t like to be overrun with data, I don&#8217;t even read the news on their portal. The <a href="http://www.nytimes.com">NY Times</a>&#8216; and <a title="Radio-Canada" href="http://www.radio-canada.ca">Radio-Canada</a>&#8217;s RSS feeds suit me better.</p>
<p>In other words,  I am not part of the gazillions of people that help make Yahoo! the most important website on the Internet at the moment, according to Alexa. I didn&#8217;t have much of an opinion on Yahoo! until they got so useful for the web developer I am.</p>
<p><strong>YUI</strong></p>
<p><a href="http://developer.yahoo.com/">Yahoo! Developer Network</a> is a priceless resource for information on popular web technologies. What I&#8217;m more interested in however is the <a title="YUI" href="http://developer.yahoo.com/yui/">YUI</a> section &#8212; the Yahoo! User Interface Libary.</p>
<p><em>Javascript</em></p>
<p>YUI is said to be built around Yahoo!&#8217;s own Javascript library. Similar to jQuery and Prototype, the YUI library helps writing Javascript code that is more efficient more quickly. At the time of this writing, Yahoo!&#8217;s library has proven to work faster than its competitors when working on the DOM. A massive advantage on its competitors is its structured verbose that seems closer to more classic programming languages.</p>
<p>Notably, you can create namespaces for your scripts as well fire as custom events. Obviously, you  can create visual effects of custom controls for your interface using objects the community is developing. Broken down in many files, you can import only the libraries you need in your application from Yahoo!&#8217;s servers. No hassle in storing multiple version of the files.</p>
<p><em>Templates</em></p>
<p>The section supplies a collection of pre designed templates for anyone to use. Whether you need a 3 column fixed layout, or fluid 100% wide 5 columns templates, you will find the XHTML and CSS files in the YUI section completely free. Free as in no charge, but also free as in open source.</p>
<p><em>Cross-platform</em></p>
<p>Most importantly, the library is guaranteed to be working the same on any <a href="http://developer.yahoo.com/yui/articles/gbs/">Grade A</a> browser. Other libraries don&#8217;t always live up to that mention as the script gets more complicated. This guideline is to be followed religiously, no matter if you are using Yahoo! products or not. The chart provides great arguments when you need to justify your decision to you employer when asked to design for IE3.</p>
<p><strong>Standard Pipes</strong></p>
<p>While the tools themselves are incredibly useful and time saving, it&#8217;s not the best thing about the YUI. Through <a href="http://developer.yahoo.com/ypatterns/index.php">guidelines</a>, <a href="http://developer.yahoo.com/yui/theater/">tutorials</a> and free files, Yahoo! is lowering the pain of doing web design for people who don&#8217;t know about standards, don&#8217;t want to dig in or who just don&#8217;t care. If an important company like Yahoo! continues providing resources and using their influence in the developer&#8217;s community and the software makers building the browser, the Internet can standardize fairly quickly.</p>
<p>Yahoo! seems to be pushing towards a better Internet and the same cannot be said of everyone in the top-most influential websites.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2007/06/11/yahoo-as-standard-makers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessibility Vs. The Real World</title>
		<link>http://www.francoisfaubert.com/2006/08/25/accessibility-vs-the-real-world/</link>
		<comments>http://www.francoisfaubert.com/2006/08/25/accessibility-vs-the-real-world/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 16:02:52 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Real World]]></category>

		<guid isPermaLink="false">http://www.themusictank.com/fake/2006/08/25/accessibility-vs-the-real-world/</guid>
		<description><![CDATA[Jeff Croft, not afraid of being lynched by the new wave of accessibility-aware Web 2.0 designers, has posted a new article asking if accessibilty has been taken too far.
While I&#8217;m guessing his opinion may have been toned down on the way from his head to his hands, I do believe he has a point. To [...]]]></description>
			<content:encoded><![CDATA[<p>Jeff Croft, not afraid of being lynched by the new wave of accessibility-aware Web 2.0 designers, has posted a new article asking if <a href="http://www2.jeffcroft.com/2006/aug/21/has-accessibility-been-taken-too-far/">accessibilty has been taken too far</a>.</p>
<p>While I&#8217;m guessing his opinion may have been toned down on the way from his head to his hands, I do believe he has a point. To paraphrase and sum his opinion: &#8220;Accessibility is cool and all because it&#8217;s bad to ignore people with disabilities, but you can&#8217;t expect a company to spend all their web design budget for 0.5% of their customers. Therefore, some site aren&#8217;t 100% accessible on purpose.&#8221;</p>
<p>And it&#8217;s true. In real life, my employer gives me, say, 4 days to finish a website. It&#8217;s good enough if I can be satisfied with the semantics of things in that period of time. Odds are I won&#8217;t have any time left to make separate style sheets with high-contrast colors, one with big text, etc.</p>
<p>All can agree that it&#8217;s a good thing that there&#8217;s a lot more awareness around the accessibility of online content at the moment. </p>
<p>However, just like in any trend, it&#8217;s all too easy to pick on those who don&#8217;t follow it, never considering all the reasons for them not doing so.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/08/25/accessibility-vs-the-real-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Specificity</title>
		<link>http://www.francoisfaubert.com/2006/08/23/css-specificity/</link>
		<comments>http://www.francoisfaubert.com/2006/08/23/css-specificity/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 20:46:19 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Specificity]]></category>
		<category><![CDATA[CSS Tricks]]></category>

		<guid isPermaLink="false">http://www.themusictank.com/fake/2006/08/23/css-specificity/</guid>
		<description><![CDATA[If you&#8217;ve played along with CSS a bit, you generally know how to use CSS selectors and their specificity in most everyday cases.
But which CSS rule wins if you start combining regular class calls, mixed with ID and HTML tag selectors?
Well, CSS: Specificity Wars explains it all using Star Wars metaphors. There&#8217;s even a visual [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve played along with CSS a bit, you generally know how to use CSS selectors and their specificity in most everyday cases.</p>
<p>But which CSS rule wins if you start combining regular class calls, mixed with ID and HTML tag selectors?</p>
<p>Well, <a href="http://www.stuffandnonsense.co.uk/archives/css_specificity_wars.html">CSS: Specificity Wars</a> explains it all using Star Wars metaphors. There&#8217;s even a visual chart that you can print. Awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/08/23/css-specificity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Optimization</title>
		<link>http://www.francoisfaubert.com/2006/08/17/css-optimization/</link>
		<comments>http://www.francoisfaubert.com/2006/08/17/css-optimization/#comments</comments>
		<pubDate>Thu, 17 Aug 2006 18:57:31 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Optimizer]]></category>

		<guid isPermaLink="false">http://www.themusictank.com/fake/2006/08/17/css-optimization/</guid>
		<description><![CDATA[There are plenty of css optimizers out there, but BloggingPro were kind enough to make a comparative chart of 5 different ones.
]]></description>
			<content:encoded><![CDATA[<p>There are plenty of css optimizers out there, but BloggingPro were kind enough to make <a href="http://www.bloggingpro.com/archives/2006/08/17/css-optimization/">a comparative chart of 5 different ones</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/08/17/css-optimization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing the dotted border around links</title>
		<link>http://www.francoisfaubert.com/2006/04/21/removing-the-dotted-border-around-links/</link>
		<comments>http://www.francoisfaubert.com/2006/04/21/removing-the-dotted-border-around-links/#comments</comments>
		<pubDate>Fri, 21 Apr 2006 13:16:59 +0000</pubDate>
		<dc:creator>francoisfaubert</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CSS Tricks]]></category>

		<guid isPermaLink="false">http://www.themusictank.com/fake/2006/04/21/removing-the-dotted-border-around-links/</guid>
		<description><![CDATA[Did you know you could remove the dotted border around your links? I didn&#8217;t. You just have to specify the outline CSS property. You can read a more in-depth explanation at Sonspring.
a { outline: none; }
]]></description>
			<content:encoded><![CDATA[<p>Did you know you could remove the dotted border around your links? I didn&#8217;t. You just have to specify the <em>outline</em> CSS property. You can read a more in-depth explanation at <a href="http://sonspring.com/journal/removing-dotted-links">Sonspring</a>.</p>
<pre><code>a { outline: none; }</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.francoisfaubert.com/2006/04/21/removing-the-dotted-border-around-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
