<?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>Fabio Falcinelli &#187; Internet Explorer</title>
	<atom:link href="http://www.fabiofalcinelli.it/tag/internet-explorer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fabiofalcinelli.it</link>
	<description>A mix of code and photos...</description>
	<lastBuildDate>Sat, 29 May 2010 12:16:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>La vita del web designer è difficile&#8230;</title>
		<link>http://www.fabiofalcinelli.it/2009/02/la-vita-del-web-designer-e-difficile/</link>
		<comments>http://www.fabiofalcinelli.it/2009/02/la-vita-del-web-designer-e-difficile/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 08:31:57 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PNG]]></category>

		<guid isPermaLink="false">http://fabiofalcinelli.netsons.org/?p=149</guid>
		<description><![CDATA[Raramente mi è capito di mettere mano a codice web, nonostante mi interessi molto la maggior parte del codice che scrivo è Java nudo e crudo oppure C. Quando capita però, mi rendo conto che la vita di un designer web è tutt&#8217;altro che facile. Lo so, per molti questo post sembrerà il classico &#8220;yet [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Raramente mi è capito di mettere mano a codice web, nonostante mi interessi molto la maggior parte del codice che scrivo è Java nudo e crudo oppure C.<br />
Quando capita però, mi rendo conto che la vita di un designer web è tutt&#8217;altro che facile. Lo so, per molti questo post sembrerà il classico &#8220;<em>yet another state-the-obvious post</em>&#8221; ma la frustrazione di dover adattare le cose perché qualcuno deliberatamente ha sfruttato la sua posizione dominante per fregarsene degli standard è alta&#8230;
</p>
<p style="text-align: justify;">Chi secondo voi se non Microsoft con il suo Internet Explorer 6?</p>
<p style="text-align: justify;">Per esempio, il fatto che non supporti nativamente il formato PNG trasparente è veramente fastidioso. GIF non è minimamente paragonabile con le sue limitazioni ed allora ho dovuto creare una semplice condizione per cui chi utilizza Explorer 6 vedrà qualcosa di diverso:</p>
<div class="codecolorer-container php twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$agent</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_USER_AGENT'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">eregi</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;msie 6.0&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$agent</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><br />
<br />
&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<br />
&nbsp; &nbsp;&lt;img src=&quot;/immagini/logo_ie6.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;<br />
&lt;/a&gt;<br />
<br />
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><br />
&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<br />
&nbsp; &nbsp;&lt;img src=&quot;/immagini/logo.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;<br />
&lt;/a&gt;<br />
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></div></div>
<p style="text-align: justify;">C&#8217;è anche una soluzione lato client, utilizzando Javascript, che potete trovare a <a title="Internet Explorer 6 PNG patch" href="http://www.flyonthenet.com/articoli/javascript-ajax/png-trasparenti-in-internet-explorer-6.html" target="_blank">questo indirizzo</a>, ma per il mio scopo di cambiare solo una immagine di testata è stata sufficiente la soluzione di prima, che non esegue nulla lato client.</p>
<p style="text-align: justify;">Molti sono i browser in circolazione ed utilizzare la variabile &#8216;HTTP_USER_AGENT&#8217; per distinguere l&#8217;uno dall&#8217;altro è la scelta più semplice, sebbene non sia affidabile: è possibile mascherare e cambiare tale variabile, alcuni proxy la filtrano&#8230; La soluzione? Solo il rispetto degli standard.</p>
<p style="text-align: justify;">Fortunatamente browser come Firefox e Opera prendono piede sempre più, Chrome si arrampica ed Internet Explorer 7 anche sembra aver intrapreso la strada della standardizzazione. </p>
<p><del datetime="2009-06-06T20:01:36+00:00">Perdonate il tag</p>
<div class="codecolorer-container php twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?</span>php<span style="color: #339933;">&gt;</span></div></div>
<p>ma il plugin che uso sembra avere ancora qualche problema. Vedremo se si potrà risolvere anche questo :)</del><br />
Il plugin &#8220;<em>CodeColorer</em>&#8221; lo risolve egregiamente direi :D</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fabiofalcinelli.it/2009/02/la-vita-del-web-designer-e-difficile/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
