<?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>Mark as Unread</title>
	<atom:link href="http://markasunread.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://markasunread.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 19 Jan 2010 05:33:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Zoom bug in IE7/8 and Firefox caused by border</title>
		<link>http://markasunread.com/2009/06/zoom-bug-in-ie78-and-firefox-caused-by-border/</link>
		<comments>http://markasunread.com/2009/06/zoom-bug-in-ie78-and-firefox-caused-by-border/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 22:48:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[web design]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://markasunread.com/?p=61</guid>
		<description><![CDATA[UPDATE:  As of Jan 2009, this bug is still appearing in the latest release of Firefox 3.5.7  The bug was fixed at some point in Firefox 3, but it has reappeared 

After ranting on twitter for the last few hours, I realized it might be more helpful for the web development community to write a [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>UPDATE:  As of Jan 2009, this bug is still appearing in the latest release of Firefox 3.5.7  The bug was fixed at some point in Firefox 3, but it has reappeared <img src='http://markasunread.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
</strong></span></p>
<p>After ranting on twitter for the last few hours, I realized it might be more helpful for the web development community to write a more thorough explanation of the bug that I've recently discovered.</p>
<p><em>This bug relates to both Internet Explorer 7/8 and Firefox 3.</em></p>
<h3>The bug in action:</h3>
<p><a href="http://markasunread.com/examples/zoombug.html">http://markasunread.com/examples/zoombug.html</a></p>
<p>If you have a fixed width element containing floated elements that take up 100% of the that container's width, and any of those elements have a border, zooming below 100% will cause the floats to break or wrap below the adjacent floated element. A small border will trigger the break quicker than a larger border.</p>
<h3>Why nitpick?</h3>
<p>This could actually cause a website to be unusable when zoomed down.  If you have a sidebar with navigation floated and that sidebar has a 1 pixel border... ouch.  Your navigation will probably wrap underneath your main area... probably below the wrap.  Site navigation gone.</p>
<h3>The HTML:</h3>
<p>This is the first set of divs.  Just a container "a" with floated "b" and "c" inside of it.</p>
<p><code>&lt;div class="a"&gt;<br />
&lt;div class="b"&gt;div b&lt;/div&gt;<br />
&lt;div class="c"&gt;div c&lt;/div&gt;<br />
&lt;/div&gt;</code><br />
In the second set of divs, I've added a wrapper of "border" so that I can add a border to it and reduce its width (for proper box-model width total) with the CSS.</p>
<p><code>&lt;!--add a "border" div to set .b border and reduce its width--&gt;<br />
&lt;div id="border"&gt;<br />
&lt;div class="a"&gt;<br />
&lt;div class="b"&gt;div b&lt;/div&gt;<br />
&lt;div class="c"&gt;div c&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
</code></p>
<h3>The CSS:</h3>
<p><code>.a {<br />
width:200px;<br />
}<br />
.b {<br />
float:left;<br />
width: 100px;<br />
background:#FCC;<br />
}<br />
.c {<br />
float:right;<br />
width:100px;<br />
background:#9FC;<br />
}<br />
#border .b{<br />
width:98px;<br />
border: 1px solid black;<br />
}<br />
</code><br />
Below is a screenshot of how the code renders at 100% zoom in IE7/8 as well as Firefox 3:</p>
<div id="attachment_62" class="wp-caption alignnone" style="width: 257px"><img class="size-full wp-image-62" title="screenshot" src="http://markasunread.com/wp-content/upLoads/screenshot.gif" alt="code rendered at 100% zoom in IE7/8 and Firefox (acutally... all modern browsers :P)" width="247" height="101" /><p class="wp-caption-text">Code rendered at 100% zoom in IE7/8 and Firefox (acutally... all modern browsers)</p></div>
<p>Now, here is what it looks like if you zoom down to anything below 100% (I'm using 99% here just so you can easily see the elements, but the results are similar for all zoom percentages below 100%)</p>
<div id="attachment_63" class="wp-caption alignnone" style="width: 257px"><img class="size-full wp-image-63" title="screenshot2" src="http://markasunread.com/wp-content/upLoads/screenshot2.gif" alt="code rendered at 99% zoom and below.  The floated div wraps.  This is the bug" width="247" height="101" /><p class="wp-caption-text">Code rendered at 99% zoom and below.  The floated div wraps.  This is the bug</p></div>
<p>This is the simplest example I could think of.  I spent hours working math on paddings/margins/borders trying to understand why my pages were breaking when zoomed down.  I finally narrowed it down to the border.  Can anyone confirm if this is a noted bug?</p>
<h3>The Results</h3>
<p>Here is the link again for you to test the bug.<br />
<a href="http://markasunread.com/examples/zoombug.html">http://markasunread.com/examples/zoombug.html</a></p>
<p>It's worth noting that the bug is not present in Opera, Chrome, or Safari.  Also worth noting... zoom feature sucks anyway.  Why won't they trash it?</p>
<h3>Is there a fix?</h3>
<p>Unfortunately, my only suggestion is to not set the inside elements to exactly the width of their container.  Give em some breathn' room.  If the page breaks at 25% zoom, I really don't care.  But it should be able to at least zoom down 1 time <img src='http://markasunread.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://markasunread.com/2009/06/zoom-bug-in-ie78-and-firefox-caused-by-border/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>David Garrett</title>
		<link>http://markasunread.com/2009/06/david-garrett/</link>
		<comments>http://markasunread.com/2009/06/david-garrett/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 16:36:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://markasunread.com/?p=50</guid>
		<description><![CDATA[Volinist David Garrett made an appearance on the Today Show this morning.  I don't know his full story, but he said that he came to the US at an early age (I think seven) and studied at Juliard.
He played snippets of some pop and rock tunes and movie music. Then he performed Michael Jackson's [...]]]></description>
			<content:encoded><![CDATA[<p>Volinist David Garrett made an appearance on the Today Show this morning.  I don't know his full story, but he said that he came to the US at an early age (I think seven) and studied at Juliard.</p>
<p>He played snippets of some pop and rock tunes and movie music. Then he performed Michael Jackson's "Smooth Criminal."  I would call the performance "listenable."  He's definitely an accomplished violinist.  I was impressed with his accuracy, even though he tended to be a bit ahead of the beat on "Smooth Criminal" (I'm being picky here, but if you're going to play Michael Jackson and make it sound cool, you don't want to be on the front edge of the beat!)</p>
<p>Garrett has a new CD out and a US tour underway.  I'm conflicted about this CD.  On the one hand, I was really impressed with Garrett's playing.  On the other hand, why why why can't this talented musician offer the world something original and personal.  Do we really need a rocking violinists version of AC/DC's "Thunderstruck"?</p>
<p>Here the tracklist off the CD:</p>
<p>1. Summer (Vivaldi)<br />
2. Nothing Else Matters (Metallica)<br />
3. He’s A Pirate<br />
    (”Pirate’s Of The Caribbean” Theme)<br />
4. Smooth Criminal (Michael Jackson)<br />
5. Csardas (Gypsy Dance)<br />
6. Who Wants To Live Forever? (Queen)<br />
7. Thunderstruck (AC/DC)<br />
8. Ain’t No Sunshine<br />
9. Carmen Fantaisie with Paco Pena<br />
10. Air (Johann Sebastian Bach)<br />
11. Zorba’s Dance<br />
    (From “Zorba The Greek”)<br />
12. Chelsea Girl<br />
13. Rock Prelude<br />
14. Dueling Banjos (Dueling Strings) </p>
<p>The answer is, no, we don't.  Also, we don't want to hear Bill Withers on the violin.  Or, if we do, you can bet we'll only listen one time. It's kinda like an M Night Shyamalan movie... it's gimmicky.  So is most of the CD.</p>
]]></content:encoded>
			<wfw:commentRss>http://markasunread.com/2009/06/david-garrett/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Off to the river</title>
		<link>http://markasunread.com/2009/05/off-to-the-river/</link>
		<comments>http://markasunread.com/2009/05/off-to-the-river/#comments</comments>
		<pubDate>Sat, 30 May 2009 18:12:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[photos river]]></category>

		<guid isPermaLink="false">http://markasunread.com/2009/05/off-to-the-river/</guid>
		<description><![CDATA[We're off to the Buffalo to sightsee. I'm going to take my camera along to see if I can get some good pics.
I'm going to try to get some photos for a client's website as well

]]></description>
			<content:encoded><![CDATA[<p>We're off to the Buffalo to sightsee. I'm going to take my camera along to see if I can get some good pics.</p>
<p>I'm going to try to get some photos for a client's website as well</p>
<p><a href="http://markasunread.com/wp-content/upLoads/l_1600_1200_78A7A127-8F97-4C33-9F0E-DF99BE878CCE.jpeg"><img src="http://markasunread.com/wp-content/upLoads/l_1600_1200_78A7A127-8F97-4C33-9F0E-DF99BE878CCE.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://markasunread.com/2009/05/off-to-the-river/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
