<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Styling Nested Lists</title>
	<atom:link href="http://simplebits.com/notebook/2003/10/19/styling-nested-lists/feed/" rel="self" type="application/rss+xml" />
	<link>http://simplebits.com/notebook/2003/10/19/styling-nested-lists/</link>
	<description>Handcrafted pixels &#38; text from Salem, Massachusetts.</description>
	<lastBuildDate>Tue, 08 Dec 2009 23:15:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Hot Project</title>
		<link>http://simplebits.com/notebook/2003/10/19/styling-nested-lists/#comment-1126</link>
		<dc:creator>Hot Project</dc:creator>
		<pubDate>Tue, 18 Oct 2005 01:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplebits.com/wp/notebook/2003/10/19/styling-nested-lists/#comment-1126</guid>
		<description>I have found nested ul to be very useful, however the visual style of the sub list indent is quite unappealing.
To re-position my nested ul indent, I have found this works:
ul li ul li {
position:relative;
left:-10px
}
It works on IE &amp; Firefox, anyways...
</description>
		<content:encoded><![CDATA[<p>I have found nested ul to be very useful, however the visual style of the sub list indent is quite unappealing.<br />
To re-position my nested ul indent, I have found this works:<br />
ul li ul li {<br />
position:relative;<br />
left:-10px<br />
}<br />
It works on IE &#038; Firefox, anyways&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike P</title>
		<link>http://simplebits.com/notebook/2003/10/19/styling-nested-lists/#comment-1125</link>
		<dc:creator>Mike P</dc:creator>
		<pubDate>Tue, 27 Sep 2005 14:25:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplebits.com/wp/notebook/2003/10/19/styling-nested-lists/#comment-1125</guid>
		<description>Recently, I tried to achieve an inline bullet list with background images for the bullets, like this:
&lt;code&gt;
ul li {display: inline; padding: 0 0 0 2em; background: url(test.gif) no-repeat;}
...
&lt;ul&gt;
&lt;li&gt;Ipsum lorem dolor sit amet&lt;/li&gt;
&lt;li&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec justo. Nam quis lorem. Nunc sem. Fusce hendrerit pretium ligula. Phasellus rhoncus malesuada libero. Aliquam fringilla lacus ac ligula. Quisque vel urna vitae urna semper semper. Sed laoreet orci fermentum sapien. Donec eleifend eros a pede. Cras quis sem ac nunc interdum bibendum. Morbi nec massa. Vivamus molestie metus eget quam. Aliquam erat volutpat. Ut odio. Donec iaculis metus eu ipsum. Mauris venenatis varius ipsum. Phasellus feugiat libero nec est. Nulla facilisi.&lt;/li&gt;
&lt;/ul&gt;&lt;/code&gt;
The problem lies in the longer &lt;code&gt;li&lt;/code&gt;.  Here, IE makes its background image bullet magically disappear, whereas NN and Mozilla seem not to have a problem with it.
If anyone has a workaround for this, I&#039;d love to hear about it, as it&#039;s a real pain when you&#039;re trying to do something flexible.
</description>
		<content:encoded><![CDATA[<p>Recently, I tried to achieve an inline bullet list with background images for the bullets, like this:<br />
<code><br />
ul li {display: inline; padding: 0 0 0 2em; background: url(test.gif) no-repeat;}<br />
...<br />
&lt;ul&gt;<br />
&lt;li&gt;Ipsum lorem dolor sit amet&lt;/li&gt;<br />
&lt;li&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec justo. Nam quis lorem. Nunc sem. Fusce hendrerit pretium ligula. Phasellus rhoncus malesuada libero. Aliquam fringilla lacus ac ligula. Quisque vel urna vitae urna semper semper. Sed laoreet orci fermentum sapien. Donec eleifend eros a pede. Cras quis sem ac nunc interdum bibendum. Morbi nec massa. Vivamus molestie metus eget quam. Aliquam erat volutpat. Ut odio. Donec iaculis metus eu ipsum. Mauris venenatis varius ipsum. Phasellus feugiat libero nec est. Nulla facilisi.&lt;/li&gt;<br />
&lt;/ul&gt;</code><br />
The problem lies in the longer <code>li</code>.  Here, IE makes its background image bullet magically disappear, whereas NN and Mozilla seem not to have a problem with it.<br />
If anyone has a workaround for this, I&#8217;d love to hear about it, as it&#8217;s a real pain when you&#8217;re trying to do something flexible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew M</title>
		<link>http://simplebits.com/notebook/2003/10/19/styling-nested-lists/#comment-1124</link>
		<dc:creator>Andrew M</dc:creator>
		<pubDate>Wed, 29 Dec 2004 18:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplebits.com/wp/notebook/2003/10/19/styling-nested-lists/#comment-1124</guid>
		<description>Based on the original example above the background list images do not print in IE 6 and Safari 1 and I have &quot;print background images and colors&quot; selected in my browser settings. I swaped the background list style with the list-style-image Stepan mentions and the list images now print BUT I&#039;ve lost most cotrol over aligning my list images. So it seems boths options have their drawbacks and unfortunately I have to go with what is printable over what looks better on screen but won&#039;t print. Any other ideas? This is still a great tutorial!
</description>
		<content:encoded><![CDATA[<p>Based on the original example above the background list images do not print in IE 6 and Safari 1 and I have &#8220;print background images and colors&#8221; selected in my browser settings. I swaped the background list style with the list-style-image Stepan mentions and the list images now print BUT I&#8217;ve lost most cotrol over aligning my list images. So it seems boths options have their drawbacks and unfortunately I have to go with what is printable over what looks better on screen but won&#8217;t print. Any other ideas? This is still a great tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stepan Reznikov</title>
		<link>http://simplebits.com/notebook/2003/10/19/styling-nested-lists/#comment-1123</link>
		<dc:creator>Stepan Reznikov</dc:creator>
		<pubDate>Thu, 01 Jul 2004 12:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplebits.com/wp/notebook/2003/10/19/styling-nested-lists/#comment-1123</guid>
		<description>What&#039;s the point in using background instead of list-style-image? I think that list-style-image is more appropriate in this case. If you use (background: url(bullet.gif) no-repeat 0 50%;) and an item is long enough that it breaks into two or more lines, that looks not so great.
</description>
		<content:encoded><![CDATA[<p>What&#8217;s the point in using background instead of list-style-image? I think that list-style-image is more appropriate in this case. If you use (background: url(bullet.gif) no-repeat 0 50%;) and an item is long enough that it breaks into two or more lines, that looks not so great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://simplebits.com/notebook/2003/10/19/styling-nested-lists/#comment-1122</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Fri, 23 Jan 2004 03:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplebits.com/wp/notebook/2003/10/19/styling-nested-lists/#comment-1122</guid>
		<description>Rahul and Andre Leistner asked for the &lt;strong&gt;horizontal variant&lt;/strong&gt; of the navigation. &lt;a href=&quot;http://www.alistapart.com/articles/taminglists/&quot; rel=&quot;nofollow&quot;&gt;alistapart&lt;/a&gt; describes perfectly detailed how to do that. (Just add &#039;display: inline;&#039; to ul &lt;strong&gt;and&lt;/strong&gt; li!)
Very usefull site, thank you!
</description>
		<content:encoded><![CDATA[<p>Rahul and Andre Leistner asked for the <strong>horizontal variant</strong> of the navigation. <a href="http://www.alistapart.com/articles/taminglists/" rel="nofollow">alistapart</a> describes perfectly detailed how to do that. (Just add &#8216;display: inline;&#8217; to ul <strong>and</strong> li!)<br />
Very usefull site, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alderete</title>
		<link>http://simplebits.com/notebook/2003/10/19/styling-nested-lists/#comment-1121</link>
		<dc:creator>Alderete</dc:creator>
		<pubDate>Tue, 25 Nov 2003 01:43:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplebits.com/wp/notebook/2003/10/19/styling-nested-lists/#comment-1121</guid>
		<description>I love this technique for site maps and site navigation. One thing I noticed when doing this on my own site is that, because I&#039;m putting the site map in a sidebar, my horizontal space is limited. Most of the online examples I&#039;ve found are more interested in simulating buttons by way of &lt;code&gt;a {display:block}&lt;/code&gt;, etc. than the relatively simple styling example you have here.
I prefer to keep the outline format, as you have, but this example stops short of adjusting the indentation, etc., which I also wanted to do.
I was able to achieve 80% of what I wanted by adding one new rule (&lt;code&gt;#sitemap ul { margin: 0; padding: 0; }&lt;/code&gt;), and one addition to one of your rules (&lt;code&gt;#sitemap li ul { padding-left: 1.5em; }&lt;/code&gt;), but I would love to see more comprehensive treatment of the possibilities...
Thanks for a nice example!
</description>
		<content:encoded><![CDATA[<p>I love this technique for site maps and site navigation. One thing I noticed when doing this on my own site is that, because I&#8217;m putting the site map in a sidebar, my horizontal space is limited. Most of the online examples I&#8217;ve found are more interested in simulating buttons by way of <code>a {display:block}</code>, etc. than the relatively simple styling example you have here.<br />
I prefer to keep the outline format, as you have, but this example stops short of adjusting the indentation, etc., which I also wanted to do.<br />
I was able to achieve 80% of what I wanted by adding one new rule (<code>#sitemap ul { margin: 0; padding: 0; }</code>), and one addition to one of your rules (<code>#sitemap li ul { padding-left: 1.5em; }</code>), but I would love to see more comprehensive treatment of the possibilities&#8230;<br />
Thanks for a nice example!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://simplebits.com/notebook/2003/10/19/styling-nested-lists/#comment-1120</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Fri, 14 Nov 2003 18:39:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplebits.com/wp/notebook/2003/10/19/styling-nested-lists/#comment-1120</guid>
		<description>chris--i&#039;m with you on using dl&#039;s for navigation. what it enables that ul&#039;s may not is the flexibility to use second level elements when not every first level element contains second levels....did that make sense? i guess what i&#039;m trying to say is that the dt tag does not have to contain a dd tag. so you could use your dt&#039;s for &#039;headers&#039; as the firebird site did or you could use them as level1 elements and use your dd&#039;s for any sublevel elements which is a workaround for nesting (to a certain degree)
rahul--i&#039;ve used nested lists (dl&#039;s and ol&#039;s) to create a tree-list(of sorts) that expands when users click on an icon or it&#039;s corresponding title. it uses a little bit of shareware javascript that switches the display property of the ol when the user clicks on the dl. so like many computer problems - there are all sorts of possibilities out there to achieve your windows list...
</description>
		<content:encoded><![CDATA[<p>chris&#8211;i&#8217;m with you on using dl&#8217;s for navigation. what it enables that ul&#8217;s may not is the flexibility to use second level elements when not every first level element contains second levels&#8230;.did that make sense? i guess what i&#8217;m trying to say is that the dt tag does not have to contain a dd tag. so you could use your dt&#8217;s for &#8216;headers&#8217; as the firebird site did or you could use them as level1 elements and use your dd&#8217;s for any sublevel elements which is a workaround for nesting (to a certain degree)<br />
rahul&#8211;i&#8217;ve used nested lists (dl&#8217;s and ol&#8217;s) to create a tree-list(of sorts) that expands when users click on an icon or it&#8217;s corresponding title. it uses a little bit of shareware javascript that switches the display property of the ol when the user clicks on the dl. so like many computer problems &#8211; there are all sorts of possibilities out there to achieve your windows list&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://simplebits.com/notebook/2003/10/19/styling-nested-lists/#comment-1119</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 12 Nov 2003 03:51:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplebits.com/wp/notebook/2003/10/19/styling-nested-lists/#comment-1119</guid>
		<description>Dan,
Your articles are consistently high signal :: noise ratio - thank you!
Any thoughts (semantically speaking) about using definition lists for site navigation  (e.g. the Mozilla FireBird site http://texturizer.net/firebird/ ) vs. using nested unordered lists?
</description>
		<content:encoded><![CDATA[<p>Dan,<br />
Your articles are consistently high signal :: noise ratio &#8211; thank you!<br />
Any thoughts (semantically speaking) about using definition lists for site navigation  (e.g. the Mozilla FireBird site <a href="http://texturizer.net/firebird/" rel="nofollow">http://texturizer.net/firebird/</a> ) vs. using nested unordered lists?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim</title>
		<link>http://simplebits.com/notebook/2003/10/19/styling-nested-lists/#comment-1118</link>
		<dc:creator>jim</dc:creator>
		<pubDate>Tue, 04 Nov 2003 00:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplebits.com/wp/notebook/2003/10/19/styling-nested-lists/#comment-1118</guid>
		<description>just as soon as I begin to forget ... I come across this page. Looks like another night at the bar. Game 7 never happened. Game 7 never happened. Game 7 never happened. Game 7 never happened. Game 7 never happened.
</description>
		<content:encoded><![CDATA[<p>just as soon as I begin to forget &#8230; I come across this page. Looks like another night at the bar. Game 7 never happened. Game 7 never happened. Game 7 never happened. Game 7 never happened. Game 7 never happened.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Lloyd</title>
		<link>http://simplebits.com/notebook/2003/10/19/styling-nested-lists/#comment-1117</link>
		<dc:creator>Ian Lloyd</dc:creator>
		<pubDate>Tue, 28 Oct 2003 15:51:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.simplebits.com/wp/notebook/2003/10/19/styling-nested-lists/#comment-1117</guid>
		<description>Thought I might share this with you - when I was re-working the Site Map for Nationwide.co.uk, I also went for the nested list approach with images in CSS used to denote structure. Doesn&#039;t *look* like a list, but it surely is ...
http://www.nationwide.co.uk/sitemap.asp?s=home
</description>
		<content:encoded><![CDATA[<p>Thought I might share this with you &#8211; when I was re-working the Site Map for Nationwide.co.uk, I also went for the nested list approach with images in CSS used to denote structure. Doesn&#8217;t *look* like a list, but it surely is &#8230;<br />
<a href="http://www.nationwide.co.uk/sitemap.asp?s=home" rel="nofollow">http://www.nationwide.co.uk/sitemap.asp?s=home</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

