<?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>WebDesign&#38;Such &#187; CSS</title>
	<atom:link href="http://webdesignandsuch.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdesignandsuch.com</link>
	<description>a Beantown Design Production</description>
	<lastBuildDate>Sat, 14 Jan 2012 20:09:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Using fancyBox for Responsive Google Maps</title>
		<link>http://webdesignandsuch.com/using-fancybox-for-responsive-google-maps/</link>
		<comments>http://webdesignandsuch.com/using-fancybox-for-responsive-google-maps/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 15:30:37 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Fancybox]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[Slider]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=3276</guid>
		<description><![CDATA[The latest release of fancyBox is responsive, so now your maps can auto adjust based on your browser window size!]]></description>
			<content:encoded><![CDATA[<p>The popular jQuery lightbox fancyBox recently had a major overhaul. The new version has better transitions, more options, and most importantly a <strong>responsive layout</strong>.</p>
<p>One great way to use fancyBox is to open Google Maps over your webpage. If you need to have a map but don&#8217;t have enough room on the page to embed the map you can integrate fancyBox with Google Maps and open the enlarged map when you click on a link. Checkout the demo and download. Since this latest release of fancyBox is responsive the frame around the map resizes based on the size of the browser window! <img src='http://webdesignandsuch.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<div class="postButtons">
<div class="double"><a href="http://webdesignandsuch.com/posts/fancybox-download/google-maps-fancybox/fancybox-google-maps.html" class="demo">Demo</a><a href="http://webdesignandsuch.com/posts/fancybox-download/google-maps-fancybox/fancybox-g-maps.zip" class="download">Download</a></div>
</div>
<p><strong>Note:</strong> The new version of fancyBox has different licensing, be sure to visit the website for full details to make sure you are using it correctly, and for all the customization details.</p>
<p><a href="http://fancyapps.com/fancybox/" target="_blank">http://fancyapps.com/fancybox/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/using-fancybox-for-responsive-google-maps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Responsive YouTube Videos with fancyBox</title>
		<link>http://webdesignandsuch.com/responsive-youtube-videos-with-fancybox/</link>
		<comments>http://webdesignandsuch.com/responsive-youtube-videos-with-fancybox/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 14:30:09 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Fancybox]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=3257</guid>
		<description><![CDATA[The newest version of fancyBox has a responsive layout, making it the perfect solution for your responsive YouTube video needs.]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://wp.me/p11izc-oK">previous post</a> I showed how to use fancyBox with YouTube videos. Responsive website layouts are the hottest thing on the web right now, which has left developers looking for solutions for responsive sliders and galleries. Luckily a new version of fancyBox was recently released, one of the major updates being the ability to resize images or videos depending on the screen size!</p>
<p><strong>Old FancyBox video / browser large.</strong><br />
<img src="http://webdesignandsuch.com/wp-content/uploads/responsive-videos-1.jpg" alt="fancybox youtube videos" title="fancybox youtube videos" width="575" height="465" class="alignnone size-full wp-image-3259" /></p>
<p><strong>Old FancyBox video / browser small (and cutoff). <img src='http://webdesignandsuch.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </strong><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-videos-2.jpg" alt="using fancybox with youtube videos" title="using fancybox with youtube videos" width="400" height="371" class="alignnone size-full wp-image-3260" /></p>
<p><strong>New FancyBox video / browser large.</strong><br />
<img src="http://webdesignandsuch.com/wp-content/uploads/responsive-videos-4.jpg" alt="responsive youtube" title="responsive youtube" width="575" height="381" class="alignnone size-full wp-image-3261" /></p>
<p><strong>New FancyBox video / browser small (and auto resized!). <img src='http://webdesignandsuch.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-videos-3.jpg" alt="youtube with fancybox" title="youtube with fancybox" width="400" height="294" class="alignnone size-full wp-image-3262" /></p>
<div class="postButtons">
<div class="double"><a href="http://webdesignandsuch.com/posts/fancybox-download/responsive-youtube-videos/fancybox-youtube.html" class="demo">Demo</a><a href="http://webdesignandsuch.com/posts/fancybox-download/responsive-youtube-videos/fancybox-youtube-videos.zip" class="download">Download</a></div>
</div>
<p><strong>Note:</strong> The new version of fancyBox has different licensing, be sure to visit the website for full details to make sure you are using it correctly, and for all the customization details.</p>
<p><a href="http://fancyapps.com/fancybox/" target="_blank">http://fancyapps.com/fancybox/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/responsive-youtube-videos-with-fancybox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fancyBox 2 Responsive Lightbox Download</title>
		<link>http://webdesignandsuch.com/fancybox-2-responsive-lightbox-download/</link>
		<comments>http://webdesignandsuch.com/fancybox-2-responsive-lightbox-download/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 19:30:46 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=3250</guid>
		<description><![CDATA[The popular jQuery lightbox fancyBox recently had a major overhaul. The new version has better transitions, more options, and most importantly a responsive layout! I've packaged all the required files into one easy to use download.]]></description>
			<content:encoded><![CDATA[<p>The popular jQuery lightbox fancyBox recently had a major overhaul. The new version has better transitions, more options, and most importantly a <strong>responsive layout</strong> (an enlarged image will resize to fit in the screen as the screen is resized)! </p>
<p>The website for fancyBox tells you how to add all the files to make everything work, but doesn&#8217;t have a simple, packaged together download. Since I use fanyBox on a fairly regular basis I need to have a simple package ready to go. I&#8217;ve created this, and am offering it to everyone to use.</p>
<div class="postButtons">
<div class="double"><a href="http://webdesignandsuch.com/posts/fancybox-download/fancyBox2/" class="demo">Demo</a><a href="http://webdesignandsuch.com/posts/fancybox-download/fancyBox2/fancybox-download.zip" class="download">Download</a></div>
</div>
<p><strong>Note:</strong> The new version of fancyBox has different licensing, be sure to visit the website for full details to make sure you are using it correctly, and for all the customization details.</p>
<p><a href="http://fancyapps.com/fancybox/" target="_blank">http://fancyapps.com/fancybox/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/fancybox-2-responsive-lightbox-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Awesome jQuery Responsive Sliders, Galleries &amp; Plugins</title>
		<link>http://webdesignandsuch.com/responsive-sliders-images-galleries-plugins-jquery/</link>
		<comments>http://webdesignandsuch.com/responsive-sliders-images-galleries-plugins-jquery/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 11:42:50 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[Slider]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=2855</guid>
		<description><![CDATA[Responsive website layouts have become increasingly popular. What are developers supposed to do about sliders and galleries when developing a responsive website? Here are 10 great solutions.]]></description>
			<content:encoded><![CDATA[<p>Responsive website layouts have become extremely popular recently due to the increasing support of desktop browsers and the increasing variety of browser sizes on other devices (tablets and phones). A responsive layout shrinks to fit whatever screen it&#8217;s on, making the website the correct size depending on the screen size. Many design blog owners have switched their blogs over to a responsive layout. A blog is mostly text and images, making this process rather easy. </p>
<p>The idea of creating responsive websites for real world business websites raises a few questions. The main question many designers and developers had (including myself) was <strong>&#8220;What about image galleries and sliders?&#8221;</strong>. Most websites have moved away from Flash in the last few years, many Flash animations being replaced by jQuery sliders. So how do you deal with a slider when developing a responsive website? Until now that left most people scratching their heads, but recently there have been some great responsive image sliders, galleries and plugins released.. so let me introduce <strong>my roundup of the 10 best responsive image sliders and galleries you can use on your website today</strong><em>(in no special order)</em>.. enjoy!</p>
<h2>1. <a href="http://flex.madebymufffin.com/" target="_blank">FlexSlider</a></h2>
<p><a href="http://flex.madebymufffin.com/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-jquery-slider.jpg" alt="responsive jquery slider"  width="575" height="410" class="alignnone size-full wp-image-3191" /></a></p>
<h2>2. <a href="http://marktyrrell.com/labs/blueberry/" target="_blank">Blueberry</a></h2>
<p><a href="http://marktyrrell.com/labs/blueberry/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-jquery-images.jpg" alt="responsive jquery images" width="575" height="223" class="alignnone size-full wp-image-3188" /></a></p>
<h2>3. <a href="http://tympanus.net/Tutorials/ResponsiveImageGallery/" target="_blank">Responsive Image Gallery</a></h2>
<p><a href="http://tympanus.net/Tutorials/ResponsiveImageGallery/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-thumbnail-gallery.jpg" alt="responsive thumbnail gallery"  width="575" height="361" class="alignnone size-full wp-image-3192" /></a></p>
<h2>4. <a href="http://graphik.fi/lab/responsive-jquery-slideshow/" target="_blank">Responsive jQuery Slideshow</a></h2>
<p><a href="http://graphik.fi/lab/responsive-jquery-slideshow/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-jquery-slideshow.jpg" alt="responsive jquery slideshow" width="575" height="397" class="alignnone size-full wp-image-3187" /></a></p>
<h2>5. <a href="http://unoslider.heroku.com/" target="_blank">UnoSlider</a></h2>
<p><a href="http://unoslider.heroku.com/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-jquery-image-slider.jpg" alt="responsive jquery image slider"  width="575" height="272" class="alignnone size-full wp-image-3185" /></a></p>
<h2>6. <a href="http://tympanus.net/Development/Elastislide/" target="_blank">Elastislide</a></h2>
<p><a href="http://tympanus.net/Development/Elastislide/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/jquery-responsive-plugin.jpg" alt="jquery responsive plugin"  width="575" height="185" class="alignnone size-full wp-image-3190" /></a></p>
<h2>7. <a href="http://www.photoswipe.com/" target="_blank">Photoswipe</a></h2>
<p><a href="http://www.photoswipe.com/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-image-gallery.jpg" alt="responsive image gallery"  width="575" height="384" class="alignnone size-full wp-image-3189" /></a></p>
<h2>8. <a href="http://www.matmarquis.com/carousel/" target=_blank">Responsive jQuery Carousel</a></h2>
<p><a href="http://www.matmarquis.com/carousel/" target=_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-carousel.jpg" alt="responsive jquery carousel"  width="575" height="291" class="alignnone size-full wp-image-3183" /></a></p>
<h2>9. <a href="http://css-tricks.com/13372-seamless-responsive-photo-grid/" target="_blank">Seamless Responsive Photo Grid</a></h2>
<p><a href="http://css-tricks.com/13372-seamless-responsive-photo-grid/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-image-grid.jpg" alt="responsive image grid"  width="575" height="407" class="alignnone size-full wp-image-3186" /></a></p>
<h2>10. <a href="http://johnpolacek.github.com/ResponsiveThumbnailGallery/" target="_blank">responsive thumbnail image gallery plugin</a></h2>
<p><a href="http://johnpolacek.github.com/ResponsiveThumbnailGallery/" target="_blank"><img src="http://webdesignandsuch.com/wp-content/uploads/responsive-gallery-thumbnail.jpg" alt="responsive thumbnail image gallery plugin"  width="575" height="322" class="alignnone size-full wp-image-3194" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/responsive-sliders-images-galleries-plugins-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Force a vertical scroll bar in non-IE browsers to avoid page jump</title>
		<link>http://webdesignandsuch.com/force-vertical-scroll-bar-avoid-page-jump/</link>
		<comments>http://webdesignandsuch.com/force-vertical-scroll-bar-avoid-page-jump/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 13:45:26 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=2750</guid>
		<description><![CDATA[Have you noticed that when you click from a shorter webpage to a taller webpage the content jumps to make room for the vertical scroll bar? This problem can be fixed by forcing the vertical scroll bar on ALL pages with CSS.]]></description>
			<content:encoded><![CDATA[<p><strong>If you code websites you&#8217;ve noticed this problem..</strong> </p>
<p>Webpages that don&#8217;t fit vertically in the browser window have a vertical scroll bar, pages that do fit in the browser window don&#8217;t have this scroll bar. All is great until you click from a short page to a tall page and the content &#8216;jumps&#8217;, in order to make room for the scroll bar. If you&#8217;re a developer you&#8217;re used to this and probably don&#8217;t even notice it. I&#8217;ve had multiple clients ask me why the page jumps and have had to explain the reasoning, just to hear <em>&#8220;oooh that&#8217;s weeeird, isn&#8217;t it???&#8221;</em>. No, I just explained it. Anyway, to avoid this conversation, add the following CSS to your style sheet. This code forces the vertical scroll bar, and <em>voila</em>, no more page jumps or calls from the client.</p>
<pre class="brush: css; title: ; notranslate">
html { overflow-y: scroll }
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/force-vertical-scroll-bar-avoid-page-jump/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix Sup Sub line-height problem with CSS</title>
		<link>http://webdesignandsuch.com/how-to-fix-sup-sub-line-height-problem-with-css/</link>
		<comments>http://webdesignandsuch.com/how-to-fix-sup-sub-line-height-problem-with-css/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 13:42:53 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=2397</guid>
		<description><![CDATA[The superscript and subscript tags can push lines of text further apart from each other, ruining the line-height. Here is how to correct this issue with CSS.]]></description>
			<content:encoded><![CDATA[<p>If you code CSS / XHTML, you are most likely familiar with the Superscript  <sup></sup> and Subscript <sub></sub>  tags. If you use these tags in a situation where there are multiple lines of text you might run into a common problem. The problem is that the Super or Subscript characters push the lines of text further apart to make room for the character. This leaves you with an ugly looking block of text, with 2 lines with too much space between them. What needs to be done is to undo this default setting of pushing the lines apart. Here&#8217;s is the CSS to do just this. You might want to add this to your CSS reset style sheet, so you don&#8217;t run into this problem in the future.</p>
<pre class="brush: css; title: ; notranslate">
sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
</pre>
<p><em>Here&#8217;s another method some people use which you can try.</em></p>
<pre class="brush: css; title: ; notranslate">
sup,
sub {
	height: 0;
	line-height: 1;
	vertical-align: baseline;
	_vertical-align: bottom;
	position: relative;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/how-to-fix-sup-sub-line-height-problem-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8 Great Font Stacks for Web Design</title>
		<link>http://webdesignandsuch.com/8-great-font-stacks-for-web-design/</link>
		<comments>http://webdesignandsuch.com/8-great-font-stacks-for-web-design/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 13:45:48 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=2688</guid>
		<description><![CDATA[Here's a great collection of 8 font stacks, perfect for your next website design project.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a nice collection of font stacks for your website project, original code from the article &#8220;<a href="http://www.sitepoint.com/eight-definitive-font-stacks/" target="_blank">eight definitive font stacks</a>&#8221; on SitePoint.</p>
<h2 style='font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;'>Times New Roman-based stack</h2>
<h2 style='font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif," "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;'>Modern Georgia-based serif stack</h2>
<h2 style='font-family: "Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif;'>Traditional Garamond-based serif stack</h2>
<h2 style='font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans serif;'>Helvetica/Arial-based sans serif stack</h2>
<h2 style='font-family: Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans serif;'>Verdana-based sans serif stack</h2>
<h2 style='font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans serif;'>Trebuchet-based sans serif stack</h2>
<h2 style='font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans serif;'>Impact-based sans serif stack</h2>
<h2 style='font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;'>Monospace stack</h2>
<pre class="brush: css; title: ; notranslate">/****************
 * From the article &quot;8 Definitive Web Font Stacks&quot;
 * by Michael Tuck
 * http://www.sitepoint.com/article/eight-definitive-font-stacks
 * Copyright SitePoint 2008
 */

/* Times New Roman-based stack */
font-family: Cambria, &quot;Hoefler Text&quot;, Utopia, &quot;Liberation Serif&quot;, &quot;Nimbus Roman No9 L Regular&quot;, Times, &quot;Times New Roman&quot;, serif;

/* Modern Georgia-based serif stack */
font-family: Constantia, &quot;Lucida Bright&quot;, Lucidabright, &quot;Lucida Serif&quot;, Lucida, &quot;DejaVu Serif,&quot; &quot;Bitstream Vera Serif&quot;, &quot;Liberation Serif&quot;, Georgia, serif;

/* Traditional Garamond-based serif stack */
font-family: &quot;Palatino Linotype&quot;, Palatino, Palladio, &quot;URW Palladio L&quot;, &quot;Book Antiqua&quot;, Baskerville, &quot;Bookman Old Style&quot;, &quot;Bitstream Charter&quot;, &quot;Nimbus Roman No9 L&quot;, Garamond, &quot;Apple Garamond&quot;, &quot;ITC Garamond Narrow&quot;, &quot;New Century Schoolbook&quot;, &quot;Century Schoolbook&quot;, &quot;Century Schoolbook L&quot;, Georgia, serif;

/* Helvetica/Arial-based sans serif stack */
font-family: Frutiger, &quot;Frutiger Linotype&quot;, Univers, Calibri, &quot;Gill Sans&quot;, &quot;Gill Sans MT&quot;, &quot;Myriad Pro&quot;, Myriad, &quot;DejaVu Sans Condensed&quot;, &quot;Liberation Sans&quot;, &quot;Nimbus Sans L&quot;, Tahoma, Geneva, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans serif;

/* Verdana-based sans serif stack */
font-family: Corbel, &quot;Lucida Grande&quot;, &quot;Lucida Sans Unicode&quot;, &quot;Lucida Sans&quot;, &quot;DejaVu Sans&quot;, &quot;Bitstream Vera Sans&quot;, &quot;Liberation Sans&quot;, Verdana, &quot;Verdana Ref&quot;, sans serif;

/* Trebuchet-based sans serif stack */
font-family: &quot;Segoe UI&quot;, Candara, &quot;Bitstream Vera Sans&quot;, &quot;DejaVu Sans&quot;, &quot;Bitstream Vera Sans&quot;, &quot;Trebuchet MS&quot;, Verdana, &quot;Verdana Ref&quot;, sans serif;

/* Impact-based sans serif stack */
font-family: Impact, Haettenschweiler, &quot;Franklin Gothic Bold&quot;, Charcoal, &quot;Helvetica Inserat&quot;, &quot;Bitstream Vera Sans Bold&quot;, &quot;Arial Black&quot;, sans serif;

/* Monospace stack */
font-family: Consolas, &quot;Andale Mono WT&quot;, &quot;Andale Mono&quot;, &quot;Lucida Console&quot;, &quot;Lucida Sans Typewriter&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Liberation Mono&quot;, &quot;Nimbus Mono L&quot;, Monaco, &quot;Courier New&quot;, Courier, monospace;</pre>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/8-great-font-stacks-for-web-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a fading magnifying glass overlay on image hover with jQuery and CSS3</title>
		<link>http://webdesignandsuch.com/create-overlay-on-image-hover-jquery-css3/</link>
		<comments>http://webdesignandsuch.com/create-overlay-on-image-hover-jquery-css3/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 14:15:05 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Slider]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=2477</guid>
		<description><![CDATA[Here's a demo of how to create a fading transparent overlay effect of  a magnifying glass when you hover over an image, using jQuery &#038; CSS3. A great way to make image galleries more user friendly.]]></description>
			<content:encoded><![CDATA[<p>A common method for setting up a quick image gallery on a website is to have small thumnbnail images which when clicked on pop open larger versions of the image <em>(using a script like Fancybox)</em>. It&#8217;s a good idea to have some sort of effect on the smaller thumbnail images when they are hovered over to make it more user friendly <em>(in the same way you might change the color of a text link when hovered over)</em>. One simple method is to put a colored border around the image with CSS and change the color of the border when hovered over. Another more exciting option is to apply a background shadow behind the image with CSS3 when hovered over. I&#8217;ve used both of these methods on multiple websites, but wanted a more exciting solution.</p>
<h3>The Idea</h3>
<p>What I decided to create was a transparent image overlay when hovered on. So when you hover over the image you would see a magnifying glass icon over a transparent black background. This would make it easy for the user to see where they are on the page. Another reason this method is better than simply changing the border color is that the magnifying glass gives an indication that the image will zoom in or expand when clicked on. I&#8217;ve create two ways of accomplishing this effect, one used jQuery, and the other uses only CSS3.</p>
<h3>The Solution</h3>
<p><img src="http://webdesignandsuch.com/wp-content/uploads/jquery-fade1.jpg" alt="jquery fade image" title="jquery fade image" width="443" height="338" class="alignnone size-full wp-image-2696" /></p>
<p>Both methods use similar techniques, the only difference is weather they use jQuery or CSS for fading the opcaity. There is an image wrapped in a link. Inside of this link there is a span element. By setting the span to display block, setting the width and height of the span, and setting a higher z-index than the image; the span element covers the image. By setting the background image and color the span element hides the original image. Setting the opacity to zero on the span element allows the thumbnail image to be seen. To create the overlay effect we simply change the opacity of the span element to 70% <em>(or whatever you want to use for your project)</em>. One method uses jQuery to apply this opacity, the other method uses CSS3 transitions and opacity settings.</p>
<p><strong>Check out the demo, and grab the free download.</strong></p>
<div class="postButtons">
<div class="double"><a href="http://webdesignandsuch.com/posts/jquery-image-rollover/" class="demo">Demo</a><a href="http://webdesignandsuch.com/posts/jquery-image-rollover/jquery-image-rollover.zip" class="download">Download</a></div>
</div>
<h3 style="margin-top:40px">jQuery Method</h3>
<p>The jQuery method is cross browser safe, and unlike the CSS3 method fades the magnifying glass both in AND out. This method uses jQuery to set the opacity of the span element when hovered over. Here is the HTML for this method:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;a class=&quot;image&quot;  href=&quot;#&quot;&gt;
	&lt;span class=&quot;roll&quot; &gt;&lt;/span&gt;
	&lt;img class=&quot;imgborder&quot; alt=&quot;&quot; src=&quot;images/pic.jpg&quot;&gt;
&lt;/a&gt;
</pre>
<p>Here is the CSS for this method:</p>
<pre class="brush: css; title: ; notranslate">
span.roll {
	background:url(images/mag.png) center center no-repeat #000;
	height: 346px;
	position: absolute;
	width: 347px;
	z-index: 10;
	-webkit-box-shadow: 0px 0px 4px #000;
	-moz-box-shadow: 0px 0px 4px  #000;
	box-shadow: 0px 0px 4px  #000;
}</pre>
<p>And the jQuery:</p>
<pre class="brush: jscript; title: ; notranslate">
$(function() {
// OPACITY OF BUTTON SET TO 0%
$(&quot;.roll&quot;).css(&quot;opacity&quot;,&quot;0&quot;);

// ON MOUSE OVER
$(&quot;.roll&quot;).hover(function () {

// SET OPACITY TO 70%
$(this).stop().animate({
opacity: .7
}, &quot;slow&quot;);
},

// ON MOUSE OUT
function () {

// SET OPACITY BACK TO 50%
$(this).stop().animate({
opacity: 0
}, &quot;slow&quot;);
});
});
</pre>
<h3 style="margin-top:40px">CSS3 Method</h3>
<p>With the increasing support for CSS3 in modern browsers I just had to try this method using CSS3 opacity and transitions. Here&#8217;s the HTML for the CSS (no javascript used) method:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;a class=&quot;image&quot;  href=&quot;#&quot;&gt;
	&lt;span class=&quot;rollover&quot; &gt;&lt;/span&gt;
	&lt;img class=&quot;imgborder&quot; alt=&quot;&quot; src=&quot;images/pic2.jpg&quot;&gt;
&lt;/a&gt;
</pre>
<p>Here&#8217;s the CSS, where all the magic happens:</p>
<pre class="brush: css; title: ; notranslate">
span.rollover {
	opacity: 1;
	-o-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-webkit-transition: -webkit-transform 1s;
	background:url(images/mag.png) center center no-repeat #000;
	cursor: pointer;
	height: 346px;
	width: 347px;
	position: absolute;
	z-index: 10;
	opacity: 0;
}

span.rollover:hover {
	opacity: .7;
	-o-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-webkit-transition: -webkit-transform 1s;
	-webkit-box-shadow: 0px 0px 4px #000;
	-moz-box-shadow: 0px 0px 4px #000;
	box-shadow: 0px 0px 4px #000;
}
</pre>
<p>Credits:<br />
<a href="http://www.hv-designs.co.uk/2010/01/13/learn-how-to-add-a-jquery-fade-in-and-out-effect/" target="_blank">jQuery Fade Script</a><br />
<a href="http://www.iconfinder.com/icondetails/16966/128/find_magnifying_glass_search_zoom_icon" target="_blank">Magnifying Glass Image</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/create-overlay-on-image-hover-jquery-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Center a Website with CSS</title>
		<link>http://webdesignandsuch.com/how-to-center-a-website-with-css/</link>
		<comments>http://webdesignandsuch.com/how-to-center-a-website-with-css/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 14:25:21 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=2516</guid>
		<description><![CDATA[Centering your website within the browser window is a pretty simple process. With a few lines of CSS this can be accomplished. Here's how!]]></description>
			<content:encoded><![CDATA[<p>Centering your website within the browser window is a pretty simple process. With a few lines of CSS this can be accomplished. The first step is to zero out your margins. The second step is to set text-align to center (for older versions of Internet Explorer). The final step is to set a width on the outer container of your content, set the margin to &#8217;0 auto&#8217;, and set the text alignment back to left. Here is the CSS that you&#8217;ll need:</p>
<pre class="brush: css; title: ; notranslate">
/* zero out margins */
*{
   margin:0;
   padding:0
}

/* this is needed for IE */
body {
   text-align:center
}

/* main container, make sure to set a width */
#container {
   width:960px;
   margin:0 auto;
   text-align:left;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/how-to-center-a-website-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Post-it Note with CSS3</title>
		<link>http://webdesignandsuch.com/create-a-post-it-note-with-css3/</link>
		<comments>http://webdesignandsuch.com/create-a-post-it-note-with-css3/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 15:17:17 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Slider]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=2452</guid>
		<description><![CDATA[If you need to put a quick note on a website, why not use a Post-it note? There's no need to use any images now that we have good old CSS3. We can use some nice handwritten text, skew the note to the side, even add a shadow.]]></description>
			<content:encoded><![CDATA[<p>If you need to put a quick note on a website, why not use a Post-it note? There&#8217;s no need to use any images now that we have CSS3. We can use some nice handwritten text, skew the note to the side, even add a shadow.</p>
<div class="postButtons">
<div class="single"><a href="http://webdesignandsuch.com/posts/css3-post-it/index.html" class="demo">Download</a></div>
</div>
<p>Here&#8217;s the CSS used for the Post-it in the demo <em>(which is a div with class &#8220;post-it&#8221;)</em>.</p>
<pre class="brush: css; title: ; notranslate">
.post-it {
background:#fefabc;
padding:15px;
font-family: 'Gloria Hallelujah', cursive;
font-size:15px;
color: #000;
width:200px; 

-moz-transform: rotate(7deg);
-webkit-transform: rotate(7deg);
-o-transform: rotate(7deg);
-ms-transform: rotate(7deg);
transform: rotate(7deg);

box-shadow: 0px 4px 6px #333;
-moz-box-shadow: 0px 4px 6px #333;
-webkit-box-shadow: 0px 4px 6px #333;

}</pre>
<p>You can customize your CSS Post-it note by changing the background color, changing how much the note is rotated, or changing the font. Here is the font I used for the demo: <a href="http://www.google.com/webfonts#QuickUsePlace:quickUse/Family:Gloria+Hallelujah" target="_blank"><strong>Gloria Hallelujah</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/create-a-post-it-note-with-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

