<?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>Gatellier.be &#187; Performances</title>
	<atom:link href="http://www.gatellier.be/blog/tag/performances/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gatellier.be/blog</link>
	<description>Interwebs with passion.</description>
	<lastBuildDate>Thu, 01 Jul 2010 12:17:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<atom:link rel='hub' href='http://www.gatellier.be/blog/?pushpress=hub'/>
		<item>
		<title>Bug: IE n&#8217;affiche pas mes CSS</title>
		<link>http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/</link>
		<comments>http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 16:58:24 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Débogage]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Performances]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[concatenate]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[minify]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=325</guid>
		<description><![CDATA[IE6, IE7, IE8 ne supportent pas la gestion de plus de 31 CSS dans une page web...]]></description>
			<content:encoded><![CDATA[<p>Un <a href="http://support.microsoft.com/kb/262161" hreflang="en">magnifique bug</a> (parmi de nombreux autres) existe dans Internet Explorer (IE6, IE7, IE8).</p>
<p>IE6, IE7, IE8 ne supportent pas plus de 31 fichiers <abbr title="Cascading StyleSheet" lang="en">CSS</abbr> liés dans une page html (que se soit par tag <code>&lt;link rel="stylesheet" ...&gt;</code> ou CSS <code>@import</code>).</p>
<p>Toutes les <strong>CSS venant après la 31ème seront simplement ignorées</strong>&nbsp;!</p>
<p>Ok, ça n'est pas idéal, d'un point de vue performance, de splitter ses CSS mais des fois nous n'avons pas le choix. (Ex&nbsp;: Développement Drupal avec quelques modules rajoutant chacun sa propre CSS).</p>

<h3>La solution pour Drupal&nbsp;:</h3>
<p>Un module existe (il ne loade pas de CSS propre)&nbsp;: <strong><a href="http://drupal.org/project/ie_css_optimizer">IE CSS Optimizer</a></strong> concatène les CSS trouvées dans les répertoires <code>/modules/</code> d'un projet Drupal une fois configuré et activé.</p>

<h3>Et si je n'emploie pas Drupal&nbsp;?&nbsp;:</h3>

<p>Comme Microsoft le suggère <small>[<a href="/blog/bug-ie-rendu-css-drupal/#ft-note-drupa-perf-01">1</a>]</small>&nbsp;:</p>
<p><cite lang="en">To work around this limitation, combine multiple classes into a single style tag.</cite></p>
<p><cite>Pour contourner cette limitation, combinez les différentes classes dans un seul tag style.</cite></p>
<p>Le plus simple est de vérifier si les CSS liées sont vraiment nécessaires et en supprimer si besoin. D'autres solutions de concaténation existent (voir la <a href="http://code.google.com/p/minify/" hreflang="en">librairie Minify</a>) </p>

<h4>Liens relatifs&nbsp;:</h4>
<ul>
	<li><a href="http://john.albin.net/ie-css-limits/link-test.html" hreflang="en">Testcase des différentes solutions envisageables</a></li>
	<li><a href="http://drupal.org/project/ie_css_optimizer" hreflang="en">Drupal IE CSS Optimizer Module</a></li>
	<li>via <a href="http://john.albin.net/css/ie-stylesheets-not-loading" hreflang="en">John Albin</a></li>
	<li><small>[1]</small>&nbsp;: <a href="http://support.microsoft.com/kb/262161" hreflang="en" id="ft-note-drupa-perf-01">Résolution proposée par Microsoft</a></li>
</ul><hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2010. |
<a href="http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/">Permalink</a> |
<a href="http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/#comments">2 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/&title=Bug: IE n&#8217;affiche pas mes CSS">del.icio.us</a>
<br/>
Post tags: <a href="http://www.gatellier.be/blog/tag/bug/" rel="tag">bug</a>, <a href="http://www.gatellier.be/blog/tag/concatenate/" rel="tag">concatenate</a>, <a href="http://www.gatellier.be/blog/tag/css/" rel="tag">CSS</a>, <a href="http://www.gatellier.be/blog/tag/drupal/" rel="tag">Drupal</a>, <a href="http://www.gatellier.be/blog/tag/ie/" rel="tag">IE</a>, <a href="http://www.gatellier.be/blog/tag/ie6/" rel="tag">IE6</a>, <a href="http://www.gatellier.be/blog/tag/ie7/" rel="tag">IE7</a>, <a href="http://www.gatellier.be/blog/tag/ie8/" rel="tag">IE8</a>, <a href="http://www.gatellier.be/blog/tag/minify/" rel="tag">minify</a>, <a href="http://www.gatellier.be/blog/tag/performances/" rel="tag">Performances</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->