<?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>My Home Sweet Home &#187; web design</title>
	<atom:link href="http://myhomesweethomeonline.net/category/photography/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://myhomesweethomeonline.net</link>
	<description>Decorated with Family, Faith, and Photoshop</description>
	<lastBuildDate>Sun, 05 Feb 2012 00:15:45 +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>Works for Me Wordless Wednesday: Adding Borders to Your Photos with CSS</title>
		<link>http://myhomesweethomeonline.net/2009/04/21/works-for-me-wordless-wednesday-framing-your-photos-with-css/</link>
		<comments>http://myhomesweethomeonline.net/2009/04/21/works-for-me-wordless-wednesday-framing-your-photos-with-css/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 21:29:16 +0000</pubDate>
		<dc:creator>Dawn</dc:creator>
				<category><![CDATA[Lightroom]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[WFMW]]></category>
		<category><![CDATA[Wordless Wednesday]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[photo borders]]></category>
		<category><![CDATA[style sheet]]></category>

		<guid isPermaLink="false">http://myhomesweethomeonline.net/?p=3943</guid>
		<description><![CDATA[[I know it sounds like I've jumbled my memes, but I wanted to share something I did on my blog over the weekend that I thought might work for both Wordless Wednesday and Works for Me Wednesday.] I have established a photography work flow in Lightroom and I upload straight to Flickr for my blog. [...]<p><p><a href="http://myhomesweethomeonline.net/2009/04/21/works-for-me-wordless-wednesday-framing-your-photos-with-css/">Works for Me Wordless Wednesday: Adding Borders to Your Photos with CSS</a> is a post from: <a href="http://myhomesweethomeonline.net">My Home Sweet Home</a><br />
  &copy; 2012 My Home Sweet Home | All rights reserved
</p></p>
]]></description>
			<content:encoded><![CDATA[<p></p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class="tweetmeme_button" style="float: left; margin-right: 10px; margin-top: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmyhomesweethomeonline.net%2F2009%2F04%2F21%2Fworks-for-me-wordless-wednesday-framing-your-photos-with-css%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmyhomesweethomeonline.net%2F2009%2F04%2F21%2Fworks-for-me-wordless-wednesday-framing-your-photos-with-css%2F&amp;source=DawnMHSH&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>[I know it sounds like I've jumbled my memes, but I wanted to share something I did on my blog over the weekend that I thought might work for both Wordless Wednesday and Works for Me Wednesday.]</p>
<p>I have established a photography work flow in Lightroom and I upload straight to Flickr for my blog. However, I love the look of borders around photos (look at the nice, subtle ones at <a href="http://digital-photography-school.com/survey-the-edges-of-your-image" target="_blank">Digital Photography School</a>); I just don&#8217;t want to take the extra step to add them in Photoshop.</p>
<p>This weekend I decided to add a little code to my blog&#8217;s style sheet, enabling me to easily frame the borderless photos I use. At first I decided to use black; it looks nice with most photos, especially black and white. It proved to be a little too much when used with a series of photos in a row – primarily because of the other colors on my blog – so I coded a second border option, using the subtle grayish shade that wraps around the content area of my blog (just inside of the background patterned area).</p>
<p>Here are examples of each:</p>
<p style="text-align: center;"><a title="0904_LilyPark_054 by DawnMHSH, on Flickr" href="http://www.flickr.com/photos/dawnmhsh/3463575916/"><img class="framed aligncenter" src="http://farm4.static.flickr.com/3659/3463575916_7443913fdb.jpg" alt="0904_LilyPark_054" width="334" height="500" /></a></p>
<p style="text-align: center;"><a title="0904_LilyPark_078 by DawnMHSH, on Flickr" href="http://www.flickr.com/photos/dawnmhsh/3463554132/"><img class="bframed aligncenter" src="http://farm4.static.flickr.com/3562/3463554132_7a5e9585c4.jpg" alt="0904_LilyPark_078" width="334" height="500" /></a></p>
<p>Here&#8217;s where you&#8217;ve got to pay attention, because <strong>it takes two steps to make this work</strong>: adding the code to your style sheet, and adding a bit of code in HTML view <em>when you post your pictures</em>. We&#8217;re creating image classes that can be applied to your photos. I&#8217;ll explain what the code means, too, because if you&#8217;re like me you want to understand it (and if you don&#8217;t, you can just skip that part!).</p>
<p>The style sheet is the CSS file on a WordPress blog; on Blogger, the style sheet is found at the top of your one-page template. Here&#8217;s what I added to mine:</p>
<p>img.framed {<br />
padding: 12px;<br />
background: #d4cfbb;<br />
}</p>
<p>img.bframed {<br />
padding: 12px;<br />
background:#000000;<br />
}</p>
<p>The top one (.img.framed) makes the lighter colored border (you can make it any color you want, just use the <a href="http://lorelle.wordpress.com/2005/11/21/designing-a-rainbow-sexy-hot-colors/" target="_blank">hexadecimal color code</a>), and the bottom one (img.bframed) adds the black one (I put the &#8220;b&#8221; in front on the black one, so I could remember it – plus it&#8217;s got to be different than the other one). What you&#8217;re doing is adding a colored background behind your photo. The padding determines how far it extends beyond the edges of the photo. I used 12 pixels; you can use more or less, whatever looks best on your blog.</p>
<p>Just adding this to your style sheet <em>will do absolutely nothing</em>. You have to add a tiny bit of code to your photos in HTML view when creating your post. If you&#8217;ve ever looked at the code for one of your photos, it looks something like this:</p>
<p>&lt;img src=&#8221;http://farm4.static.flickr.com/3562/3463554132_7a5e9585c4.jpg&#8221; width=&#8221;334&#8243; height=&#8221;500&#8243; alt=&#8221;0904_LilyPark_078&#8243; /&gt;</p>
<p>What we&#8217;ve created is called an image class. Within that code (be sure you&#8217;re in the bracketed area that starts with &#8220;img&#8221;), add <span style="color: #ff0000;">class=&#8221;bframed&#8221;</span> and you&#8217;ve added the black border, like this:</p>
<p>&lt;img src=&#8221;http://farm4.static.flickr.com/3562/3463554132_7a5e9585c4.jpg&#8221; <span style="color: #ff0000;">class=&#8221;bframed&#8221;</span> width=&#8221;334&#8243; height=&#8221;500&#8243; alt=&#8221;0904_LilyPark_078&#8243; /&gt;</p>
<p>You might want to write it down or paste it in an unpublished blog post or a text file so you don&#8217;t forget. Be sure you do it just right, with the equal sign and quotation marks. It shouldn&#8217;t take long to memorize.</p>
<p>Since the border is part of the style sheet and not connected to the image itself, you have the power to change the color of all the borders you&#8217;ve applied simply by changing it again in the style sheet!</p>
<p>Visit <a href="http://www.5minutesformom.com/" target="_blank">5 Minutes for Mom</a> or <a href="http://www.wordlesswednesday.com/" target="_blank">Wordless Wednesday</a> for more Wordless Wednesday participants. Visit <a href="http://www.wearethatfamily.com/" target="_blank">We are THAT Family</a> for more Works for Me Wednesday participants.</p>
<p><strong>Are you a photographer with white balance problems? Check out the <a href="../2009/04/14/2009/04/07/2009/03/31/category/photography/category/photography/category/photography/2009/03/03/2009/02/10/2009/02/02/how-photojojos-white-balance-lens-cap-is-saving-both-my-sanity-and-editing-time/">White Balance Lens Cap</a>!</strong></p>
<p><a title="My link to the National Association of Photoshop Professionals" href="http://www.photoshopuser.com/?aid=kgiyrc"><img src="http://www.photoshopuser.com/members/downloads/napp-referral-banners/nappad-125x125-2.jpg" alt="Where everyone learns Photoshop - National Association of Photoshop Professionals" /></a></p>
<p><p><a href="http://myhomesweethomeonline.net/2009/04/21/works-for-me-wordless-wednesday-framing-your-photos-with-css/">Works for Me Wordless Wednesday: Adding Borders to Your Photos with CSS</a> is a post from: <a href="http://myhomesweethomeonline.net">My Home Sweet Home</a><br />
  &copy; 2012 My Home Sweet Home | All rights reserved
</p></p>
<div class="shr-publisher-3943"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://myhomesweethomeonline.net/2009/04/21/works-for-me-wordless-wednesday-framing-your-photos-with-css/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Under Construction</title>
		<link>http://myhomesweethomeonline.net/2008/12/30/under-construction/</link>
		<comments>http://myhomesweethomeonline.net/2008/12/30/under-construction/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 04:16:25 +0000</pubDate>
		<dc:creator>Dawn</dc:creator>
				<category><![CDATA[features]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://myhomesweethomeonline.net/?p=2081</guid>
		<description><![CDATA[I&#8217;ve been itching to play with my template and design, and since it&#8217;s time to take down the Christmas theme, this seems like the perfect time. PLEASE give me feedback about this layout, whether you&#8217;re a first-time visitor or regular reader. I&#8217;ve had it on a test blog for months, just unable to decide whether [...]<p><p><a href="http://myhomesweethomeonline.net/2008/12/30/under-construction/">Under Construction</a> is a post from: <a href="http://myhomesweethomeonline.net">My Home Sweet Home</a><br />
  &copy; 2012 My Home Sweet Home | All rights reserved
</p></p>
]]></description>
			<content:encoded><![CDATA[<p></p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class="tweetmeme_button" style="float: left; margin-right: 10px; margin-top: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmyhomesweethomeonline.net%2F2008%2F12%2F30%2Funder-construction%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmyhomesweethomeonline.net%2F2008%2F12%2F30%2Funder-construction%2F&amp;source=DawnMHSH&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-thumbnail wp-image-2727" title="construction" src="http://myhomesweethomeonline.net/wp-content/uploads/2008/12/construction-150x150.jpg" alt="construction" width="150" height="150" />I&#8217;ve been itching to play with my template and design, and since it&#8217;s time to take down the Christmas theme, this seems like the perfect time. PLEASE give me feedback about this layout, whether you&#8217;re a first-time visitor or regular reader. I&#8217;ve had it on a test blog for months, just unable to decide whether the magazine layout would work for me. I&#8217;d like to know not only how you like the appearance, but especially the ease of navigation, too.</p>
<p>I can&#8217;t get the Featured Content Gallery to work properly yet, either. *sigh*</p>
<p>At the time I&#8217;m posting this, it will be a sloppy mess &#8211; give me a little time to tweak</p>
<p><p><a href="http://myhomesweethomeonline.net/2008/12/30/under-construction/">Under Construction</a> is a post from: <a href="http://myhomesweethomeonline.net">My Home Sweet Home</a><br />
  &copy; 2012 My Home Sweet Home | All rights reserved
</p></p>
<div class="shr-publisher-2081"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://myhomesweethomeonline.net/2008/12/30/under-construction/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

