<?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>The Bright Lines &#187; Photoshop</title>
	<atom:link href="http://www.thebrightlines.com/category/photoshop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thebrightlines.com</link>
	<description>HTML, CSS, Javascript and more</description>
	<lastBuildDate>Tue, 17 Jan 2012 22:00:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Do you create your design in Photoshop or Notepad?</title>
		<link>http://www.thebrightlines.com/2010/01/07/do-you-create-your-design-in-photoshop-or-notepad/</link>
		<comments>http://www.thebrightlines.com/2010/01/07/do-you-create-your-design-in-photoshop-or-notepad/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 23:22:14 +0000</pubDate>
		<dc:creator>Wouter Bos</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://www.thebrightlines.com/?p=349</guid>
		<description><![CDATA[Do you show your client static pictures of the web design or do you code the mockup in HTML?]]></description>
			<content:encoded><![CDATA[<p>Recently Meagan Fisher published an <a href="http://24ways.org/2009/make-your-mockup-in-markup">article in which she discusses an alternative way to present a web design</a> to a client: Don&#8217;t emulate it in Photoshop, but build it in HTML and CSS. There are some advantages to it. A client can see more than just the design. He/she can also see:</p>
<ul>
<li>Behaviour of the fluid design</li>
<li>Interaction like hovers</li>
<li>How the website looks in different browsers</li>
</ul>
<p>On top of it, she also mentions some disadvantages of using Photoshop:</p>
<ul>
<li>It crashes, leaving you with hours of work lost.</li>
<li>Font rendering sucks</li>
</ul>
<h2>Photoshop is still king</h2>
<p>Although creating a website directly in HTML has it advantages, I think designing in Photoshop is better in most cases.</p>
<h3>Photoshop is faster</h3>
<p>Yes, a simple design could well be created directly in HTML. But not all designs are simple. Changing a background color is easy in CSS, but dragging columns around, changing or altering visuals and all kind of other alterations are quicker in Photoshop. Designs can change dramatically before it is finally approved by the client. Those changes are quicker done in Photoshop.</p>
<h3>Photoshop is static</h3>
<p>Being static isn&#8217;t not just a disadvantage. A static design is in fact helpful because it helps you focus on how a website should look like and not be bogged down by browser incompatibilities. This too gives you extra speed in designing.</p>
<h3>Photoshop is versatile</h3>
<p>Just because CSS can do stuff like round corners and text shadows in some browsers, doesn&#8217;t mean it has become a designing tool. Photoshop can do more than just that.  When designing in HTML I start to think too much in the constraints that both HTML and CSS have. In Photoshop I have much more design choices. Because of that I&#8217;m able to think more out of the box.</p>
<h2>Crashes and font rendering</h2>
<p>I was suprised that Photoshop crashes are mentioned as a major problem. I consider Photoshop as a very reliable product. The only problem is that saving can take a while, so not everyone saves regularly. If you don&#8217;t save regularly you&#8217;re asking for trouble. Even with stable products.</p>
<p>The issue with font rendering is indeed a problem, but that&#8217;s more an issue for designers. Clients don&#8217;t even know it&#8217;s an issue. They&#8217;ll only notice differences when they&#8217;re dramatic like with webfonts. Just compare this weblog between Apple Safari and IE on the PC: it&#8217;s hard <em>not</em> to see the difference.</p>
<h2>My preference</h2>
<p>Since I&#8217;m a web developer I ought to be tempted to skip Photoshop and start coding right away. But that&#8217;s not the case. I designed my blog twice last year. In both cases I chose to do the basic design in Photoshop. Only when I was happy with that basic design, I started developing and added extra elements on the fly. The current design of my blog could just as easy be built in HTML/CSS from the start, but I&#8217;m convinced it&#8217;s better to work in Photoshop first.</p>


<p>Related posts:<ol><li><a href='http://www.thebrightlines.com/2009/12/26/differences-between-photoshop-web-design-and-html-part-1-line-height/' rel='bookmark' title='Permanent Link: Differences between Photoshop web design and HTML. Part 1: line height'>Differences between Photoshop web design and HTML. Part 1: line height</a></li>
<li><a href='http://www.thebrightlines.com/2009/11/05/3-tips-for-making-css-sprites-in-photoshop/' rel='bookmark' title='Permanent Link: 3 Tips for making CSS sprites in Photoshop'>3 Tips for making CSS sprites in Photoshop</a></li>
<li><a href='http://www.thebrightlines.com/2011/09/03/the-grey-areas-of-progressive-enhancement/' rel='bookmark' title='Permanent Link: The grey areas of progressive enhancement'>The grey areas of progressive enhancement</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thebrightlines.com/2010/01/07/do-you-create-your-design-in-photoshop-or-notepad/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Differences between Photoshop web design and HTML. Part 1: line height</title>
		<link>http://www.thebrightlines.com/2009/12/26/differences-between-photoshop-web-design-and-html-part-1-line-height/</link>
		<comments>http://www.thebrightlines.com/2009/12/26/differences-between-photoshop-web-design-and-html-part-1-line-height/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 00:41:15 +0000</pubDate>
		<dc:creator>Wouter Bos</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[first-child]]></category>
		<category><![CDATA[line-height]]></category>
		<category><![CDATA[paragraph]]></category>

		<guid isPermaLink="false">http://www.thebrightlines.com/?p=293</guid>
		<description><![CDATA[Discusses the different effects when setting the line-height in Photoshop and in HTML. It's something to keep in mind when converting PSD to HTML/CSS.]]></description>
			<content:encoded><![CDATA[<p>Photoshop is *the* tool for designing websites. To illustrate its popularity: In my 10 years in web development I hardly encountered anything else. Attempts to design websites in line drawings always failed. In those few cases a design firm did sent their webdesign in Illustrator or PDF, it would have a fair chance of being converted to Photoshop by hand before any HTML was written.</p>
<p>But like anything Photoshop has its weak points. And since we humans tend to focus on those tiny grains of imperfections I decided to sum up the troubles you can encounter when converting a Photoshop document into to a real website.</p>
<h2>Line height between paragraphs</h2>
<p>One thing that definitely can be confusing is the line height of text. When increasing the line height in Photoshop by setting the &#8216;leading&#8217;, the extra space is added <em>above</em> the text. In HTML That extra space is distributed <em>above and below</em> the text. Below you can see the differences next to each other.</p>
<div class="wp-caption alignleft" style="width: 167px"><img title="A large line-height in Photoshop adds space above the text" src="/article-data/images/Photoshop-1.png" alt="A large line-height in Photoshop adds space above the text" width="157" height="103" /><p class="wp-caption-text">A large line-height in Photoshop adds space above the text</p></div>
<div class="wp-caption alignleft" style="width: 167px"><img title="A large line-height in HTML/CSS adds space above and below the text" src="/article-data/images/Photoshop-2.png" alt="A large line-height in HTML/CSS adds space above and below the text" width="157" height="103" /><p class="wp-caption-text">A large line-height in HTML/CSS adds space above and below the text</p></div>
<div class="wp-caption alignleft" style="width: 223px"><img title="Activate this window in the menu throught Window &gt; Character" src="/article-data/images/Photoshop-3.png" alt="Activate this window in the menu throught Window &gt; Character" width="213" height="214" /><p class="wp-caption-text">Activate this window in the menu throught Window &gt; Character</p></div>
<p>Many designers use line-height to create paragraphs. So if you want to know how much margin you have to set on paragraphs, you have to look at line-height of the first line in a paragraph. In short: <strong>Line-height of the first line &#8211; default line-height = the margin between paragraphs</strong>. That&#8217;s why I never look at the line height of the first line of text in a paragraph in Photoshop.</p>
<h2>Line height of the first line in a text box</h2>
<p>Another thing to be aware of is that the line-height has <em>absolutely no effect in the first line of a text box</em>. So it doesn&#8217;t matter if you set the line-height to 20px or 40px. No extra white space is added on top of the text. HTML does not follow Photoshop&#8217;s behaviour.</p>
<p>Because of that you have to be aware that different styles with different line heights in a website can push the whole text box up or down. That&#8217;s especially important when the first line of a text box should align with some box or image on the left or right as you can see in the examples below.</p>
<div class="wp-caption alignleft" style="width: 260px"><img title="The solid box and text box are aligned (line-height: 20px)." src="/article-data/images/Photoshop-4.png" alt="The solid box and the text box are aligned (line-height: 20px)." width="250" height="105" /><p class="wp-caption-text">The solid box and the text box are aligned (line-height: 20px).</p></div>
<div class="wp-caption alignleft" style="width: 260px"><img title="...but when a heading is added with 40px line-height it does not align anymore." src="/article-data/images/Photoshop-5.png" alt="...but when a heading is added with 40px line-height it does not align anymore." width="250" height="105" /><p class="wp-caption-text">...but when a heading is added with 40px line-height it does not align anymore.</p></div>
<p>You could fix the problem above with this CSS:</p>
<pre class="css:nogutter">.textBox h1:first-child {
    margin-top: -10px; /* only half of the extra line-height has to be compensated */
    font-size: 20px;
    line-height: 40px;
}</pre>
<p>The <code>first-child</code> selector ensures us that the negative margin is only used on something that&#8217;s on the very top of the text-box. As already said, the line-height is distributed above and below the text. So we only have to compensate for the extra space on the upper part of the line. So:</p>
<p><strong>40px</strong> (line-height) <strong>- 20px</strong> (font-size) <strong>= 10px</strong> (the value for our negative top margin).</p>


<p>Related posts:<ol><li><a href='http://www.thebrightlines.com/2010/01/07/do-you-create-your-design-in-photoshop-or-notepad/' rel='bookmark' title='Permanent Link: Do you create your design in Photoshop or Notepad?'>Do you create your design in Photoshop or Notepad?</a></li>
<li><a href='http://www.thebrightlines.com/2009/11/05/3-tips-for-making-css-sprites-in-photoshop/' rel='bookmark' title='Permanent Link: 3 Tips for making CSS sprites in Photoshop'>3 Tips for making CSS sprites in Photoshop</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thebrightlines.com/2009/12/26/differences-between-photoshop-web-design-and-html-part-1-line-height/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

