<?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>Consulenza-Web.com &#187; ie8</title>
	<atom:link href="http://www.consulenza-web.com/tag/ie8/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.consulenza-web.com</link>
	<description>Blog di Marco Pegoraro su Consulenza Web ed Informatica, Programmazione Web e realizzazione di Siti Web Accessibili.</description>
	<lastBuildDate>Mon, 30 Jan 2012 08:39:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>respond.js bug &#8211; supporto css3 media query IE8, IE7, IE6</title>
		<link>http://www.consulenza-web.com/2011/11/respond-js-bug/</link>
		<comments>http://www.consulenza-web.com/2011/11/respond-js-bug/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 10:24:41 +0000</pubDate>
		<dc:creator>peg</dc:creator>
				<category><![CDATA[Sviluppo]]></category>
		<category><![CDATA[tip & tricks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[design responsivo]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[media query]]></category>

		<guid isPermaLink="false">http://www.consulenza-web.com/?p=483</guid>
		<description><![CDATA[Stamattina ho perso non poco tempo nel debugging di un progetto web in cui ho utilizzato delle semplici tecniche di layout responsivo con le CSS3 Media Query. Ovviamente il problema è relativo a Internet Explorer nelle sue più nobili versioni: IE6, IE7 e IE8! L&#8217;argomento: Queste versioni di Internet Explorer non supportano le Media Query [...]]]></description>
			<content:encoded><![CDATA[<p>Stamattina ho perso non poco tempo nel debugging di un progetto web in cui ho utilizzato delle semplici tecniche di <a title="web design responsivo con le css3 media query" href="http://www.consulenza-web.com/2011/07/compromesso-vincente/"  target="_blank">layout responsivo con le CSS3 Media Query</a>.<br />
Ovviamente <strong>il problema è relativo a Internet Explorer</strong> nelle sue più nobili versioni: IE6, IE7 e IE8!<span id="more-483"></span></p>
<h2>L&#8217;argomento:</h2>
<p>Queste versioni di Internet Explorer non supportano le Media Query (nè HTML5&#8230; anzi, non supportano nulla!) ma fortunatamente esistono delle librerie che &#8211; via javascript &#8211; risolvono il problema.</p>
<ul>
<li><a title="CSS3 Media Query su Google Code" href="http://code.google.com/p/css3-mediaqueries-js/" class="aga aga_2" target="_blank">css3-mediaqueries-js</a> - supporto esteso alle media query CSS3</li>
<li><a title="CSS3 Media Query by Filament Group" href="http://filamentgroup.com/lab/respondjs_fast_css3_media_queries_for_internet_explorer_6_8_and_more/" class="aga aga_3" target="_blank">respond.js</a> &#8211; supporto ottimizzato alle media query CSS3 per il &#8220;mobile first&#8221; responsive design</li>
</ul>
<p>Io utilizzo <strong>respond.js</strong> perchè mi interessa solamente intercettare le dimensioni dello schermo ed agire di conseguenza sulla presentazione della pagina web ed è proprio su questa libreria che si concentra l&#8217;errore segnalato in questo post.</p>
<h2>L&#8217;errore:</h2>
<p>Questa libreria va in errore quando il foglio di stile contiene delle <strong>regole vuote</strong>:</p>
<pre>body {}</pre>
<h2>La soluzione:</h2>
<p>La semplicissima soluzione consiste nell&#8217;<strong>inserire almeno uno spazio</strong> all&#8217;interno delle parentesi graffe:</p>
<pre>body { }</pre>
<h2>Conclusioni:</h2>
<p>Molti di voi sostengono &#8211; a ragione &#8211; che questo tipo di istruzioni non dovrebbero esistere in un foglio di stile in quanto sono un semplice spreco di spazio e di tempo di caricamento. Sono pienamente d&#8217;accordo!</p>
<p>Tuttavia <strong>in piena fase di sviluppo</strong> molti sviluppatori usano scrivere il set completo di &#8220;css handler&#8221; per definire le regole interne in un secondo momento. In questo caso &#8211; in progettazione &#8211; questo bug può far perdere tempo prezioso e la soluzione proposta in <strong>questo articolo diventa utilissima</strong>!</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Segnala presso:</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.consulenza-web.com%2F2011%2F11%2Frespond-js-bug%2F&amp;title=respond.js+bug+%26%238211%3B+supporto+css3+media+query+IE8%2C+IE7%2C+IE6" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.consulenza-web.com%2F2011%2F11%2Frespond-js-bug%2F&amp;title=respond.js+bug+%26%238211%3B+supporto+css3+media+query+IE8%2C+IE7%2C+IE6" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.consulenza-web.com%2F2011%2F11%2Frespond-js-bug%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.consulenza-web.com%2F2011%2F11%2Frespond-js-bug%2F&amp;title=respond.js+bug+%26%238211%3B+supporto+css3+media+query+IE8%2C+IE7%2C+IE6" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.consulenza-web.com%2F2011%2F11%2Frespond-js-bug%2F&amp;title=respond.js+bug+%26%238211%3B+supporto+css3+media+query+IE8%2C+IE7%2C+IE6" rel="nofollow" title="Add to&nbsp;LinkedIn"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/linkedin.png" title="Add to&nbsp;LinkedIn" alt="Add to&nbsp;LinkedIn" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.consulenza-web.com%2F2011%2F11%2Frespond-js-bug%2F&amp;title=respond.js+bug+%26%238211%3B+supporto+css3+media+query+IE8%2C+IE7%2C+IE6" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.consulenza-web.com%2F2011%2F11%2Frespond-js-bug%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+respond.js+bug+%26%238211%3B+supporto+css3+media+query+IE8%2C+IE7%2C+IE6+@+http%3A%2F%2Fwww.consulenza-web.com%2F2011%2F11%2Frespond-js-bug%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.consulenza-web.com%2F2011%2F11%2Frespond-js-bug%2F&amp;t=respond.js+bug+%26%238211%3B+supporto+css3+media+query+IE8%2C+IE7%2C+IE6" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.consulenza-web.com/2011/11/respond-js-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE8: bug nella visualizzazione di fieldset e legend</title>
		<link>http://www.consulenza-web.com/2009/12/ie8-bug-nella-visualizzazione-di-fieldset-e-legend/</link>
		<comments>http://www.consulenza-web.com/2009/12/ie8-bug-nella-visualizzazione-di-fieldset-e-legend/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 14:12:31 +0000</pubDate>
		<dc:creator>peg</dc:creator>
				<category><![CDATA[tip & tricks]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[bug-fix]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://www.consulenza-web.com/?p=148</guid>
		<description><![CDATA[Questo articolo propone una semplice soluzione ad un problema identificato su IE8 quando si tenta di nascondere la legend di un fieldset. Visualizzazione Errata: Visualizzazione Corretta (work-around applicato): Markup Originale: xHTML: ----------------- &#60;fieldset&#62; &#60;legend&#62;Legenda&#60;/legend&#62;   .... &#60;/fieldset&#62; CSS: ----------------- fieldset { border:6px solid #ddd; } fieldset legend { display:none; } Spiegazione Workaround: La soluzione più [...]]]></description>
			<content:encoded><![CDATA[<p>Questo articolo propone una semplice soluzione ad un problema identificato su IE8 quando si tenta di <strong>nascondere la legend di un fieldset</strong>.</p>
<h3>Visualizzazione Errata:</h3>
<div id="attachment_149" class="wp-caption alignnone" style="width: 515px"><a href="http://www.consulenza-web.com/wp-content/uploads/2009/12/IE8-rendering-errato-1.jpg" ><img class="size-full wp-image-149 " title="IE8 rendering errato-1" src="http://www.consulenza-web.com/wp-content/uploads/2009/12/IE8-rendering-errato-1.jpg" alt="ie8 rendering errato di fieldset con legend nascosto" width="505" height="142" /></a><p class="wp-caption-text">ie8 rendering errato di fieldset con legend nascosto</p></div>
<h3>Visualizzazione Corretta (work-around applicato):</h3>
<div id="attachment_151" class="wp-caption alignnone" style="width: 514px"><a href="http://www.consulenza-web.com/wp-content/uploads/2009/12/IE8-fieldset-legend.jpg" ><img class="size-full wp-image-151" title="IE8 fieldset legend" src="http://www.consulenza-web.com/wp-content/uploads/2009/12/IE8-fieldset-legend.jpg" alt="IE8 visualizzazione di un fieldset con legend nascosto (workaround applicato)" width="504" height="140" /></a><p class="wp-caption-text">IE8 visualizzazione di un fieldset con legend nascosto (workaround applicato)</p></div>
<h3><span id="more-148"></span>Markup Originale:</h3>
<pre>xHTML:
-----------------
&lt;fieldset&gt;
    &lt;legend&gt;Legenda&lt;/legend&gt;
    ....
&lt;/fieldset&gt;
CSS:
-----------------
fieldset { border:6px solid #ddd; }
fieldset legend { display:none; }</pre>
<h3>Spiegazione Workaround:</h3>
<p>La soluzione più semplice e cross-browser è inserire uno SPAN all&#8217;interno del tag LEGEND e quindi applicare la visibilità nulla a questo elemento:</p>
<pre>xHTML:
-----------------
&lt;fieldset&gt;
    &lt;legend&gt;&lt;span&gt;Legenda&lt;/span&gt;&lt;/legend&gt;
    ....
&lt;/fieldset&gt;
CSS:
-----------------
fieldset { border:6px solid #ddd; }
fieldset legend span { display:none; }</pre>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Segnala presso:</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F12%2Fie8-bug-nella-visualizzazione-di-fieldset-e-legend%2F&amp;title=IE8%3A+bug+nella+visualizzazione+di+fieldset+e+legend" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F12%2Fie8-bug-nella-visualizzazione-di-fieldset-e-legend%2F&amp;title=IE8%3A+bug+nella+visualizzazione+di+fieldset+e+legend" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F12%2Fie8-bug-nella-visualizzazione-di-fieldset-e-legend%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F12%2Fie8-bug-nella-visualizzazione-di-fieldset-e-legend%2F&amp;title=IE8%3A+bug+nella+visualizzazione+di+fieldset+e+legend" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F12%2Fie8-bug-nella-visualizzazione-di-fieldset-e-legend%2F&amp;title=IE8%3A+bug+nella+visualizzazione+di+fieldset+e+legend" rel="nofollow" title="Add to&nbsp;LinkedIn"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/linkedin.png" title="Add to&nbsp;LinkedIn" alt="Add to&nbsp;LinkedIn" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F12%2Fie8-bug-nella-visualizzazione-di-fieldset-e-legend%2F&amp;title=IE8%3A+bug+nella+visualizzazione+di+fieldset+e+legend" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F12%2Fie8-bug-nella-visualizzazione-di-fieldset-e-legend%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+IE8%3A+bug+nella+visualizzazione+di+fieldset+e+legend+@+http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F12%2Fie8-bug-nella-visualizzazione-di-fieldset-e-legend%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.consulenza-web.com%2F2009%2F12%2Fie8-bug-nella-visualizzazione-di-fieldset-e-legend%2F&amp;t=IE8%3A+bug+nella+visualizzazione+di+fieldset+e+legend" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.consulenza-web.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.consulenza-web.com/2009/12/ie8-bug-nella-visualizzazione-di-fieldset-e-legend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

