<?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>Bricks and Clicks: A blog by Montreal-based Web Marketing Consultant, Rommil Santiago &#187; CSS/Design</title>
	<atom:link href="http://www.rommil.com/blog/category/cssdesign/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rommil.com/blog</link>
	<description>Web consultant, Rommil Santiago, on web marketing and management.</description>
	<lastBuildDate>Thu, 17 Jun 2010 01:58:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Getting ripped off: My embarrassing story of pettiness and revenge</title>
		<link>http://www.rommil.com/blog/2009/03/11/getting-ripped-off-my-embarrassing-story-of-pettiness-and-revenge/</link>
		<comments>http://www.rommil.com/blog/2009/03/11/getting-ripped-off-my-embarrassing-story-of-pettiness-and-revenge/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 15:01:45 +0000</pubDate>
		<dc:creator>Rommil Santiago</dc:creator>
				<category><![CDATA[CSS/Design]]></category>
		<category><![CDATA[Humour]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Personal Brand]]></category>
		<category><![CDATA[Copied]]></category>

		<guid isPermaLink="false">http://www.rommil.com/blog/?p=1193</guid>
		<description><![CDATA[It might be true that there is no such thing as an original idea. Everything, at one point or another, is copied from something else. Some call this inspiration, others, copyright infringement. I call it a fact of life. Yes, it completely and utterly sucks. No one likes to see their blood, sweat and tears [...]]]></description>
			<content:encoded><![CDATA[<p>It might be true that there is no such thing as an original idea. Everything, at one point or another, is copied from something else. Some call this inspiration, others, copyright infringement. I call it a fact of life. Yes, it completely and utterly sucks. No one likes to see their blood, sweat and tears earn others business or praise. It&#8217;s like seeing someone else take credit for your children, unconscionable.</p>
<p><strong>But what is one to do?</strong><span id="more-1193"></span></p>
<p>This happened to me a couple years ago. I was going through my web logs and noticed some disproportionally high activity from one particular domain. When I visited it, to my shock, I saw my entire site, photos and all, copied by someone in the US. Not only did he steal my look and feel, CSS and Javascript, the perpetrator had the gall to <em>hotlink </em>to my images. You can see a <a href="http://www.rommil.com/images/blog/exhibit1.jpg">side-by-side comparison of the two sites here</a> [250K]. See if you can which one is the copy. <em>Hint: I&#8217;m not a Mystic Warrior of Rage.</em></p>
<p>It wasn&#8217;t the first time this has happened, but it was the first time I saw my <em>entire </em>site lifted. Granted my site <em>was</em> in a web designer inspiration book, but <em>come on!</em></p>
<p><div id="attachment_1272" class="wp-caption alignright" style="width: 340px"><img class="size-full wp-image-1272" title="outpace" src="http://www.rommil.com/blog/wp-content/uploads/2009/03/outpace.jpg" alt="Chased by thieves? Outpace them." width="330" height="142" /><p class="wp-caption-text">Chased by thieves? Outpace them.</p></div>So I did what every rational guy in my situation would do, I called him right away (long distance charges be damned, this was my baby we were talking about!). Of course, no reply. Then I e-mailed him a stern message about his violating my copyright. His reply? The site was merely an interpretation of mine, he overhauled all my &#8220;bad code&#8221; and all the images were &#8220;rightfully&#8221; obtained through Google&#8217;s image search. A few gentlemanly emails later, he agreed to take down my photos, but he wouldn&#8217;t change his code.</p>
<p>So, once again I did what every rational guy in my situation would do, <a href="http://www.rommil.com/images/blog/busted.jpg">I broke his site</a> [220K] (scroll down for the full effect). Unfortunately, the screenshot doesn&#8217;t capture the blinking effect I placed on the image, but you get the point.</p>
<p>Did doing this make me feel better? Of course it did. Was it the right thing to do? I&#8217;m not certain. Am I proud of my pettiness and actions? Not particularly, but what&#8217;s done is done.</p>
<p>Perhaps I could of gotten the law involved. I could of Google bombed him. I could of just been flattered that he copied my work. But in the end, there&#8217;s the <em>right </em>thing to do, and there&#8217;s the <em>practical </em>thing to do. Was hiring a lawyer worth it in this case? Not really, the guy was obviously small potatoes, and wasn&#8217;t getting much business anyways &#8211; as exhibited by his <a href="http://www.rommil.com/images/blog/nowork.jpg">lack-lustre portfolio</a> [250K]. Was I losing revenue because of his site? No, as he was in another country altogether. Was he going to gain business from copying my site? Perhaps he could attract some interest, but he definitely lacked the talent to back it up. So I left it at that. I left his blinking, broken site as is, and moved on.</p>
<p><strong>How to avoid being ripped-off</strong></p>
<p>In short, you can&#8217;t. You can set up all sorts of mechanisms to protect your work. But unless you&#8217;re a large company, with an army of copyright lawyers, there&#8217;s not a whole lot you can do to avoid being ripped-off. But if you&#8217;re a small enough operation, and agile enough, there <em>is</em> one thing you can do:</p>
<p><strong>One-up yourself regularly<br />
</strong></p>
<p>Redesign your site regularly. New CSS and Javascript techniques are created every day, why not use your redesigns as platforms to display and hone your pixel-prowess? Use your redesigns to create an awareness of your talent and your ability to regularly renew yourself. By doing so, not only will you will benefit by staying at the forefront of web design, you help keep yourself <em>relevant</em>. Just remember this:</p>
<p><strong>Talent will outpace the hacks every time.</strong></p>
<p>Have you ever been ripped off? What did do about it?</p>
<p><em>Special thanks to those who helped me think about this post: </em><a href="http://twitter.com/ronindotca/"><span class="fn">Cameron Campbell</span></a>, <a href="http://twitter.com/NicolasRoberge/">Nicolas Roberge</a>, <a href="http://twitter.com/K_Cameron/">Kirsten Cameron</a>, <a href="http://twitter.com/AnnaG/"><span class="fn">Anna Gunaratnam</span></a>, <a href="http://twitter.com/ara_p/"><span class="fn">Ara Pehlivanian</span></a><span class="fn"> and <a href="http://twitter.com/SekhmetDesign/">Debbie Rouleau</a><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rommil.com/blog/2009/03/11/getting-ripped-off-my-embarrassing-story-of-pettiness-and-revenge/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Essential CSS: The Reset</title>
		<link>http://www.rommil.com/blog/2009/01/16/essential-css-the-reset/</link>
		<comments>http://www.rommil.com/blog/2009/01/16/essential-css-the-reset/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 12:28:18 +0000</pubDate>
		<dc:creator>Rommil Santiago</dc:creator>
				<category><![CDATA[CSS/Design]]></category>
		<category><![CDATA[Reset]]></category>

		<guid isPermaLink="false">http://www.rommil.com/blog/?p=394</guid>
		<description><![CDATA[One of the most essential tools I have when I build a web site is the CSS reset. What the reset does is basically strip some or all the default styling (like padding, margins, font-sizes, etc) applied to HTML elements by different web browsers. The reason we want to do this is that each browser [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_395" class="wp-caption alignright" style="width: 370px"><img class="size-full wp-image-395" title="reset" src="http://www.rommil.com/blog/wp-content/uploads/2009/01/reset.jpg" alt="Resetting CSS styles will save you a lot of time" width="360" height="270" /><p class="wp-caption-text">Resetting CSS styles will save you a lot of time</p></div>One of the most essential tools I have when I build a web site is the CSS reset. What the reset does is basically strip some or all the default styling (like padding, margins, font-sizes, etc) applied to HTML elements by different web browsers. The reason we want to do this is that each browser has its own default set of styles, and guess what &#8211; they differ from browser to browser. Starting from a fresh slate is often the easiest way to shorten development time and get the most predictable cross-browser results (though some designers, like Jonathan Snook, @<a href="http://twitter.com/snookca">snookca</a>, <a href="http://snook.ca/archives/html_and_css/no_css_reset/">don&#8217;t personally see a strong need for resets</a>). If you see the benefit of using CSS resets, creating your own reset is very doable, and honestly not super difficult, but why re-invent the wheel? <span id="more-394"></span>There are plenty of reset CSS code out there that you can use. I&#8217;ve listed below some of the more popular reset resources that I know of.</p>
<ul>
<li><strong><a href="http://developer.yahoo.com/yui/reset/">Yahoo&#8217;s YUI Reset CSS</a></strong><br />
This reset does some basic resetting of margins and borders, as well as remove some table borders, and form inputs styling. It validates as CSS 2.1 against <a href="http://jigsaw.w3.org/css-validator/">W3C&#8217;s Validator</a>.</li>
<li><strong><a href="http://twitter.com/meyerweb">Eric Meyer&#8217;s 2008 Reset</a></strong><br />
This latest version from Eric Meyer (@<a href="http://twitter.com/meyerweb">meyerweb</a>), based on Yahoo&#8217;s reset, also validates as CSS 2.1 against <a href="http://jigsaw.w3.org/css-validator/">W3C&#8217;s Validator</a>, and is used in the <a href="http://www.980.gs">980 grid system</a> (which is a solid starting point for any web design project). Eric&#8217;s reset is well known for resetting <em>all </em>default styles (generally speaking) &#8211; meaning you have to style <em>virtually every</em> element (except for notably form inputs). Though this is great for advanced designers, it may not be for everyone.</li>
</ul>
<p>So, say, you <em>do</em> want to reinvent the wheel and create your own homemade reset file. Here are some pointers from <a href="http://www.smashingmagazine.com/2007/09/21/css-frameworks-css-reset-design-from-scratch/">Smashing Magazine</a>:</p>
<ul>
<li><strong>Place the reset code first</strong><br />
Obviously, resetting the styles at then end of your CSS is counter-productive.</li>
<li><strong>Avoid *{padding:0; margin:0;}</strong><br />
I&#8217;m guilty of doing this. A couple of years ago, it seemed like a good idea. One line, reset everything. But according to Christian Montoya, this method <a href="http://www.christianmontoya.com/2007/02/01/css-techniques-i-use-all-the-time/">is very intensive for the browser</a>, and it&#8217;s better to write specific selector resets.</li>
</ul>
<p>While this is no where close to a new technique, it&#8217;s one that many designers aren&#8217;t aware of (along with classing the body tag), and I feel it&#8217;s worth familiarizing yourself with.</p>
<p>What are <strong>your </strong>thoughts about CSS resetting?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rommil.com/blog/2009/01/16/essential-css-the-reset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Essential CSS: Relative font-sizing and IE6&#8242;s Text Size feature</title>
		<link>http://www.rommil.com/blog/2009/01/11/essential-css-relative-font-sizing-and-ie6s-text-size-feature/</link>
		<comments>http://www.rommil.com/blog/2009/01/11/essential-css-relative-font-sizing-and-ie6s-text-size-feature/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 14:07:03 +0000</pubDate>
		<dc:creator>Rommil Santiago</dc:creator>
				<category><![CDATA[CSS/Design]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Font-size]]></category>
		<category><![CDATA[IE6]]></category>

		<guid isPermaLink="false">http://www.rommil.com/blog/?p=347</guid>
		<description><![CDATA[By no means am I a CSS ninja, I&#8217;m not even a CSS guru, but what I am is a guy with a few years under my belt spent designing, developing and analyzing web sites. While working at Concordia University, I&#8217;ve had the&#8230; &#8220;privilege&#8221; of seeing a wide variety (X)HTML and CSS bugs. Here&#8217;s one [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_350" class="wp-caption alignright" style="width: 370px"><img class="size-full wp-image-350" title="typeface" src="http://www.rommil.com/blog/wp-content/uploads/2009/01/typeface.jpg" alt="How I wish IE6 would go away..." width="360" height="239" /><p class="wp-caption-text">How I wish IE6 would go the way of movable type</p></div>
<p>By no means am I a <a href="http://www.rommil.com/blog/2009/01/02/job-tip-think-twice-before-proclaiming-yourself-a-ninja/">CSS ninja</a>, I&#8217;m not even a CSS guru, but what I am is a guy with <a href="http://www.rommil.com/about/resume/">a few years under my belt</a> spent designing, developing and analyzing web sites. While working at <a href="http://www.concordia.ca">Concordia University</a>, I&#8217;ve had the&#8230; &#8220;privilege&#8221; of seeing a wide variety (X)HTML and CSS bugs. Here&#8217;s one bug that stole a day&#8217;s worth of work from me that I wanted to share:</p>
<p>In Internet Explorer 6, if the font-size of the body is set to 1em, the Text Size feature (shown below) when set to sizes other than medium, makes the fonts laughably out of proportion. If you are also having this problem&#8230;</p>
<p><span id="more-347"></span></p>
<div id="attachment_369" class="wp-caption alignright" style="width: 319px"><img class="size-full wp-image-369" title="ie6textsize" src="http://www.rommil.com/blog/wp-content/uploads/2009/01/ie6textsize.gif" alt="ie6textsize" width="309" height="248" /><p class="wp-caption-text">How to set the Text Size in IE6</p></div>
<p><strong>Good news</strong>: IE6 is on the decline and its use, at least according to Concordia&#8217;s web statistics, appears to finally be on the verge of dropping below 15%. If you wait long enough, you can ignore this bug altogether!</p>
<p><strong>Bad news</strong>: at least 15% still use it, and if you&#8217;re like me, 15% is still a sizable amount of traffic to disappoint, so, the plan of just telling people to use Firefox or Safari is pretty much out the window.</p>
<p>So you don&#8217;t have to waste a day of <em>your </em>life debugging, I dug up solutions from <a href="http://fiercestreetnetworks.com/web-design-tips-tricks/xhtml/xhtml.php">Fierce Street Networks</a> and The <a href="http://www.christianmontoya.com/2007/02/01/css-techniques-i-use-all-the-time/">Montoya Herald</a>.</p>
<p>Typically the root cause for this strange behaviour in IE6 is a body style set somewhere in the CSS like this:</p>
<pre>body{
     font-size:1em;
}</pre>
<p>All you have to do is declare the base font-size as follows:</p>
<pre>body{
     font-size:<strong>100.01%</strong>;
}</pre>
<p>That&#8217;s it that&#8217;s all.</p>
<p>The only things to remember are:</p>
<ul>
<li>Avoid setting the percentage lower than 100.01% (for cross-browser considerations, you can blame Opera for its odd rendering of fonts).</li>
<li>No matter what percentage you set, tack on the 0.01% at the end (to not markedly alter the desired font-size, namely in Safari).</li>
</ul>
<p>So for example, 110.01% is fine, 99.01% is not. Personally, I suggest you stick to the 100.01% setting. I&#8217;ve used sizes other than 100.01% with success, but your results may vary. As for the rest of the font-sizes on the page, feel free to use <em>em </em>or <em>percentages</em>, whichever you prefer. From my experience, neither one breaks this fix.</p>
<p>If you have a better solution for this IE6 oddity, do <strong>let me know</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rommil.com/blog/2009/01/11/essential-css-relative-font-sizing-and-ie6s-text-size-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
