<?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>Raph&#039;s world &#187; Webmastering</title>
	<atom:link href="http://www.grzegorek.info/blog/en/category/webmastering/feed" rel="self" type="application/rss+xml" />
	<link>http://www.grzegorek.info/blog</link>
	<description>Rafal&#039;s Grzegorek blog</description>
	<lastBuildDate>Thu, 22 Dec 2011 21:25:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Unnecessary margins in list&#8217;s elements in Internet Explorer</title>
		<link>http://www.grzegorek.info/blog/en/2008/zbedne-marginesy-w-elementach-listy-w-internet-explorer.html</link>
		<comments>http://www.grzegorek.info/blog/en/2008/zbedne-marginesy-w-elementach-listy-w-internet-explorer.html#comments</comments>
		<pubDate>Fri, 12 Sep 2008 09:52:06 +0000</pubDate>
		<dc:creator>raph</dc:creator>
				<category><![CDATA[Webmastering]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.raph.net.pl/blog/?p=54</guid>
		<description><![CDATA[Let&#8217;s assume we want to create a menu using code like that: &#60;div id=&#34;menu&#34;&#62; &#60;ul&#62; &#60;li&#62;&#60;a&#62;link1&#60;/a&#62;&#60;/li&#62; &#60;li&#62;&#60;a&#62;link2&#60;/a&#62;&#60;/li&#62; &#60;li&#62;&#60;a&#62;link3&#60;/a&#62;&#60;/li&#62; &#60;/ul&#62; &#60;/div&#62; and we will use CSS like that: #menu li a{ border-color: #AEAEAE #AEAEAE #AEAEAE #8CCE20; border-width: 0 1px 1px 0; border-style: solid; color: #1F2024; display: block; font-family: Verdana; font-size: .775em; height: 14px; padding: 10px 0 [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s assume we want to create a menu using code like that:</p>
<pre class="brush: xml;">
&lt;div id=&quot;menu&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a&gt;link1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a&gt;link2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a&gt;link3&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</pre>
<p>and we will use <acronym title="Cascading Style Sheets">CSS</acronym> like that:</p>
<pre class="brush: css;">

#menu li a{

border-color: #AEAEAE #AEAEAE #AEAEAE #8CCE20;

border-width: 0 1px 1px 0;

border-style: solid;

color: #1F2024;

display: block;

font-family: Verdana;

font-size: .775em;

height: 14px;

padding: 10px 0 8px 13px;

text-decoration: none;

}
</pre>
<p>Internet Explorer will add unnecessary space beetween each list&#8217;s element, so i.e. frame borders could be discontinued.  The solution is to add this line:</p>
<pre class="brush: css;">
vertical-align: bottom;
</pre>
<p>to &#8220;#menu li a&#8221;.</p>
<p>Source: <a href="http://phonophunk.com/articles/ie-fix-for-gaps-between-list-items.php">http://phonophunk.com/articles/ie-fix-for-gaps-between-list-items.php </a></p><!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.grzegorek.info/blog/en/2008/zbedne-marginesy-w-elementach-listy-w-internet-explorer.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

