<?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>naden.de/blog &#187; Stylesheets</title>
	<atom:link href="http://www.naden.de/blog/category/stylesheets/feed" rel="self" type="application/rss+xml" />
	<link>http://www.naden.de/blog</link>
	<description>/* no comment */</description>
	<lastBuildDate>Mon, 26 Dec 2011 15:17:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Internet Explorer list-style-image float left Fehler</title>
		<link>http://www.naden.de/blog/internet-explorer-list-style-image-float-left-fehler</link>
		<comments>http://www.naden.de/blog/internet-explorer-list-style-image-float-left-fehler#comments</comments>
		<pubDate>Wed, 19 Aug 2009 17:39:27 +0000</pubDate>
		<dc:creator>naden</dc:creator>
				<category><![CDATA[Stylesheets]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fehler]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[stylesheet]]></category>

		<guid isPermaLink="false">http://www.naden.de/blog/internet-explorer-list-style-image-float-left-fehler</guid>
		<description><![CDATA[Da selbst noch der Internet Explorer 8 die Grafiken nicht anzeigt, wenn man eine Liste &#60;ul&#62; mit float horizontal ausrichtet und den Listenelelementen &#252;ber list-style-image eine eigene Grafik als Aufz&#228;hlungszeichen zugewiesen hat &#8230; Hier der Workaround &#252;ber background. Ohne CSS-Weiche, Javascript oder &#228;hnlichen Zauber. Das Stylesheet ul &#123; margin: 0; padding: 0; &#125; li &#123; [...]]]></description>
			<content:encoded><![CDATA[<p>Da selbst noch der Internet Explorer 8 die Grafiken nicht anzeigt, wenn man eine Liste <em>&lt;ul&gt;</em> mit <em>float</em> horizontal ausrichtet und den Listenelelementen &#252;ber <em>list-style-image</em> eine eigene Grafik als Aufz&#228;hlungszeichen zugewiesen hat &#8230; Hier der Workaround &#252;ber <em>background</em>. Ohne CSS-Weiche, Javascript oder &#228;hnlichen Zauber.<span id="more-134"></span></p>
<p>Das Stylesheet</p>

<div class="wp_codebox"><table><tr id="p1343"><td class="code" id="p134code3"><pre class="css" style="font-family:monospace;">ul <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
li <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
  <span style="color: #808080; font-style: italic;">/* wichtig, den Listentype erstmal auf none setzen*/</span>
  <span style="color: #000000; font-weight: bold;">list-style-type</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
  <span style="color: #808080; font-style: italic;">/* und eine alternative Grafik alt Hintergrundbild laden */</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">pfeil.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
  <span style="color: #808080; font-style: italic;">/* padding nach bel. und anhand der Abmessungen der Grafik einstellen */</span>
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>HTML wie gewohnt nutzen</p>

<div class="wp_codebox"><table><tr id="p1344"><td class="code" id="p134code4"><pre class="html" style="font-family:monospace;">&lt;ul&gt;
  &lt;li&gt;Item 1&lt;/li&gt;
  &lt;li&gt;Item 2&lt;/li&gt;
  &lt;li&gt;Item 3&lt;/li&gt;
  &lt;li&gt;Item 4&lt;/li&gt;
&lt;/ul&gt;</pre></td></tr></table></div>

<p><a href="/blog/wp-content/download/ie-list-float-error.html">Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.naden.de/blog/internet-explorer-list-style-image-float-left-fehler/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

