<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: Correcting the 20 pro tips (.NET magazine)</title> <atom:link href="http://friendlybit.com/css/correcting-the-20-pro-tips/feed/" rel="self" type="application/rss+xml" /><link>http://friendlybit.com/css/correcting-the-20-pro-tips/</link> <description>You have found Friendly Bit, a web development blog. I focus on client side technologies like CSS, HTML and Javascript. You find my articles below and categories to the right.</description> <lastBuildDate>Fri, 12 Mar 2010 22:50:44 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Emil Stenström</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-4185</link> <dc:creator>Emil Stenström</dc:creator> <pubDate>Thu, 31 Aug 2006 19:57:44 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-4185</guid> <description>@Brian: The .NET article is aimed at beginners and got a lot of exposure on big CSS sites. Since I find it slightly annoying with errors when I&#039;m learning myself I thought that it might help someone else too. The things pointed out are things that I consider are best practices and I&#039;ve not seen much complaints in the comments (believe me, people notice those things here ;) so I think they agree.On inline CSS: I know what they where originally thought for, that doesn&#039;t change anything :)</description> <content:encoded><![CDATA[<p>@Brian: The .NET article is aimed at beginners and got a lot of exposure on big CSS sites. Since I find it slightly annoying with errors when I&#8217;m learning myself I thought that it might help someone else too. The things pointed out are things that I consider are best practices and I&#8217;ve not seen much complaints in the comments (believe me, people notice those things here ;) so I think they agree.</p><p>On inline CSS: I know what they where originally thought for, that doesn&#8217;t change anything :)</p> ]]></content:encoded> </item> <item><title>By: Brian</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-4177</link> <dc:creator>Brian</dc:creator> <pubDate>Thu, 31 Aug 2006 13:53:27 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-4177</guid> <description>Why call these corrections? Aren&#039;t most of these opinions, or suggestions? I appreciate your suggestions, but that sounds a bit presumptuous.Re: the use of inline CSS. There is a very good reason why the W3C developed CSS with inline capability. In Dynamic web development, there are times when an inline CSS definition can be used to override an existing definition in the CSS file. This would (technically) also separate content from presentation, as the presentation data would be stored as a variable in PHP or stored in a database as opposed to being written statically in the HTML file.</description> <content:encoded><![CDATA[<p>Why call these corrections? Aren&#8217;t most of these opinions, or suggestions? I appreciate your suggestions, but that sounds a bit presumptuous.</p><p>Re: the use of inline CSS. There is a very good reason why the W3C developed CSS with inline capability. In Dynamic web development, there are times when an inline CSS definition can be used to override an existing definition in the CSS file. This would (technically) also separate content from presentation, as the presentation data would be stored as a variable in PHP or stored in a database as opposed to being written statically in the HTML file.</p> ]]></content:encoded> </item> <item><title>By: Emil Stenström</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3829</link> <dc:creator>Emil Stenström</dc:creator> <pubDate>Wed, 16 Aug 2006 13:28:52 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3829</guid> <description>@Nick Shaw: Ah, misstake on my side, I guess we all do them. I removed that correction. Thanks.</description> <content:encoded><![CDATA[<p>@Nick Shaw: Ah, misstake on my side, I guess we all do them. I removed that correction. Thanks.</p> ]]></content:encoded> </item> <item><title>By: Nick Shaw</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3727</link> <dc:creator>Nick Shaw</dc:creator> <pubDate>Thu, 10 Aug 2006 13:31:33 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3727</guid> <description>Point 6 Use simple PHP to build sites the article is right. It states the file CALLING the includes should end .php which is correct. The example (html) is the file being included in .php file.</description> <content:encoded><![CDATA[<p>Point 6 Use simple PHP to build sites the article is right. It states the file CALLING the includes should end .php which is correct. The example (html) is the file being included in .php file.</p> ]]></content:encoded> </item> <item><title>By: Rowan Lewis</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3433</link> <dc:creator>Rowan Lewis</dc:creator> <pubDate>Sun, 30 Jul 2006 11:20:23 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3433</guid> <description>Johan, I find that The GIMP tends to compress PNG images a lot better than Photoshop.I now use both Photoshop and The Gimp, simply because Photoshop makes a mess of PNGs. So instead of splicing  up my designs in Photoshop, I save them as a bitmap then open it in The GIMP :)</description> <content:encoded><![CDATA[<p>Johan, I find that The GIMP tends to compress PNG images a lot better than Photoshop.</p><p>I now use both Photoshop and The Gimp, simply because Photoshop makes a mess of PNGs. So instead of splicing  up my designs in Photoshop, I save them as a bitmap then open it in The GIMP :)</p> ]]></content:encoded> </item> <item><title>By: Emil Stenström</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3432</link> <dc:creator>Emil Stenström</dc:creator> <pubDate>Sun, 30 Jul 2006 03:27:12 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3432</guid> <description>@Johan: You might be right about the small images there. I tend not to use GIF anyways though since mixing formats on one site feels strange.About alt text: if you add it on both places you might end up with a screen reader reading your description twice, something you want to avoid. Perhaps leaving the alt text empty would be better in that case.</description> <content:encoded><![CDATA[<p>@Johan: You might be right about the small images there. I tend not to use GIF anyways though since mixing formats on one site feels strange.</p><p>About alt text: if you add it on both places you might end up with a screen reader reading your description twice, something you want to avoid. Perhaps leaving the alt text empty would be better in that case.</p> ]]></content:encoded> </item> <item><title>By: Johan</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3427</link> <dc:creator>Johan</dc:creator> <pubDate>Sat, 29 Jul 2006 20:48:52 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3427</guid> <description>&quot;why repeat the alt text?&quot;could be intentional since not all browsers show the alt as a tooltip ??</description> <content:encoded><![CDATA[<p>&#8220;why repeat the alt text?&#8221;</p><p>could be intentional since not all browsers show the alt as a tooltip ??</p> ]]></content:encoded> </item> <item><title>By: Johan</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3426</link> <dc:creator>Johan</dc:creator> <pubDate>Sat, 29 Jul 2006 20:46:35 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3426</guid> <description>&quot;Good points about image formats. Use 8-bit PNGs instead of GIF, it makes you smaller files. &quot;Not always, small gifs (eg  4K) can be smaller than saving it as png (eg 7K), when the images get larger in fliesize I never see a gif being smaller than a png in filesize. This could be a fault of Photoshop or even Fireworks to not compress enough the pngs (png-8) that is</description> <content:encoded><![CDATA[<p>&#8220;Good points about image formats. Use 8-bit PNGs instead of GIF, it makes you smaller files. &#8221;</p><p>Not always, small gifs (eg  4K) can be smaller than saving it as png (eg 7K), when the images get larger in fliesize I never see a gif being smaller than a png in filesize. This could be a fault of Photoshop or even Fireworks to not compress enough the pngs (png-8) that is</p> ]]></content:encoded> </item> <item><title>By: Jon</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3398</link> <dc:creator>Jon</dc:creator> <pubDate>Thu, 27 Jul 2006 12:39:27 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3398</guid> <description>It seems like you&#039;ve made some really good points here -- I&#039;ve just started browsing around the .NET site since coming across the article and I&#039;m intrigued... it&#039;s too bad you can only snag it in the UK.  I&#039;ll have to stick with what they publish to the Web.</description> <content:encoded><![CDATA[<p>It seems like you&#8217;ve made some really good points here &#8212; I&#8217;ve just started browsing around the .NET site since coming across the article and I&#8217;m intrigued&#8230; it&#8217;s too bad you can only snag it in the UK.  I&#8217;ll have to stick with what they publish to the Web.</p> ]]></content:encoded> </item> <item><title>By: Emil Stenström</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3384</link> <dc:creator>Emil Stenström</dc:creator> <pubDate>Wed, 26 Jul 2006 17:44:26 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3384</guid> <description>@zcorpan: Thanks for pointing out that margin is not included in IE5&#039;s width, I updated the text to reflect that.Also good points about Photoshops handling of PNGs. I use Fireworks myself (they use PNG as their default format) and have not experienced any problems with it&#039;s PNGs. Worth a note though is that the internal PNGs should not be put on the web directly, use the export option.@Nate: Thanks!</description> <content:encoded><![CDATA[<p>@zcorpan: Thanks for pointing out that margin is not included in IE5&#8217;s width, I updated the text to reflect that.</p><p>Also good points about Photoshops handling of PNGs. I use Fireworks myself (they use PNG as their default format) and have not experienced any problems with it&#8217;s PNGs. Worth a note though is that the internal PNGs should not be put on the web directly, use the export option.</p><p>@Nate: Thanks!</p> ]]></content:encoded> </item> <item><title>By: Nate</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3372</link> <dc:creator>Nate</dc:creator> <pubDate>Wed, 26 Jul 2006 13:12:35 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3372</guid> <description>I would agree with your revised list, and many of those were things I was thinking while reading through the previous article. It seemed too shallow - yours seems more solidified (practically - like NOT using inline styles and the align attribute - goes against using CSS in the first place).And, as you have said - NS4 and IE5 are dinosaurs, and so each site should check to see if they have any users from those browsers. The site I work for has NO users from NS4, at all, and a few IE5 (some are IE5 on Mac from me - which his no longer supported by Microsoft or Mac - so I have stopped supporting it as well).Nice revisions!</description> <content:encoded><![CDATA[<p>I would agree with your revised list, and many of those were things I was thinking while reading through the previous article. It seemed too shallow &#8211; yours seems more solidified (practically &#8211; like NOT using inline styles and the align attribute &#8211; goes against using CSS in the first place).</p><p>And, as you have said &#8211; NS4 and IE5 are dinosaurs, and so each site should check to see if they have any users from those browsers. The site I work for has NO users from NS4, at all, and a few IE5 (some are IE5 on Mac from me &#8211; which his no longer supported by Microsoft or Mac &#8211; so I have stopped supporting it as well).</p><p>Nice revisions!</p> ]]></content:encoded> </item> <item><title>By: zcorpan</title><link>http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3371</link> <dc:creator>zcorpan</dc:creator> <pubDate>Wed, 26 Jul 2006 12:50:51 +0000</pubDate> <guid
isPermaLink="false">http://friendlybit.com/css/correcting-the-20-pro-tips/#comment-3371</guid> <description>8) The margin is not included in the width/height calculation in IE5&#039;s box model, only the padding and border are.11) Photoshop&#039;s PNGs aren&#039;t compressed to the format&#039;s full potential, and it labels them which causes the color problems in IE. However, you can run your PNGs (and GIFs) though &lt;a href=&quot;http://advsys.net/ken/utils.htm&quot; rel=&quot;nofollow&quot;&gt;PNGOUT&lt;/a&gt; which compresses the image losslessly, and fixes the color labeling problems in IE (although not the gamma correction problems in old Safari).</description> <content:encoded><![CDATA[<p>8) The margin is not included in the width/height calculation in IE5&#8217;s box model, only the padding and border are.</p><p>11) Photoshop&#8217;s PNGs aren&#8217;t compressed to the format&#8217;s full potential, and it labels them which causes the color problems in IE. However, you can run your PNGs (and GIFs) though <a
href="http://advsys.net/ken/utils.htm">PNGOUT</a> which compresses the image losslessly, and fixes the color labeling problems in IE (although not the gamma correction problems in old Safari).</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 13/30 queries in 0.103 seconds using disk

Served from: c8.67.364a.static.theplanet.com @ 2010-03-15 13:29:19 -->