<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Adventures of an aspiring agile developer in a not-quite agile world : HTML</title><link>http://blogs.msdn.com/agilemonkey/archive/tags/HTML/default.aspx</link><description>Tags: HTML</description><dc:language>en-CA</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Back to absolute basics</title><link>http://blogs.msdn.com/agilemonkey/archive/2006/10/26/back-to-absolute-basics.aspx</link><pubDate>Thu, 26 Oct 2006 17:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:875702</guid><dc:creator>casper</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/agilemonkey/comments/875702.aspx</comments><wfw:commentRss>http://blogs.msdn.com/agilemonkey/commentrss.aspx?PostID=875702</wfw:commentRss><wfw:comment>http://blogs.msdn.com/agilemonkey/rsscomments.aspx?PostID=875702</wfw:comment><description>
&lt;p&gt;It's the little things you forgot when you stop work with any technology on a regular basis. I was bashing my head against the wall earlier for about thirty minutes trying to figure out why this code&lt;/p&gt;

&lt;pre&gt;&amp;lt;img id="sliderLeftEdge" height="4" src="slider_end.gif" width="1" &amp;gt;&lt;br&gt;&amp;lt;img id="sliderBody" height="4" src="slider_body.gif" width="100"&amp;gt;&lt;br&gt;&amp;lt;img id="sliderRighttEdge" height="4" src="slider_end.gif" width="1"&amp;gt;&lt;br&gt;&lt;/pre&gt;
&lt;p&gt;renders like this:&lt;/p&gt;

&lt;p&gt;&lt;img src="http://jedidjab.com/blog_pictures/slider_end.gif" id="sliderLeftEdge" unselectable="on" mce_src="http://jedidjab.com/blog_pictures/slider_end.gif" height="4" width="1"&gt; &lt;img src="http://jedidjab.com/blog_pictures/slider_body.gif" id="sliderBody" unselectable="on" mce_src="http://jedidjab.com/blog_pictures/slider_body.gif" height="4" width="100"&gt; &lt;img src="http://jedidjab.com/blog_pictures/slider_end.gif" id="sliderRighttEdge" unselectable="on" mce_src="http://jedidjab.com/blog_pictures/slider_end.gif" height="4" width="1"&gt;&lt;/p&gt;

&lt;p&gt;I don't want any spaces between the images! I added styles to set the margin, border, and padding all to 0 with no effect. Of course anyone who's worked with HTML for more than a day in recent history will realize that the carriage returns in the source code equate to spaces in the output; blindingly obvious for text, but somehow it just didn't click for images.&lt;/p&gt;

&lt;p&gt;So, now my code looks like this:&lt;/p&gt;

&lt;pre&gt;&amp;lt;img&lt;br&gt;id="sliderLeftEdge" src="slider_end.gif" height="4" width="1"&lt;br&gt;&amp;gt;&amp;lt;img &lt;br&gt;id="sliderBody" src="slider_body.gif" height="4" width="1"&lt;br&gt;&amp;gt;&amp;lt;img &lt;br&gt;id="sliderRighttEdge" src="slider_end.gif" height="4" width="1"&amp;gt;&lt;br&gt;&lt;/pre&gt;
&lt;p&gt;and everything is working as expected.&lt;/p&gt;
&lt;img src="http://jedidjab.com/blog_pictures/slider_end.gif" id="sliderLeftEdge" unselectable="on" height="4" width="1"&gt;&lt;img src="http://jedidjab.com/blog_pictures/slider_body.gif" id="sliderBody" unselectable="on" height="4" width="100"&gt;&lt;img src="http://jedidjab.com/blog_pictures/slider_end.gif" id="sliderRighttEdge" unselectable="on" height="4" width="1"&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=875702" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/agilemonkey/archive/tags/HTML/default.aspx">HTML</category></item></channel></rss>