<?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>Washington, DC Web Design by GroovySoup &#187; CSS</title>
	<atom:link href="http://www.groovysoup.com/category/web-design/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.groovysoup.com</link>
	<description></description>
	<lastBuildDate>Tue, 24 Aug 2010 19:30:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Quick and Easy CSS3 Gradients</title>
		<link>http://www.groovysoup.com/quick-and-easy-css3-gradients/</link>
		<comments>http://www.groovysoup.com/quick-and-easy-css3-gradients/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 19:11:43 +0000</pubDate>
		<dc:creator>Dave Newman</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Cascading Style Sheets]]></category>

		<guid isPermaLink="false">http://www.groovysoup.com/?p=1098</guid>
		<description><![CDATA[I know these effects are not yet available to all browsers but they are available to all GOOD browsers. (You cannot prove that&#8217;s an IE dig) CSS gradient effects are now supported by Firefox 3.6, Safari, Chrome and ahem, Internet Explorer 5.5 &#8211; so okay maybe not all of them are good, but the newer [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://commons.wikipedia.org/wiki/File:CSS.svg"><img class="   alignright" title="A graphical depiction of a very simple css doc..." src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/86/CSS.svg/275px-CSS.svg.png" alt="A graphical depiction of a very simple css doc..." width="154" height="175" /></a></p>
<p>I know these effects are not yet available to all browsers but they are available to all GOOD browsers. (<em>You cannot prove that&#8217;s an IE dig) </em><a class="zem_slink" title="Cascading Style Sheets" rel="wikipedia" href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets">CSS</a> gradient effects are now supported by <a class="zem_slink" title="Firefox" rel="homepage" href="http://www.mozilla.com/firefox/">Firefox</a> 3.6, <a class="zem_slink" title="Safari" rel="homepage" href="http://www.apple.com/safari/">Safari</a>, <a class="zem_slink" title="Google Chrome" rel="homepage" href="http://www.google.com/chrome">Chrome</a> and <em>ahem,</em> Internet Explorer 5.5 &#8211; so okay maybe not all of them are good, but the newer ones are :)</p>
<p><strong>Why you should use them: </strong>Generating gradients via CSS create a much smaller page size and faster load time because you&#8217;re not loading an image that&#8217;s larger than it has to be. When we add drop shadows to images or use gradients as background images for title bars and the like, we&#8217;re forcing the browser to download another image file or one that&#8217;s bigger than it has to be. This is especially true when using PNG files for their ability to show transparency with drop shadows. <strong>So the short answer to why we should use them: load time and file size.</strong></p>
<p><strong>But what about IE? </strong>Well, support is not there yet without a hack to cover the color stop (the band of color that would appear in a true gradient) but you can get basic gradients to work. Remember that each browser will display a slightly different appearance anyway in most cases and that the effect we&#8217;re adding is not essential to the overall usefulness or user friendliness of your site. In other words: sure they&#8217;ll be different but they&#8217;ll still look good.</p>
<p><strong>So why are we talking about this anyway? </strong>Well, funny you should ask. I needed to add a quick gradient to a client&#8217;s site this morning and stumbled upon this<a title="CSS3 Gradient Generator" href="http://www.westciv.com/tools/gradients/index-moz.html" target="_blank"> great WYSIWYG browser-based gradient generator</a>. You can use it to generate Firefox and <a class="zem_slink" title="WebKit" rel="homepage" href="http://webkit.org/">Webkit</a> (Safari and Chrome) gradients right in your browser. Also check out this <a title="Cross-Browser CSS Gradients" href="http://www.webdesignerwall.com/tutorials/cross-browser-css-gradient/" target="_blank">great post</a> that addresses how to implement all of the versions so they work in most browsers, including IE.</p>
<h6 class="zemanta-related-title">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://net.tutsplus.com/tutorials/html-css-techniques/take-advantage-of-css3-to-achieve-subtle-design/">Take Advantage of CSS3 to Achieve Subtle Design</a> (net.tutsplus.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.1stwebdesigner.com/resources/css3-tutorials/">The Ultimate Roundup of 55+ CSS3 Tutorials</a> (1stwebdesigner.com)</li>
<li class="zemanta-article-ul-li"><a href="http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-pure-css-text-gradients/">Quick Tip: Pure CSS Text Gradients</a> (net.tutsplus.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.smashingmagazine.com/2010/06/17/start-using-css3-today-techniques-and-tutorials/">Start Using CSS3 Today: Techniques and Tutorials</a> (smashingmagazine.com)</li>
</ul>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=217ca2bd-f682-4a8b-98c9-732ac2b9f06f" alt="" /><span class="zem-script pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><map name='google_ad_map_1098_f4f545ed98bc0cb8'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/1098?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_1098_f4f545ed98bc0cb8' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=1098&amp;url= http%3A%2F%2Fwww.groovysoup.com%2Fquick-and-easy-css3-gradients%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.groovysoup.com/quick-and-easy-css3-gradients/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Targeting Chrome with Javascript</title>
		<link>http://www.groovysoup.com/targeting-chrome-with-javascript/</link>
		<comments>http://www.groovysoup.com/targeting-chrome-with-javascript/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 21:55:25 +0000</pubDate>
		<dc:creator>Dave Newman</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Style Sheets]]></category>

		<guid isPermaLink="false">http://www.groovysoup.com/?p=774</guid>
		<description><![CDATA[Disclaimer: Do not use a javascript hack to fix each browser rather than adjusting your style sheets or using a reset style sheet first to solve the big stuff. This is last resort stuff here. I managed to find a way to have Chrome show styles only set for Internet Explorer. Don&#8217;t ask me how [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em><img class="alignright size-full wp-image-821" title="Google Chrome" src="http://www.groovysoup.com/wp-content/uploads/2010/06/Screen-shot-2010-06-30-at-5.51.54-PM.jpg" alt="Google Chrome" width="141" height="140" />Disclaimer: Do not use a javascript hack to fix each browser rather than adjusting your style sheets or using a reset style sheet first to solve the big stuff. This is last resort stuff here.</em></strong></p>
<p>I managed to find a way to have <a class="zem_slink" title="Google Chrome" rel="homepage" href="http://www.google.com/chrome">Chrome</a> show styles only set for Internet Explorer. Don&#8217;t ask me how but it has something to do with pulling <a class="zem_slink" title="Twitter" rel="homepage" href="http://twitter.com">Twitter</a> updates via a js file into a custom <a class="zem_slink" title="WordPress" rel="homepage" href="http://wordpress.org">WordPress</a> template. The updates themselves already have styles attached to them before I pull them in so I have to undo/override them on my side.</p>
<p>This worked for all browsers using a <a class="zem_slink" title="Conditional (programming)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Conditional_%28programming%29">conditional statement</a> for IE and that straightened it all out &#8211; except Chrome. I know what you&#8217;re thinking. It can&#8217;t be broken in Chrome if it works in <a class="zem_slink" title="Safari" rel="homepage" href="http://www.apple.com/safari/">Safari</a>. They&#8217;re both based on <a class="zem_slink" title="WebKit" rel="homepage" href="http://webkit.org/">Webkit</a> so they have to obey the same rules. Well, I found one they don&#8217;t agree on.</p>
<p>Anyway, here&#8217;s a last resort solution for you that will target any browser you want to via the style sheets by just adding the browser name to the selector like <em>.chrome</em>. I was led to the solution via <a href="http://www.nathanrice.net/blog/browser-detection-and-the-body_class-function/" target="_blank">Nathan Rice&#8217;s post</a> on the subject but I used the one described in the contents since I couldn&#8217;t get his to play nice with the rest of what was going on. <a title="CSS Browser Selector" href="http://rafael.adm.br/css_browser_selector/" target="_blank">Here&#8217;s that solution</a>:</p>
<p>Just upload <a href="http://github.com/rafaelp/css_browser_selector/raw/master/css_browser_selector.js" target="_blank">this file</a> to your server, call the script in the header of the page like this:</p>
<pre>&lt;script src="css_browser_selector.js"  type="text/javascript"&gt;&lt;/script&gt;
</pre>
<p>and then just set your trouble maker selectors using the browser name as a class. So let&#8217;s say you want links to be red for IE 6, black for Chrome and blue for Firefox 3.5. You&#8217;d do this in your style sheet:</p>
<pre>.ie7 a { color: red; }
.chrome a { color: black; }
.ff3_5 a { color: blue; }
</pre>
<p>Pretty snazzy and works like a charm. Again, don&#8217;t use unless you have to but it&#8217;s great to know this is out there. There are tons more usage examples and all the browser class titles <a href="http://rafael.adm.br/css_browser_selector/" target="_blank">here</a>.</p>
<h6 class="zemanta-related-title">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://mashable.com/2010/06/28/chrome-usage-firefox/">Is Google Chrome Usage Soaring at Firefox&#8217;s Expense? [STATS]</a> (mashable.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.thechromesource.com/from-zero-to-almost-ten-percent-how-chrome-surpassed-safari/">From Zero to Almost Ten Percent: How Chrome Surpassed Safari</a> (thechromesource.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.wired.com/epicenter/2010/06/chrome-gains-more-converts-edges-out-safari/">Chrome Gains More Converts, Edges Out Safari</a> (wired.com)</li>
<li class="zemanta-article-ul-li"><a href="http://gizmodo.com/5574383/chrome-passes-safari-to-become-3-most-used-browser-in-us">Chrome Passes Safari To Become #3 Most Used Browser In U.S. [Browsers]</a> (gizmodo.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.lockergnome.com/it/2010/06/29/chase-bank-fail-use-ie6/">Chase Bank Fail: &#8220;Use IE6?</a> (lockergnome.com)</li>
</ul>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=d3ab8abb-793a-40e9-95b8-dbc6ddacc784" alt="" /><span class="zem-script pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a href="http://click.linksynergy.com/fs-bin/click?id=SXzVNvB4/YY&#038;offerid=145244.10000035&#038;subid=0&#038;type=4"><img border="0"   alt="PeachPit (Pearson Education)" src="http://ad.linksynergy.com/fs-bin/show?id=SXzVNvB4/YY&#038;bids=145244.10000035&#038;subid=0&#038;type=4&#038;gridnum=1"/></a></p>
<p><map name='google_ad_map_774_f4f545ed98bc0cb8'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/774?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_774_f4f545ed98bc0cb8' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=774&amp;url= http%3A%2F%2Fwww.groovysoup.com%2Ftargeting-chrome-with-javascript%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.groovysoup.com/targeting-chrome-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick and Easy Javascript Slideshow</title>
		<link>http://www.groovysoup.com/quick-and-easy-javascript-slideshow/</link>
		<comments>http://www.groovysoup.com/quick-and-easy-javascript-slideshow/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 17:07:48 +0000</pubDate>
		<dc:creator>Dave Newman</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Free Stuff]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web page]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://www.groovysoup.com/?p=535</guid>
		<description><![CDATA[I&#8217;ve tried a lot of different slideshows to get something super easy to use that didn&#8217;t require a ton of backend work to make it fit the site I was working on. This might be the easiest. Simple Javascript file, simple css files and easy to edit the pictures and appearance/size. Here&#8217;s where I installed [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-536" title="Screen shot 2009-11-16 at 12.05.15 PM" src="http://www.groovysoup.com/wp-content/uploads/2009/11/Screen-shot-2009-11-16-at-12.05.15-PM-570x388.jpg" alt="Screen shot 2009-11-16 at 12.05.15 PM" width="570" height="388" /></p>
<p>I&#8217;ve tried a lot of different slideshows to get something super easy to use that didn&#8217;t require a ton of backend work to make it fit the site I was working on. <a href="http://sonspring.com/journal/slideshow-alternative">This might be the easiest.</a> Simple Javascript file, simple css files and easy to edit the pictures and appearance/size. Here&#8217;s where I installed it today: <a href="http://www.tennep.com/solar.php">http://www.tennep.com/solar.php</a><br />
<a href="http://click.linksynergy.com/fs-bin/click?id=SXzVNvB4/YY&#038;offerid=145244.10000115&#038;subid=0&#038;type=4"><img border="0"   alt="PeachPit (Pearson Education)" src="http://ad.linksynergy.com/fs-bin/show?id=SXzVNvB4/YY&#038;bids=145244.10000115&#038;subid=0&#038;type=4&#038;gridnum=1"/></a></p>
<p><map name='google_ad_map_535_f4f545ed98bc0cb8'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/535?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_535_f4f545ed98bc0cb8' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=535&amp;url= http%3A%2F%2Fwww.groovysoup.com%2Fquick-and-easy-javascript-slideshow%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.groovysoup.com/quick-and-easy-javascript-slideshow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Andy Berke for State Senator</title>
		<link>http://www.groovysoup.com/andy-berke-for-state-senator/</link>
		<comments>http://www.groovysoup.com/andy-berke-for-state-senator/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 06:33:02 +0000</pubDate>
		<dc:creator>Dave Newman</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.groovysoup.com/?p=480</guid>
		<description><![CDATA[Click here to visit the site Andy Berke asked us to create a site that would help him get the message out about his upcoming run for Tennessee State Senator. We built his site using CSS, XHTML and a deathly fear of tables. Translation: It looks pretty good, it loads pretty fast and if Mr. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-479" title="berke" src="http://www.groovysoup.com/wp-content/uploads/2009/11/berke-570x162.jpg" alt="berke" width="570" height="162" /></p>
<p><a class="more" href="http://www.andyberke.com/">Click here to visit the site</a><br />
Andy Berke asked us to create a site that would help him get the message out about his upcoming run for Tennessee State Senator. We built his site using CSS, XHTML and a deathly fear of tables. Translation: It looks pretty good, it loads pretty fast and if Mr. Berke ever wants to change things in the future, it&#8217;s easily edited.</p>
<p>We also designed the logo for Andy Berke and his office collateral, including letterhead, business cards, and envelopes &#8211; all on Union printed stock.</p>
<p><map name='google_ad_map_480_f4f545ed98bc0cb8'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/480?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_480_f4f545ed98bc0cb8' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=480&amp;url= http%3A%2F%2Fwww.groovysoup.com%2Fandy-berke-for-state-senator%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.groovysoup.com/andy-berke-for-state-senator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
