<?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>WYSIWIP &#187; solutions</title>
	<atom:link href="http://zakimirza.com/blog/tag/solutions/feed/" rel="self" type="application/rss+xml" />
	<link>http://zakimirza.com/blog</link>
	<description>What You See is Work In Progress</description>
	<lastBuildDate>Wed, 23 Jul 2008 16:07:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Get rid of dotted border from links</title>
		<link>http://zakimirza.com/blog/get-rid-of-dotted-border-from-links/</link>
		<comments>http://zakimirza.com/blog/get-rid-of-dotted-border-from-links/#comments</comments>
		<pubDate>Fri, 23 Nov 2007 02:39:08 +0000</pubDate>
		<dc:creator>Zaki</dc:creator>
				<category><![CDATA[XHTML/CSS]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://zakimirza.com/blog/get-rid-of-dotted-border-from-links/</guid>
		<description><![CDATA[We&#8217;ve all seen how Firefox will add a dotted border on any links are clicked. When coupled with the Phark technique, Firefox extends that dotted border to include your extremely indented text. However there are three different solutions to this: Getting rid of the dotted border completely Stopping the border from stretching Editing the Firefox [...]]]></description>
			<content:encoded><![CDATA[	<p>We&#8217;ve all seen how Firefox will add a dotted border on any links are clicked. When coupled with the Phark technique, Firefox extends that dotted border to include your extremely indented text. However there are three different solutions to this:</p>
	<ol>
	<li>Getting rid of the dotted border completely</li>
	<li>Stopping the border from stretching</li>
	<li>Editing the Firefox default user style sheet to do solution 1 or two for all websites you visit</li>
	</ol>
	<p>The first solution will essentially turn of the border completely leaving no outline</p>
	<pre>
<code>a {
    outline: none;
}</code></pre>
	<p>before:<br />
<img src="http://zakimirza.com/blog/wp-content/uploads/2007/11/longoutline.png" alt="long dotted border around image" /></p>
	<p>After:<br />
<img src="http://zakimirza.com/blog/wp-content/uploads/2007/11/nooutline.png" alt="no dotted outline on image" /></p>
	<p>The second solution will keep the border nice and tidy with your image.</p>
	<pre>
<code>a {
    overflow: hidden;
}</code></pre>
	<p>Before:<br />
<img src="http://zakimirza.com/blog/wp-content/uploads/2007/11/longoutline.png" alt="long dotted border around image" /></p>
	<p>After:<br />
<img src="http://zakimirza.com/blog/wp-content/uploads/2007/11/smalloutline.png" alt="Tidy dotted outline border" /></p>
	<p>Lastly if you&#8217;re annoyed by the border as much as I am, there are two ways to perform either one of these solutions using the Firefox user style sheet.</p>
	<p>But we&#8217;ll save that for the next entry.
</p>
]]></content:encoded>
			<wfw:commentRss>http://zakimirza.com/blog/get-rid-of-dotted-border-from-links/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>Image Replacement using CSS</title>
		<link>http://zakimirza.com/blog/image-replacement-using-css/</link>
		<comments>http://zakimirza.com/blog/image-replacement-using-css/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 04:54:19 +0000</pubDate>
		<dc:creator>Zaki</dc:creator>
				<category><![CDATA[XHTML/CSS]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://zakimirza.com/blog/image-replacement-using-text-indent/</guid>
		<description><![CDATA[Most web designers have all used one sort of image replacement technique somewhere. (This blog uses sIFR for the title) However the most common method for image replacement is the Revised Phark Method. This method still allows for semantic XHTML code and is accessible to screen readers. The technique is quite simple, you use the [...]]]></description>
			<content:encoded><![CDATA[	<p>Most web designers have all used one sort of image replacement technique somewhere. <del datetime="2008-03-25T14:14:55+00:00">(This blog uses <a href="http://www.mikeindustries.com/sifr" title"Mike Davidson's creator of sIFR">sIFR</a> for the title)</del> However the most common method for image replacement is the <a href="http://www.mezzoblue.com/tests/revised-image-replacement/" title"David Shea's article on image replacement">Revised Phark Method</a>. This method still allows for semantic XHTML code and is accessible to screen readers.</p>
	<p>The technique is quite simple, you use the text-indent CSS property and indent your text negatively so far off the screen it doesn&#8217;t show up. Designers have come to adopt -9999px or -9000px. This value insures that if you have a right aligned header and the site is being displayed on a large monitor, your text will still be pushed off screen.</p>
	<p>Using this method you can put push your text off the screen and replace it with an image or logo and still have semantic and accessible XHTML. Of course you can also link it so that it returns to your home page as is generally practiced. </p>
	<pre>
<code>&lt;h3 id="header"&gt;
	Company Name
&lt;/h3&gt;</code></pre>
	<p>In the CSS you want to make sure that you define a width and height for the image, otherwise the element will colapse onto itself.</p>
	<pre>
<code>/* css */
#header {
	text-indent: -9999px;
	background: url(logo.gif);
        width: 300px:
	height: 25px;
	}</code></pre>
	<p>This code shows how you can replace an &lt;h1&gt; tag with an image, yet keeping the &lt;h1&gt; visible to screen readers and search engine robots. However Firefox creates slight problem with links. Theres a thin dotted outline around the tags. Ever since version 1.5 Firefox has started to include the -9999px indention, so the border goes to the far left of the screen at when the link is clicked.</p>
	<p>In the next entry we&#8217;ll see how to get rid of the dotted line border on the links in Firefox.
</p>
]]></content:encoded>
			<wfw:commentRss>http://zakimirza.com/blog/image-replacement-using-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A List Of Things NOT To Do On Your Website</title>
		<link>http://zakimirza.com/blog/a-list-of-things-not-to-do-on-your-website/</link>
		<comments>http://zakimirza.com/blog/a-list-of-things-not-to-do-on-your-website/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 01:20:32 +0000</pubDate>
		<dc:creator>Zaki</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[XHTML/CSS]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://zakimirza.com/blog/a-list-of-things-not-to-do-on-your-website/</guid>
		<description><![CDATA[OK AOL kiddies and other high school webmasters&#8230; today&#8217;s lesson in Webmastering 101 class is a list of things NOT to do on your website. Everything on this list is obvious yet I see it happen all the time. Most of what’s on this list, everyone already knows, however people STILL feel it absolutely necessary [...]]]></description>
			<content:encoded><![CDATA[	<p>OK AOL kiddies and other high school webmasters&#8230; today&#8217;s lesson in Webmastering 101 class is a list of things NOT to do on your website.</p>
	<p>Everything on this list is obvious yet I see it happen all the time. Most of what’s on this list, everyone already knows, however people STILL feel it absolutely necessary to do. This is simply a list of things you should not do on a website. Period.</p>
	<p><strong>Splash pages.</strong> If I have to choose high or low bandwidth before entering your website you&#8217;ve failed. This is 2007. There is no need for splash pages anymore&#8230; personally I don&#8217;t think there ever was. From an SEO standpoint having a splash page can be very hurtful towards your rankings. Search engine spiders will index your splash page instead of your home page and usually a splash page consist of flash or some other form of media such as a picture. The only actual text content on a traditional splash page is the &#8220;skip intro&#8221; link. Users with dial up or even slow broadband will become frustrated after waiting for your page to load up only to find its a splash page and no actual content is on there. You want to make it easy as possible for users to navigate your website, and you want them to do as little work as possible. Having them wait for a splash page and then click &#8220;continue&#8221; goes against this principle.<br />
<span id="more-25"></span><br />
<strong>On going music.</strong> Unless you have a couple of hit albums there is no reason you should be playing music on your website. I&#8217;m usually listening to my own music when I&#8217;m on the computer, the last thing I need is for your website to add its own soundtrack. Music on a site is usually done wrong in the first place. Why is your song restarting each time I go to a new page or refresh the current one? If you&#8217;re going to do something unpleasing at least learn how to do it right so its not that much more unpleasant. Again users on a low bandwidth connection and search engine spiders will come across your site and leave. This is an age of instant gratification especially on the Internet. If you really really want music because it just happens to be your favorite song of the week, please allow the user to stop the song, and don’t do it on page load.</p>
	<p><strong>Multiple video formats</strong> on the web are irrelevant in 2007. How many of you ACTUALLY have real player installed? C&#8217;mon don’t be shy now&#8230; ok 3 of you. Good. How many of you have flash player installed? Oh everyone who&#8217;s ever watched a video on YouTube. Hmmm does that tell you something? Flash has become the default player for delivering video on the web, stop using Real Player, or window media player. Stick with what works best.</p>
	<p><strong>JavaScript Links</strong>. C&#8217;mon people enough I cant stress enough what year it is&#8230; If I can’t right click and open in a new tab/window you&#8217;ve failed. This is a huge usability flaw. Like most web savvy users, I user Firefox, and if I can’t use its built in tab feature then that’s almost as bad as&#8230;</p>
	<p>You <strong>resizing the user&#8217;s browser</strong> how DARE YOU! I am browsing your website with the settings I want. Resizing the users browser is a huge flaw. First of all you don’t need to be doing any more. Who uses 640&#215;480 even 800&#215;600 is out the door. 1024&#215;768 should give you PLENTY of room to design your website without having to launch external content in a new resized browser window. At least put up some sort of notice that says, &#8220;This link will resize your browser&#8221; I wonder how many would actually click then&#8230; that alone should tell you something.</p>
	<p>This will be an on going list. Stay tuned for more!
</p>
]]></content:encoded>
			<wfw:commentRss>http://zakimirza.com/blog/a-list-of-things-not-to-do-on-your-website/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
