<?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>Alexander Sperl &#187; HTML/CSS Tutorials</title>
	<atom:link href="http://www.alexandersperl.de/category/htmlcss-tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alexandersperl.de</link>
	<description></description>
	<lastBuildDate>Thu, 24 Feb 2011 23:50:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Styling the VCT&#8217;s Microprojects Feed Box</title>
		<link>http://www.alexandersperl.de/2010/04/styling-the-vcts-microprojects-feed-box/</link>
		<comments>http://www.alexandersperl.de/2010/04/styling-the-vcts-microprojects-feed-box/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 19:44:57 +0000</pubDate>
		<dc:creator>Alexander Sperl</dc:creator>
				<category><![CDATA[HTML/CSS Tutorials]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[background images]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[microprojects]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[rss feed]]></category>
		<category><![CDATA[vct]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.alexandersperl.de/?p=534</guid>
		<description><![CDATA[Welcome to the first episode of a series of HTML/CSS tutorials that deal with the application of CSS techniques in a real life setting. The series is supposed to be used in an upcoming course at the University of Marburg, students will be able to try to figure out how to do this. And this [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the first episode of a series of HTML/CSS tutorials that deal with the application of CSS techniques in a real life setting. The series is supposed to be used in an upcoming course at the University of Marburg, students will be able to try to figure out how to do this.</p>
<p>And this is what we are going to do in this episode: <a title="Virtual Center for Teacher Training" href="http://www.vct-hessen.de/">The Virtual Center for Teacher Training</a> has introduced a so called <a title="Microprojects at the VCT" href="http://vzl.online.uni-marburg.de/microprojects">Microprojects Feed</a>, which in return got a box on its own on the left of the portal. We will design this box.</p>
<p><span id="more-534"></span>And here&#8217;s how the result will look like:</p>
<div id="attachment_536" class="wp-caption alignnone" style="width: 260px"><img class="size-full wp-image-536" title="Microprojects Feed Box result" src="http://www.alexandersperl.de/wp-content/uploads/2010/03/mpfeed_result.png" alt="Microprojects Feed Box result" width="250" height="293" /><p class="wp-caption-text">The German version of the Microprojects Feed Box</p></div>
<p>You will find the images that are required for this tutorial later in this post. I am quire aware of the fact that you could do it in CSS3 without the images but I will write that tutorial in a year or so. Let&#8217;s do something that will look the same in all the current browsers.</p>
<h3>1. The XHTML structure</h3>
<p>In the following we will have a quick look at the XHTML structure. It&#8217;s quite simple, we have a div for the box, some paragraphs and headlines and only few classes, since the enclosing div gets an id. Here&#8217;s how it looks like (only the specific code, I left out the document details for a better overview):</p>
<pre class="xhtml" title="code">&lt;div id="mpfeed"&gt;
  &lt;h1&gt;Mikroprojekte Feed&lt;img src="rssfeed_box.gif" alt="RSS Feed Icon" /&gt;&lt;/h1&gt;
  &lt;div class="feedentry"&gt;
    &lt;div class="feedpubdate"&gt;10. Mär 2010&lt;/div&gt;
    &lt;h2&gt;&lt;a href="#"&gt;Mind Maps mit Bubbl.us gestalten&lt;/a&gt;&lt;/h2&gt;
    &lt;p&gt;Das kleine Web-Tool Bubbl.us hilft dabei Mind Maps schnell und einfach zu erstellen.... &lt;span&gt;&lt;a href="#"&gt;mehr&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/div&gt;
  &lt;div class="feedentry"&gt;
    &lt;div class="feedpubdate"&gt;01. Mär 2010&lt;/div&gt;
    &lt;h2&gt;&lt;a href="#"&gt;Texte mit Wordle visualisieren&lt;/a&gt;&lt;/h2&gt;
    &lt;p&gt;Erstellen Sie in kurzer Zeit ansprechende Visualisierungen von beliebigen Texten. Der... &lt;span&gt;&lt;a href="#"&gt;mehr&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
  &lt;/div&gt;
  &lt;p&gt;&lt;a href="#"&gt;Feed abonnieren&lt;/a&gt;&lt;img src="feed-icon-14x14.png" alt="Feed Icon" /&gt;&lt;/p&gt;
  &lt;p&gt;&lt;a href="#"&gt;Hilfe zum Mikroprojekte Feed&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
</pre>
<p>That was easy enough, wasn&#8217;t it? We need the nested elements to define specific styles for them. You could leave out the classes and still get the same result, but I would like to use the classes to make it a bit clearer.</p>
<h3>2. The images we need for the deed</h3>
<p>Here are the images we need for backgrounds, I will explain why they look like how they look like in a minute. Right click and download the images.</p>
<ul>
<li><a href="http://www.alexandersperl.de/wp-content/uploads/2010/03/boxes_back_bottom.gif">boxes_back_bottom.gif</a></li>
<li><a href="http://www.alexandersperl.de/wp-content/uploads/2010/03/boxes_back_top.gif">boxes_back_top.gif</a></li>
<li><a href="http://www.alexandersperl.de/wp-content/uploads/2010/03/feedentry_bg.gif">feedentry_bg.gif</a></li>
<li><a href="http://www.alexandersperl.de/wp-content/uploads/2010/03/feed-icon-14x14.png">feed-icon-14&#215;14.png</a></li>
<li><a href="http://www.alexandersperl.de/wp-content/uploads/2010/03/rssfeed_box.gif">rssfeed_box.gif</a></li>
</ul>
<p>The box around the whole thing gets two images. The bottom image will be the background for the div that has the id <em>mpfeed</em>. The top image will be the background of the h1 in the box and will thus cover the div&#8217;s background image. That&#8217;s a derivation of the ever so nifty <a href="http://www.alistapart.com/articles/slidingdoors/">sliding doors technique</a>, which means that the box can be adjustable in height. That&#8217;s why the bottom image is rather high, just in case that you have a rather high box.</p>
<p>The feed entry div gets a separate background image. You can see that it is larger as the box as well and it also misses the gray lines at the left side and the top. We&#8217;ll do that with CSS.</p>
<h3>3. Setting the box</h3>
<p>Here&#8217;s the CSS bit that we need to make the box look like the box in the image above.</p>
<pre class="css" title="code">#mpfeed {
    background: url(boxes_back_bottom.gif) left bottom no-repeat;
}
#mpfeed h1 {
    background: url(boxes_back_top.gif) left top no-repeat;
    font-size: 12pt;
    line-height: 30px;
    margin: 0 0 10px;
    padding: 0 10px;
}
</pre>
<p>As I wrote, this is just for the surrounding box. It also defines the h1, h2 and p tags that we have in the box. The following definitions will make everything else look good.</p>
<pre class="css" title="code">#mpfeed .feedentry {
    background: url(feedentry_bg.gif) right bottom no-repeat;
    margin: 0 8px 10px;
    padding: 0 0 10px;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    position: relative;
}
#mpfeed .feedentry h2 {
    margin: 3px 0 5px;
    padding: 0 3px;
    white-space: normal;
    font-size: 10pt;
}
#mpfeed .feedentry p {
    margin: 0 0 5px;
    padding: 0 3px;
    font-size: 8pt;
}
#mpfeed .feedentry .feedpubdate {
    text-align: center;
    width: 30px;
    float: right;
    margin: 3px;
    font-size: 8pt;
    border: 1px dotted #ccc;
}
#mpfeed .feedentry p span {
    float: right;
    margin-right: 2px;
}
</pre>
<p>Now, let&#8217;s explain this a bit. Each feed entry gets a background which makes it look like a flipping page. It also get a date box and aligns the more to the right. That&#8217;s fairly easy to do and if you will be in the Presenting Content or the Web Technologies courses in summer semester, I will explain to you in details, what it is all about.</p>

<div class="sociable">
<div class="sociable_tagline">
<small>Save this to: </small>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F&amp;partner=sociable" title="Print"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F&amp;title=Styling%20the%20VCT%27s%20Microprojects%20Feed%20Box&amp;bodytext=Welcome%20to%20the%20first%20episode%20of%20a%20series%20of%20HTML%2FCSS%20tutorials%20that%20deal%20with%20the%20application%20of%20CSS%20techniques%20in%20a%20real%20life%20setting.%20The%20series%20is%20supposed%20to%20be%20used%20in%20an%20upcoming%20course%20at%20the%20University%20of%20Marburg%2C%20students%20will%20be%20able%20to%20try" title="Digg"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F&amp;title=Styling%20the%20VCT%27s%20Microprojects%20Feed%20Box&amp;notes=Welcome%20to%20the%20first%20episode%20of%20a%20series%20of%20HTML%2FCSS%20tutorials%20that%20deal%20with%20the%20application%20of%20CSS%20techniques%20in%20a%20real%20life%20setting.%20The%20series%20is%20supposed%20to%20be%20used%20in%20an%20upcoming%20course%20at%20the%20University%20of%20Marburg%2C%20students%20will%20be%20able%20to%20try" title="del.icio.us"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F&amp;t=Styling%20the%20VCT%27s%20Microprojects%20Feed%20Box" title="Facebook"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F&amp;title=Styling%20the%20VCT%27s%20Microprojects%20Feed%20Box&amp;annotation=Welcome%20to%20the%20first%20episode%20of%20a%20series%20of%20HTML%2FCSS%20tutorials%20that%20deal%20with%20the%20application%20of%20CSS%20techniques%20in%20a%20real%20life%20setting.%20The%20series%20is%20supposed%20to%20be%20used%20in%20an%20upcoming%20course%20at%20the%20University%20of%20Marburg%2C%20students%20will%20be%20able%20to%20try" title="Google Bookmarks"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F&amp;title=Styling%20the%20VCT%27s%20Microprojects%20Feed%20Box&amp;source=Alexander+Sperl+&amp;summary=Welcome%20to%20the%20first%20episode%20of%20a%20series%20of%20HTML%2FCSS%20tutorials%20that%20deal%20with%20the%20application%20of%20CSS%20techniques%20in%20a%20real%20life%20setting.%20The%20series%20is%20supposed%20to%20be%20used%20in%20an%20upcoming%20course%20at%20the%20University%20of%20Marburg%2C%20students%20will%20be%20able%20to%20try" title="LinkedIn"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F&amp;bm_description=Styling%20the%20VCT%27s%20Microprojects%20Feed%20Box&amp;plugin=soc" title="MisterWong"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.netvibes.com/share?title=Styling%20the%20VCT%27s%20Microprojects%20Feed%20Box&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F" title="Netvibes"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F&amp;title=Styling%20the%20VCT%27s%20Microprojects%20Feed%20Box" title="StumbleUpon"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F" title="Technorati"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Styling%20the%20VCT%27s%20Microprojects%20Feed%20Box%20-%20http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F" title="Twitter"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.alexandersperl.de%2F2010%2F04%2Fstyling-the-vcts-microprojects-feed-box%2F&amp;t=Styling%20the%20VCT%27s%20Microprojects%20Feed%20Box&amp;opener=bm&amp;ei=UTF-8&amp;d=Welcome%20to%20the%20first%20episode%20of%20a%20series%20of%20HTML%2FCSS%20tutorials%20that%20deal%20with%20the%20application%20of%20CSS%20techniques%20in%20a%20real%20life%20setting.%20The%20series%20is%20supposed%20to%20be%20used%20in%20an%20upcoming%20course%20at%20the%20University%20of%20Marburg%2C%20students%20will%20be%20able%20to%20try" title="Yahoo! Bookmarks"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.alexandersperl.de/2010/04/styling-the-vcts-microprojects-feed-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flagging Links</title>
		<link>http://www.alexandersperl.de/2007/01/flagging-links/</link>
		<comments>http://www.alexandersperl.de/2007/01/flagging-links/#comments</comments>
		<pubDate>Sun, 28 Jan 2007 12:37:05 +0000</pubDate>
		<dc:creator>Alexander Sperl</dc:creator>
				<category><![CDATA[HTML/CSS Tutorials]]></category>
		<category><![CDATA[flagging]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://localhost/?p=108</guid>
		<description><![CDATA[This tutorial will show you how to add a small GIF image to a link depending on whether the link is internal (no image), external, a specific external link, or a mailto link. Required knowledge: XHTML, CSS, How to create a transparent GIF (or use the ones provided). Tested in:  The XHTML code&#8230; &#8230; basically [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial will show you how to add a small GIF image to a link depending on whether the link is internal (no image), external, a specific external link, or a mailto link.</p>
<p>Required knowledge: XHTML, CSS, How to create a transparent GIF (or use the ones provided).</p>
<p>Tested in: <img class="alignnone size-full wp-image-179" title="Firefox" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/firefox.gif" alt="Firefox" width="16" height="16" /> <img class="alignnone size-full wp-image-180" title="Internet Explorer 6" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/ie6.gif" alt="Internet Explorer 6" width="16" height="16" /> <img class="alignnone size-full wp-image-181" title="Internet Explorer 7 and 8" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/ie7.gif" alt="Internet Explorer 7 and 8" width="16" height="16" /> <img class="alignnone size-full wp-image-182" title="Netscape 8" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/netscape8.gif" alt="Netscape 8" width="16" height="16" /> <img class="alignnone size-full wp-image-183" title="Opera 8" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/opera8.gif" alt="Opera 8" width="16" height="16" /> <img class="alignnone size-full wp-image-184" title="Safari" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/safari.gif" alt="Safari" width="16" height="16" /></p>
<p><span id="more-108"></span></p>
<h2>The XHTML code&#8230;</h2>
<p>&#8230; basically remains the same. In the case of the external link you will     have to add <code>class="external"</code>, in the case of an e-mail link we     use <code>class="mailto"</code> and for the specific link we can use a so-called attribute     selector. We&#8217;ll come to that later.</p>
<pre title="code" class="html">&lt;a href="internal.html"&gt;Example for an internal link&lt;/a&gt;

&lt;a href="http://www.csszengarden.com/"&gt;Example for an external link&lt;/a&gt;

&lt;a href="http://www.royal.gov.uk/"&gt;The British Monarchy (specific external link)&lt;/a&gt;

&lt;a href="mailto:blabla@blabla.com"&gt;Example for an e-mail link&lt;/a&gt;</pre>
<p>The internal link is just there to show the difference. We won&#8217;t do anything     with it.</p>
<p>For the flagging we use three different GIFs, transparent and quite small.     Here they are (right-click and save as):</p>
<p><img class="alignnone size-full wp-image-113" title="External Link" src="http://localhost/wp-content/uploads/2007/01/external.gif" alt="External Link" width="10" height="8" /> <img class="alignnone size-full wp-image-114" title="mailto Link" src="http://localhost/wp-content/uploads/2007/01/mailto.gif" alt="mailto Link" width="10" height="8" /> <img class="alignnone size-full wp-image-115" title="Specific Link" src="http://localhost/wp-content/uploads/2007/01/royal.gif" alt="Specific Link" width="9" height="8" /></p>
<p>On to the CSS code. First we&#8217;ll define the normal link attributes and add     the right values for the classes.</p>
<pre title="code" class="css">a {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #006699;
	text-decoration: none;
	font-weight: bold;
}
a.external {
	padding-left: 16px;
	background: url(external.gif) left center no-repeat;
}
a.mailto {
	padding-left: 16px;
	background: url(mailto.gif) left center no-repeat;
}</pre>
<p>You may of course also add the definitions for the pseudo classes <code>:visited</code>,     <code>:hover</code> etc. but I will leave this out for now. <code>color</code> and <code>text-decoration</code> are of course a matter of personal taste. The <code>padding-left</code> value has to be     adjusted according to the image width. Be sure that you leave some space     between the image and the text. In this case the image width is 10 pixels     and I have added some more 6 pixels between image and text.</p>
<p>Note that I have used the shorthand for background. A useful article on     shorthand properties can be found at <a href="http://www.456bereastreet.com/archive/200502/efficient_css_with_shorthand_properties/">456     Berea Street</a>.</p>
<h2>The Attribute Selector</h2>
<p>The attribute selector is a useful means if you want specific tag with specific   attribute to look, uhm, specific. There are four types of attribute selectors.</p>
<p><code>[attribute]</code> matches all elements that have this attribute, regardless of     its value.</p>
<p><code>[attribute=value]</code> matches all elements that have this attribute and exactly     this value.</p>
<p><code>[attribute~=value]</code> matches all elements that have this attribute and this     value among others.</p>
<p><code>[attribute|=value]</code> matches all elements that have this attribute and starts     with this value among others.</p>
<p>So in case of the royal link we wanted to apply above, we could use the     following definition:</p>
<pre title="code" class="css">a[href="http://www.royal.gov.uk/"] {
	padding-left: 15px;
	backgound: url(royal.gif) left center no-repeat;
}</pre>
<p><a href="http://www.alexandersperl.de/tutorials/css/files/flagging_links/final_result.html">This is how it looks in       the end&#8230;</a></p>
<h2>Questions/Problems/Disappointments</h2>
<p>Now, you may ask, if we have this attribute selector <code>[attribute|=value]</code>,     couldn&#8217;t we just use them on the href value, because it starts with http     in case of the external link and with mailto in case of the mail link? No,     unfortunately not, because this would have been really nifty. But life isn&#8217;t     alway like this&#8230; You will have to use the whole attribute value.</p>
<p>Another thing is that the image will behave strangely in Internet Explorer     7 Beta if the link continues into the next line. If you are currently using     IE7 and want to know how this looks, go back to the XHTML/CSS tutorials homepage     and see the Creative Commons link or have a look at the 456 Berea Street     link above which is flagged as external. IE7 displays the link as a block     of two lines and thinks that it has to use the center of the whole block.     In the final release of IE7 the image disappears altogether.</p>
<h2>Additional Information</h2>
<p>The page <a href="http://pooliestudios.com/projects/iconize/">Iconize Textlinks with CSS</a> already takes the whole thing some steps further. IE6/7 support is out of the question due to CSS3 attribute selectors. Still, if you work with a descent browser&#8230;</p>
<p><a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/de/"><img style="border-width: 0;" src="http://i.creativecommons.org/l/by-nc/3.0/de/88x31.png" alt="Creative Commons License" /></a><br />
This <span>work</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/de/">Creative Commons Attribution-Noncommercial 3.0 Germany License</a>.</p>

<div class="sociable">
<div class="sociable_tagline">
<small>Save this to: </small>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F&amp;partner=sociable" title="Print"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F&amp;title=Flagging%20Links&amp;bodytext=This%20tutorial%20will%20show%20you%20how%20to%20add%20a%20small%20GIF%20image%20to%20a%20link%20depending%20on%20whether%20the%20link%20is%20internal%20%28no%20image%29%2C%20external%2C%20a%20specific%20external%20link%2C%20or%20a%20mailto%20link.%0D%0A%0D%0ARequired%20knowledge%3A%20XHTML%2C%20CSS%2C%20How%20to%20create%20a%20transparent%20GIF%20%28or%20use%20" title="Digg"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F&amp;title=Flagging%20Links&amp;notes=This%20tutorial%20will%20show%20you%20how%20to%20add%20a%20small%20GIF%20image%20to%20a%20link%20depending%20on%20whether%20the%20link%20is%20internal%20%28no%20image%29%2C%20external%2C%20a%20specific%20external%20link%2C%20or%20a%20mailto%20link.%0D%0A%0D%0ARequired%20knowledge%3A%20XHTML%2C%20CSS%2C%20How%20to%20create%20a%20transparent%20GIF%20%28or%20use%20" title="del.icio.us"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F&amp;t=Flagging%20Links" title="Facebook"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F&amp;title=Flagging%20Links&amp;annotation=This%20tutorial%20will%20show%20you%20how%20to%20add%20a%20small%20GIF%20image%20to%20a%20link%20depending%20on%20whether%20the%20link%20is%20internal%20%28no%20image%29%2C%20external%2C%20a%20specific%20external%20link%2C%20or%20a%20mailto%20link.%0D%0A%0D%0ARequired%20knowledge%3A%20XHTML%2C%20CSS%2C%20How%20to%20create%20a%20transparent%20GIF%20%28or%20use%20" title="Google Bookmarks"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F&amp;title=Flagging%20Links&amp;source=Alexander+Sperl+&amp;summary=This%20tutorial%20will%20show%20you%20how%20to%20add%20a%20small%20GIF%20image%20to%20a%20link%20depending%20on%20whether%20the%20link%20is%20internal%20%28no%20image%29%2C%20external%2C%20a%20specific%20external%20link%2C%20or%20a%20mailto%20link.%0D%0A%0D%0ARequired%20knowledge%3A%20XHTML%2C%20CSS%2C%20How%20to%20create%20a%20transparent%20GIF%20%28or%20use%20" title="LinkedIn"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F&amp;bm_description=Flagging%20Links&amp;plugin=soc" title="MisterWong"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.netvibes.com/share?title=Flagging%20Links&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F" title="Netvibes"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F&amp;title=Flagging%20Links" title="StumbleUpon"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F" title="Technorati"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Flagging%20Links%20-%20http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F" title="Twitter"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.alexandersperl.de%2F2007%2F01%2Fflagging-links%2F&amp;t=Flagging%20Links&amp;opener=bm&amp;ei=UTF-8&amp;d=This%20tutorial%20will%20show%20you%20how%20to%20add%20a%20small%20GIF%20image%20to%20a%20link%20depending%20on%20whether%20the%20link%20is%20internal%20%28no%20image%29%2C%20external%2C%20a%20specific%20external%20link%2C%20or%20a%20mailto%20link.%0D%0A%0D%0ARequired%20knowledge%3A%20XHTML%2C%20CSS%2C%20How%20to%20create%20a%20transparent%20GIF%20%28or%20use%20" title="Yahoo! Bookmarks"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.alexandersperl.de/2007/01/flagging-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using DIVs to Simulate Framesets</title>
		<link>http://www.alexandersperl.de/2006/10/using-divs-to-simulate-framesets/</link>
		<comments>http://www.alexandersperl.de/2006/10/using-divs-to-simulate-framesets/#comments</comments>
		<pubDate>Tue, 31 Oct 2006 07:57:36 +0000</pubDate>
		<dc:creator>Alexander Sperl</dc:creator>
				<category><![CDATA[HTML/CSS Tutorials]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[frameset]]></category>
		<category><![CDATA[simulation]]></category>
		<category><![CDATA[structure]]></category>

		<guid isPermaLink="false">http://www.alexandersperl.de/blog/2006/10/31/new-tutorial-using-divs-to-simulate-framesets/</guid>
		<description><![CDATA[This tutorial will show you how to use DIVs to simulate a frameset. Framesets are often problematic in terms of accessibility, however, they provide a simple way to structure a web document visually. Using DIVs in a specific manner can help to achieve both, a clear visual structure and high accessibility. See the result of [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>This tutorial will show you how to use DIVs to simulate a frameset. Framesets       are often problematic in terms of accessibility, however, they provide       a simple way to structure a web document visually. Using DIVs in a specific       manner can help to achieve both, a clear visual structure and high accessibility.</p>
<p><a href="http://www.alexandersperl.de/tutorials/css/files/divs_as_frames/divs_as_frames_final.html">See the result     of this tutorial</a>.</p>
<p>Required knowledge: XHTML, CSS, How to create a transparent GIF (or use     the one provided).</p>
<p>Tested in: <img class="alignnone size-full wp-image-179" title="Firefox" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/firefox.gif" alt="Firefox" width="16" height="16" /> <img class="alignnone size-full wp-image-180" title="Internet Explorer 6" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/ie6.gif" alt="Internet Explorer 6" width="16" height="16" /> <img class="alignnone size-full wp-image-181" title="Internet Explorer 7 and 8" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/ie7.gif" alt="Internet Explorer 7 and 8" width="16" height="16" /> <img class="alignnone size-full wp-image-182" title="Netscape 8" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/netscape8.gif" alt="Netscape 8" width="16" height="16" /> <img class="alignnone size-full wp-image-183" title="Opera 8" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/opera8.gif" alt="Opera 8" width="16" height="16" /> <img class="alignnone size-full wp-image-184" title="Safari" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/safari.gif" alt="Safari" width="16" height="16" /></p>
</div>
<p><span id="more-9"></span>While working on the <a href="http://vct.online.uni-marburg.de/"><acronym title="Virtual Center for Teacher Training" lang="en">VCT</acronym> portal</a> I thought that the learning windows should be redesigned from       a frame structure to a structure using DIVs in order to provide higher       accessibility while the visual structure remains the same. Visual structure       is a very important element in e-learning, since learners should be distracted       as little as possible while working with a learning object. For accessibility       problems with frames see the <a href="http://www.w3.org/TR/WCAG10-HTML-TECHS/#frames">W3.org       Accessibility Guideline</a>.</p>
<p>Structuring a page using DIVs is fairly simple and there are a lot of tutorials     all over the web. Most of them do not take into account an advantage of framesets     for visually enabled users, namely that elements of navigation can be placed     in the same spot on a page, so that users do not have to search for them     when navigating to a new page.</p>
<p>In this tutorial I will show how to create the following structure (coming     from the framesets of a <acronym title="Virtual Center for Teacher Training" lang="en">VCT</acronym> learning window).</p>
<div id="attachment_104" class="wp-caption alignnone" style="width: 330px"><img class="size-full wp-image-104" title="Frame Structure" src="/wp-content/uploads/2006/10/frame_structure.gif" alt="Frame Structure" width="320" height="240" /><p class="wp-caption-text">Frame Structure</p></div>
<h2>The XHTML code</h2>
<p>The code for this is fairly simple. We need three <code>&lt;div&gt;</code> elements and can     add some other stuff to fill the page with life. I will not comment a great     deal on the code, I guess it&#8217;s fairly straight forward:</p>
<pre title="code" class="html">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;DIVs as Frames Final Version&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
	&lt;div id="mainmenu"&gt;
		&lt;ul id="menu"&gt;
			&lt;li&gt;Home&lt;/li&gt;
			&lt;li&gt;Information&lt;/li&gt;
			&lt;li&gt;Contact&lt;/li&gt;
			&lt;li&gt;Links&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/div&gt;
	&lt;div id="content"&gt;
		&lt;h1&gt;Content goes here...&lt;/h1&gt;
		&lt;p&gt;A lot of valueable content on these pages...
			A lot of valueable content on these pages...
			A lot of valueable content on these pages...
			A lot of valueable content on these pages...
			A lot of valueable content on these pages...
			A lot of valueable content on these pages...
			A lot of valueable content on these pages...
			A lot of valueable content on these pages...
			A lot of valueable content on these pages...&lt;/p&gt;
	&lt;/div&gt;
	&lt;div id="toolbar"&gt;
		&lt;p&gt;This is the toolbar to which you can add
			your toolbar buttons later on.&lt;/p&gt;
	&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>Now, if this isn&#8217;t straight forward, I don&#8217;t know what it is. Anyway, the     CSS part is more tricky, let&#8217;s do it step by step.</p>
<h2>The CSS Code</h2>
<p>There are many ways in which you can use framesets. The image above would     be coded as a nested frameset, which means that the content and tools frames     add up to a frameset which is combined with the menu frame to another frameset.     Complicated as this may seem, we can forget about it in an instant, because     the CSS will provide a simpler way, placing each &#8220;frame&#8221; in an absolute position,     as you will see.</p>
<p>So let&#8217;s  position the <code>&lt;div&gt;</code> elements where we want them.     You may also have a different structure, I am choosing this one because it&#8217;s     a bit tricky to let the tools frame stick to the bottom of the page&#8230; This   is the CSS part after positioning the <code>&lt;div&gt;</code>s:</p>
<pre title="code" class="css">body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
body, #mainmenu, #content, #toolbar {
	margin: 0;
	padding: 0;
}
#mainmenu {
	width: 20%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #FFFEE3;
	border-right: 1px solid #999999;
}
#content {
	width: 80%;
	position: absolute;
	top: 0;
	bottom: 10%;
	left: 20%;
}
#toolbar {
	width: 80%;
	height: 10%;
	position: absolute;
	bottom: 0;
	left: 20%;
	top: auto;
	text-align: center;
	background-color: #FFFEE3;
	border-top: 1px solid #999999;
}</pre>
<p>Note that I set the position of all <code>&lt;div&gt;</code>s to <code>absolute</code> and used percentages     to create a dynamic design. You may also use pixel values for this. You know     the pros and cons, I guess. The tricky part is to attach the toolbar to the     bottom of the page. This can be done by setting the <code>bottom</code> property to <code>0</code> and the <code>top</code> property to <code>auto</code>.</p>
<p><a href="http://www.alexandersperl.de/tutorials/css/files/divs_as_frames/divs_as_frames_positioning.html">Here&#8217;s how     this looks like</a>. There are some display differences in the browser due     to the fact that we did not define the <code>&lt;ul&gt;</code>, <code>&lt;h1&gt;</code>,     and <code>&lt;p&gt;</code> elements. But that     shouldn&#8217;t be a problem. Rather, the problem is that Internet Explorer 6 (well,     yes, I know&#8230;) displays the main menu differently in that it ignores the <code>height:       100%;</code> part of the CSS.</p>
<p>The other problem is that the border of the mainmenu does not go through     to the bottom of the page as it would were it a frameset we were using. We     need to cheat a little in order to hit two birds with one stone, i.e. solve     the IE problem and the border problem.</p>
<p>The trick has been published by Trenton Moss in his highly recommended <a href="http://www.webcredible.co.uk/user-friendly-resources/css/css-tricks.shtml">Ten     CSS tricks you may not know article</a> for <a href="http://www.webcredible.co.uk/">webcredible.co.uk</a>.     And it goes a little something like this:</p>
<p>First we kick out the <code>#mainmenu</code> properties <code>background-color</code> and <code>border-right</code>.     We just don&#8217;t need them where we&#8217;re going. Then we prepare a background image,     which can <a href="http://www.alexandersperl.de/tutorials/css/files/divs_as_frames/background.gif">download</a> in order     to have it ready. The special thing about the background image is that it     is divided into two parts according to the division made in the page layout,     meaning the yellow part on the right is 20% wide and the white part is 80%.     There is a gray pixel at the end of the yellow part which will add up to     the line later on. Finally, we need to add the following line to the <code>body</code> selector.</p>
<pre title="code" class="css">background: url(background.gif) repeat-y 20% 0;</pre>
<p>This shorthand property is explained in detail in <a href="http://www.456bereastreet.com/archive/200502/efficient_css_with_shorthand_properties/">this       article</a> at <a href="http://www.456bereastreet.com/">456       Berea Street</a>. What is important here is that we set the value of the       <code>backgound-position</code> to <code>20%</code> and <code>0</code>, which means that it is placed 20% from       the center to the right and starts at the top of the page, which further       means that it simulates the mainmenu &#8220;frame&#8221; the way we wanted it&#8230; <a href="http://www.alexandersperl.de/tutorials/css/files/divs_as_frames/divs_as_frames_positioning_2.html">Have       a look at the result so far</a>.</p>
<p>Another point with frames is that you can have the content frame scrollable     while the other frames remain in place. You can have that with CSS, too.     Simply add the following line to the content selector:</p>
<pre title="code" class="css">overflow: auto;</pre>
<p>If the content of the main &#8220;frame&#8221;  exceeds the available space,     a scrollbar will added to the #content div.</p>
<p>There you go, with a little adjustments to the overall appearance <a href="http://www.alexandersperl.de/tutorials/css/files/divs_as_frames/divs_as_frames_final.html">this     is the &#8220;frameset&#8221;</a>. The CSS is included in the HTML document.</p>

<div class="sociable">
<div class="sociable_tagline">
<small>Save this to: </small>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F&amp;partner=sociable" title="Print"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F&amp;title=Using%20DIVs%20to%20Simulate%20Framesets&amp;bodytext=%0D%0A%0D%0AThis%20tutorial%20will%20show%20you%20how%20to%20use%20DIVs%20to%20simulate%20a%20frameset.%20Framesets%20%20%20%20%20%20%20are%20often%20problematic%20in%20terms%20of%20accessibility%2C%20however%2C%20they%20provide%20%20%20%20%20%20%20a%20simple%20way%20to%20structure%20a%20web%20document%20visually.%20Using%20DIVs%20in%20a%20specific%20%20%20%20%20%20%20man" title="Digg"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F&amp;title=Using%20DIVs%20to%20Simulate%20Framesets&amp;notes=%0D%0A%0D%0AThis%20tutorial%20will%20show%20you%20how%20to%20use%20DIVs%20to%20simulate%20a%20frameset.%20Framesets%20%20%20%20%20%20%20are%20often%20problematic%20in%20terms%20of%20accessibility%2C%20however%2C%20they%20provide%20%20%20%20%20%20%20a%20simple%20way%20to%20structure%20a%20web%20document%20visually.%20Using%20DIVs%20in%20a%20specific%20%20%20%20%20%20%20man" title="del.icio.us"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F&amp;t=Using%20DIVs%20to%20Simulate%20Framesets" title="Facebook"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F&amp;title=Using%20DIVs%20to%20Simulate%20Framesets&amp;annotation=%0D%0A%0D%0AThis%20tutorial%20will%20show%20you%20how%20to%20use%20DIVs%20to%20simulate%20a%20frameset.%20Framesets%20%20%20%20%20%20%20are%20often%20problematic%20in%20terms%20of%20accessibility%2C%20however%2C%20they%20provide%20%20%20%20%20%20%20a%20simple%20way%20to%20structure%20a%20web%20document%20visually.%20Using%20DIVs%20in%20a%20specific%20%20%20%20%20%20%20man" title="Google Bookmarks"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F&amp;title=Using%20DIVs%20to%20Simulate%20Framesets&amp;source=Alexander+Sperl+&amp;summary=%0D%0A%0D%0AThis%20tutorial%20will%20show%20you%20how%20to%20use%20DIVs%20to%20simulate%20a%20frameset.%20Framesets%20%20%20%20%20%20%20are%20often%20problematic%20in%20terms%20of%20accessibility%2C%20however%2C%20they%20provide%20%20%20%20%20%20%20a%20simple%20way%20to%20structure%20a%20web%20document%20visually.%20Using%20DIVs%20in%20a%20specific%20%20%20%20%20%20%20man" title="LinkedIn"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F&amp;bm_description=Using%20DIVs%20to%20Simulate%20Framesets&amp;plugin=soc" title="MisterWong"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.netvibes.com/share?title=Using%20DIVs%20to%20Simulate%20Framesets&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F" title="Netvibes"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F&amp;title=Using%20DIVs%20to%20Simulate%20Framesets" title="StumbleUpon"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F" title="Technorati"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Using%20DIVs%20to%20Simulate%20Framesets%20-%20http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F" title="Twitter"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F10%2Fusing-divs-to-simulate-framesets%2F&amp;t=Using%20DIVs%20to%20Simulate%20Framesets&amp;opener=bm&amp;ei=UTF-8&amp;d=%0D%0A%0D%0AThis%20tutorial%20will%20show%20you%20how%20to%20use%20DIVs%20to%20simulate%20a%20frameset.%20Framesets%20%20%20%20%20%20%20are%20often%20problematic%20in%20terms%20of%20accessibility%2C%20however%2C%20they%20provide%20%20%20%20%20%20%20a%20simple%20way%20to%20structure%20a%20web%20document%20visually.%20Using%20DIVs%20in%20a%20specific%20%20%20%20%20%20%20man" title="Yahoo! Bookmarks"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.alexandersperl.de/2006/10/using-divs-to-simulate-framesets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hierarchical Sitemap with Dashed Lines</title>
		<link>http://www.alexandersperl.de/2006/03/hierarchical-sitemap-with-dashed-lines/</link>
		<comments>http://www.alexandersperl.de/2006/03/hierarchical-sitemap-with-dashed-lines/#comments</comments>
		<pubDate>Fri, 03 Mar 2006 09:58:56 +0000</pubDate>
		<dc:creator>Alexander Sperl</dc:creator>
				<category><![CDATA[HTML/CSS Tutorials]]></category>
		<category><![CDATA[dashed lines]]></category>
		<category><![CDATA[dotted lines]]></category>
		<category><![CDATA[hierarchy]]></category>
		<category><![CDATA[sitemap]]></category>
		<category><![CDATA[unordered list]]></category>

		<guid isPermaLink="false">http://localhost/?p=75</guid>
		<description><![CDATA[This tutorial will use a nested unordered list with two levels to create a hierarchical structure where dashed lines will show the dependencies. This could be used as a sitemap or to visualize a directory. The advantage of this technique is that you only need a simple nested list and do not have to add [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial will use a nested unordered list with two levels to create a hierarchical structure where dashed lines will show the dependencies. This could be used as a sitemap or to visualize a directory. The advantage of this technique is that you only need a simple nested list and do not have to add any additional code in the HTML document.</p>
<p><a href="http://www.alexandersperl.de/tutorials/css/files/sitemap/sitemap05.html">Have a look at the final result.</a></p>
<p>Required knowledge: XHTML, CSS, How to create a transparent GIF (or use the ones provided).</p>
<p>Tested in: <img class="alignnone size-full wp-image-179" title="Firefox" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/firefox.gif" alt="Firefox" width="16" height="16" /> <img class="alignnone size-full wp-image-180" title="Internet Explorer 6" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/ie6.gif" alt="Internet Explorer 6" width="16" height="16" /> <img class="alignnone size-full wp-image-181" title="Internet Explorer 7 and 8" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/ie7.gif" alt="Internet Explorer 7 and 8" width="16" height="16" /> <img class="alignnone size-full wp-image-182" title="Netscape 8" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/netscape8.gif" alt="Netscape 8" width="16" height="16" /> <img class="alignnone size-full wp-image-183" title="Opera 8" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/opera8.gif" alt="Opera 8" width="16" height="16" /> <img class="alignnone size-full wp-image-184" title="Safari" src="http://www.alexandersperl.de/wp-content/uploads/2010/01/safari.gif" alt="Safari" width="16" height="16" /></p>
<p><span id="more-75"></span>I was looking for a way to represent the hierarchical structure of the portal of the <a href="http://www.linguistics-online.com/">Virtual Linguistics Campus</a>. There will be some discussion about whether the simulation of a directory structure for this purpose is a good way to do so. But you should know that most users of this web site are rather unexperienced in using a computer and are always thankful to see elements that they recognize instantly. Thus, I decided to do exactly that.</p>
<h2>The XHTML code</h2>
<p>To start with, we are going to write the XHTML code for the unordered nested list, all valid strict XHTML 1.0 code (not to worry, it&#8217;s what you probably know anyway):</p>
<pre title="code" class="html">&lt;ul id="sitemap"&gt;
	&lt;li&gt;Home&lt;/li&gt;
	&lt;li&gt;Information
	&lt;ul&gt;
		&lt;li&gt;Personal&lt;/li&gt;
		&lt;li&gt;Company Info&lt;/li&gt;
	&lt;/ul&gt;&lt;/li&gt;
	&lt;li&gt;Tutorials
	&lt;ul&gt;
		&lt;li&gt;Photoshop&lt;/li&gt;
		&lt;li&gt;XHTML&lt;/li&gt;
		&lt;li&gt;CSS
		&lt;ul&gt;
			&lt;li&gt;Explorer-like Sitemap&lt;/li&gt;
			&lt;li&gt;Simple Horizontal Menu&lt;/li&gt;
		&lt;/ul&gt;&lt;/li&gt;
		&lt;li&gt;PHP&lt;/li&gt;
	&lt;/ul&gt;&lt;/li&gt;
	&lt;li&gt;Contact&lt;/li&gt;
	&lt;li&gt;Links&lt;/li&gt;
&lt;/ul&gt;</pre>
<p>This is pretty straight forward I guess.</p>
<p>Let&#8217;s start thinking about the CSS for the directory look. As you may know, we can use the style <code>list-style-image</code> to use any image we like instead of the usual bullets. For our purpose we could create an image with a vertical line running down infront of all list items and a horizontal line guiding the way to each item. Let&#8217;s try this with a simple list like the following:</p>
<pre title="code" class="html">&lt;ul id="sitemap"&gt;
	&lt;li&gt;Home&lt;/li&gt;
	&lt;li&gt;Information&lt;/li&gt;
	&lt;li&gt;Tutorials&lt;/li&gt;
	&lt;li&gt;Contact&lt;/li&gt;
	&lt;li&gt;Links&lt;/li&gt;
&lt;/ul&gt;</pre>
<p>The CSS for the lines and everything would look like this:</p>
<pre title="code" class="css">#sitemap {     /*leave this out if you've defined the font*/
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9pt;
	color: #000000;
}

#sitemap li {
	list-style-image: url(line_01.gif);
}</pre>
<h2>As always in web development, there is a problem&#8230;</h2>
<p>At least I haven&#8217;t found a way to work around this phenomenon. If you use an image of a line which should continuously connect to the next line, forget about it what you will get is this (at least it looks the same in IE and Firefox <img src='http://www.alexandersperl.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ):</p>
<div id="attachment_186" class="wp-caption alignnone" style="width: 532px"><img class="size-full wp-image-186" title="2 Pixel Gap" src="http://www.alexandersperl.de/wp-content/uploads/2006/03/2_pixel_gap.gif" alt="2 Pixel Gap" width="522" height="201" /><p class="wp-caption-text">The 2 pixel gap in Firefox 2 and Internet Explorer 7</p></div>
<p>I call this the gap problem and if you are Eric Meyer and you are reading this, maybe you could drop me a line and tell me how to avoid it (never mind that the rest of the tutorial may be too complicated anyway&#8230;). No matter what you do, set every margin and padding to 0, the gap will not disappear. You can of course make the font smaller but not until 5pt will you get a smaller gap between items. I also tried 1pt and there was still a gap between some items. Not all, which makes you wonder once again&#8230;</p>
<p>Now, you will say that the problem can be solved by defining the <code>line-height</code> style     and you are right&#8230; Well, guess what: It only works for Firefox. Good ol&#8217;     IE will misbehave again. Or was it Firefox that misbehaves? I&#8217;m getting tired     of this. Fact is that no matter how you use <code>line-height</code> (number     value, length value, or percentage value) both browsers present different     results and I will not start thinking about other browsers yet. It would     have been so nice&#8230; That&#8217;s why I left out the <code>line-height</code> altogether.</p>
<p><span style="text-decoration: line-through;"><strong>This is an appeal to         the public</strong>: If you know a way to make this gap disappear (there         is a doh!-solution I am sure) please send an e-mail. Thank you.</span> As         I said, there is a doh!-solution to the gap problem, see the end of the         page for further info.</p>
<p>My  work-around solution for the gap is to utilize it and create     a dashed line which keeps in mind the two pixels in between list items. You     could of course do it with a dotted line but not with every dotted line,     you need to leave two pixels space in between and make sure that the top     and bottom pixels are filled with color, just like the following screenshots     exemplify:</p>
<div id="attachment_189" class="wp-caption alignnone" style="width: 298px"><img class="size-full wp-image-189 " title="Dashed Lines" src="http://www.alexandersperl.de/wp-content/uploads/2006/03/normal_blowup.gif" alt="Dashed Lines" width="288" height="198" /><p class="wp-caption-text">Dashed</p></div>
<div id="attachment_190" class="wp-caption alignnone" style="width: 298px"><img class="size-full wp-image-190" title="Dotted Lines" src="http://www.alexandersperl.de/wp-content/uploads/2006/03/dotted_blowup.gif" alt="Dotted Lines" width="288" height="198" /><p class="wp-caption-text">Dotted</p></div>
<p>Thus, we will use the gap to get a line which is continuous in some sense.</p>
<p>Now let&#8217;s try this on our nested list.</p>
<h2>For a cool directory list, I want&#8230;</h2>
<p>If you have a close look, we need a lot of different images to get a perfect look. Let&#8217;s make a list with things to avoid and things that we want:</p>
<ul>
<li>The first level items (Home, Information, etc.) don&#8217;t need lines.</li>
<li>The lines start too close beneath the &#8216;mother&#8217; items.</li>
<li>The last item should be a corner and not continue into &#8216;nothing&#8217;.</li>
<li>Level three items need two lines to the left to continue the hierarchy structure.</li>
<li>Level four items&#8230; No, that&#8217;s something you can figure out for yourself. It&#8217;s late, this should suffice.</li>
</ul>
<p>Let&#8217;s count. We need 8 different images for the nested list with three levels and here they are (I&#8217;ve added a border to make things less confusing):</p>
<p><img class="alignnone size-full wp-image-195" style="border: 1px solid #ccc; padding: 3px;" title="l2_normal" src="http://www.alexandersperl.de/wp-content/uploads/2006/03/l2_normal.gif" alt="Image for l2_normal" width="24" height="18" /> <img class="alignnone size-full wp-image-192" style="border: 1px solid #ccc; padding: 3px;" title="l2_first_follow" src="http://www.alexandersperl.de/wp-content/uploads/2006/03/l2_first_follow.gif" alt="Image for l2_first_follow" width="24" height="18" /><img class="alignnone size-full wp-image-193" style="border: 1px solid #ccc; padding: 3px;" title="l2_first_no_follow" src="http://www.alexandersperl.de/wp-content/uploads/2006/03/l2_first_no_follow.gif" alt="Image for l2_first_no_follow" width="24" height="18" /> <img class="alignnone size-full wp-image-194" style="border: 1px solid #ccc; padding: 3px;" title="l2_last_item" src="http://www.alexandersperl.de/wp-content/uploads/2006/03/l2_last_item.gif" alt="Image for l2_last_item" width="24" height="18" /> <img class="alignnone size-full wp-image-199" style="border: 1px solid #ccc; padding: 3px;" title="l3_normal" src="http://www.alexandersperl.de/wp-content/uploads/2006/03/l3_normal.gif" alt="Image for l3_normal" width="64" height="18" /> <img class="alignnone size-full wp-image-196" style="border: 1px solid #ccc; padding: 3px;" title="l3_first_follow" src="http://www.alexandersperl.de/wp-content/uploads/2006/03/l3_first_follow.gif" alt="Image for l3_first_follow" width="64" height="18" /> <img class="alignnone size-full wp-image-197" style="border: 1px solid #ccc; padding: 3px;" title="l3_first_no_follow" src="http://www.alexandersperl.de/wp-content/uploads/2006/03/l3_first_no_follow.gif" alt="Image for l3_first_no_follow" width="64" height="18" /> <img class="alignnone size-full wp-image-198" style="border: 1px solid #ccc; padding: 3px;" title="l3_last_item" src="http://www.alexandersperl.de/wp-content/uploads/2006/03/l3_last_item.gif" alt="Image for l3_last_item" width="64" height="18" /></p>
<p>Once we have them we can do everything else in CSS. Are you still with me? O.K. on we go.</p>
<h2>The CSS part of the whole thing</h2>
<p>Let&#8217;s think about how the structure of the nested list might help us to use as few classes as possible (maybe none at all). Have a look at the XHTML code again:</p>
<pre title="code" class="html">&lt;ul id="sitemap"&gt;
	&lt;li&gt;Home&lt;/li&gt;
	&lt;li&gt;Information
	&lt;ul&gt;
		&lt;li&gt;Personal&lt;/li&gt;
		&lt;li&gt;Company Info&lt;/li&gt;
	&lt;/ul&gt;&lt;/li&gt;
	&lt;li&gt;Tutorials
	&lt;ul&gt;
		&lt;li&gt;Photoshop&lt;/li&gt;
		&lt;li&gt;XHTML&lt;/li&gt;
		&lt;li&gt;CSS
		&lt;ul&gt;
			&lt;li&gt;Explorer-like Sitemap&lt;/li&gt;
			&lt;li&gt;Simple Horizontal Menu&lt;/li&gt;
		&lt;/ul&gt;&lt;/li&gt;
		&lt;li&gt;PHP&lt;/li&gt;
	&lt;/ul&gt;&lt;/li&gt;
	&lt;li&gt;Contact&lt;/li&gt;
	&lt;li&gt;Links&lt;/li&gt;
&lt;/ul&gt;</pre>
<p>Level 1 items are the children of the <code>&lt;ul&gt;</code> with the ID &#8216;sitemap&#8217;. We did not want any list style for them. So the CSS code for those list items is the following (let&#8217;s make it easy for a start, although this applies to all descendants of #sitemap):</p>
<pre title="code" class="css">#sitemap li {
	list-style-type: none;
}</pre>
<p>Level 2 items are children of the unordered lists that are children of the aforementioned level 1 items (hey, they are grandchildren in other words&#8230;), so we could write this in order to get the first basic images:</p>
<pre title="code" class="css">#sitemap ul li {
	list-style-image: url(l2_normal.gif);
}</pre>
<p>Level 3 items are children&#8230; and so on&#8230; You know how it works:</p>
<pre title="code" class="css">#sitemap ul ul li {
	list-style-image: url(l3_normal.gif);
}</pre>
<p>You will see that we have some things to do. We need to change the image for the first entry on each level. We need to increase the margin between the level 1 items to make it all clearer. And we need to change the image for the last item.</p>
<p>To change the image for the first entry we need to introduce a class for level 2 and one for level three. The same applies for the last entry.</p>
<pre title="code" class="css">#sitemap ul li.firstfollow {
	list-style-image: url(l2_first_follow.gif);
}

#sitemap ul li.last {
	list-style-image: url(l2_last_item.gif);
}

#sitemap ul ul li.firstfollow {
	list-style-image: url(l3_first_follow.gif);
}

#sitemap ul ul li.last {
	list-style-image: url(l3_last_item.gif);
}</pre>
<p>The changed XHTML code look like this:</p>
<pre title="code" class="html">&lt;ul id="sitemap"&gt;
	&lt;li&gt;Home&lt;/li&gt;
	&lt;li&gt;Information
	&lt;ul&gt;
		&lt;li&gt;Personal&lt;/li&gt;
		&lt;li&gt;Company Info&lt;/li&gt;
	&lt;/ul&gt;&lt;/li&gt;
	&lt;li&gt;Tutorials
	&lt;ul&gt;
		&lt;li&gt;Photoshop&lt;/li&gt;
		&lt;li&gt;XHTML&lt;/li&gt;
		&lt;li&gt;CSS
		&lt;ul&gt;
			&lt;li&gt;Explorer-like Sitemap&lt;/li&gt;
			&lt;li&gt;Simple Horizontal Menu&lt;/li&gt;
		&lt;/ul&gt;&lt;/li&gt;
		&lt;li&gt;PHP&lt;/li&gt;
	&lt;/ul&gt;&lt;/li&gt;
	&lt;li&gt;Contact&lt;/li&gt;
	&lt;li&gt;Links&lt;/li&gt;
&lt;/ul&gt;</pre>
<p>You may have seen the firstfollow class and asked yourselves, is there a firstnofollow class? Yes, because if there wasn&#8217;t we&#8217;d need only 6 images like in the list so far. I&#8217;ve added l[x]_first_no_follow.gif to cover the unlikely event that you only have one item.</p>
<p>I have also added a child selector in the stylesheet to increase the margin between level 1 items. This, however, does not work in IE because it does not support child selectors.</p>
<p>O.K., now the final stylesheet looks like this:</p>
<pre title="code" class="css">#sitemap {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9pt;
	color: #000000;
}

#sitemap li {
	list-style-type: none;
}

ul#sitemap &gt; li {
	margin-bottom: 10px;
}

#sitemap ul li {
	list-style-image: url(l2_normal.gif);
}

#sitemap ul ul li {
	list-style-image: url(l3_normal.gif);
}

#sitemap ul li.firstfollow {
	list-style-image: url(l2_first_follow.gif);
}

#sitemap ul li.last {
	list-style-image: url(l2_last_item.gif);
}

#sitemap ul ul li.firstfollow {
	list-style-image: url(l3_first_follow.gif);
}

#sitemap ul ul li.last {
	list-style-image: url(l3_last_item.gif);
}</pre>
<p>Hope you like it and I&#8217;m looking forward to receiving your suggestions.</p>
<h2>Questions/Problems/Disappointments</h2>
<p>The only problem I can think of, is that users may adjust the font-size     and this will break apart the whole structure. If you know that your users     will not do this, you don&#8217;t have to bother. If you want it more flexible,     you&#8217;ll have to think of whether this is the right thing for you, I&#8217;m afraid&#8230;</p>
<h2>Suggestions from you, valued readers</h2>
<h3>27 March, 2006</h3>
<p>Blair Miller suggested some easier code for almost the same effect.     You might change the border style and the image (you only need one image     in his example) to solid in order to make it work in IE. Here&#8217;s his CSS:</p>
<pre title="code" class="css">ul, li {
	list-style: none;
	margin: 0;
	padding: 0;
}

li {
	margin-bottom: 15px;
}

li li {
	background: transparent url(horizontal-dot.gif) 0 0.5em no-repeat;
	border-left: 1px dotted #000;
	margin: 0 0 0 15px;
	padding-left: 25px;
}

li li ul {
	padding-bottom: 15px;
}</pre>
<h3>28 March, 2006</h3>
<p>Jason Hutchinson suggested to remove the gap by setting the margins to a     negative value. A bit dirty <img src='http://www.alexandersperl.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  but it works in FF and IE. Here are the necessary     changes in the CSS:</p>
<pre title="code" class="css">#sitemap li {
	list-style-type: none;
	margin-bottom:-2px;
}

#sitemap ul {
	margin-top:-2px;
}</pre>
<h3>26 April, 2006</h3>
<p>Robin Parmar suggests a different     approach to the problem. He is using more HTML code, fewer images, and comes     up with a more flexible solution. <a href="http://diagrammes-modernes.blogspot.com/2006/04/styling-sitemap.html">Have     a look at his suggestion.</a></p>

<div class="sociable">
<div class="sociable_tagline">
<small>Save this to: </small>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F&amp;partner=sociable" title="Print"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F&amp;title=Hierarchical%20Sitemap%20with%20Dashed%20Lines&amp;bodytext=This%20tutorial%20will%20use%20a%20nested%20unordered%20list%20with%20two%20levels%20to%20create%20a%20hierarchical%20structure%20where%20dashed%20lines%20will%20show%20the%20dependencies.%20This%20could%20be%20used%20as%20a%20sitemap%20or%20to%20visualize%20a%20directory.%20The%20advantage%20of%20this%20technique%20is%20that%20you%20" title="Digg"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F&amp;title=Hierarchical%20Sitemap%20with%20Dashed%20Lines&amp;notes=This%20tutorial%20will%20use%20a%20nested%20unordered%20list%20with%20two%20levels%20to%20create%20a%20hierarchical%20structure%20where%20dashed%20lines%20will%20show%20the%20dependencies.%20This%20could%20be%20used%20as%20a%20sitemap%20or%20to%20visualize%20a%20directory.%20The%20advantage%20of%20this%20technique%20is%20that%20you%20" title="del.icio.us"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F&amp;t=Hierarchical%20Sitemap%20with%20Dashed%20Lines" title="Facebook"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F&amp;title=Hierarchical%20Sitemap%20with%20Dashed%20Lines&amp;annotation=This%20tutorial%20will%20use%20a%20nested%20unordered%20list%20with%20two%20levels%20to%20create%20a%20hierarchical%20structure%20where%20dashed%20lines%20will%20show%20the%20dependencies.%20This%20could%20be%20used%20as%20a%20sitemap%20or%20to%20visualize%20a%20directory.%20The%20advantage%20of%20this%20technique%20is%20that%20you%20" title="Google Bookmarks"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F&amp;title=Hierarchical%20Sitemap%20with%20Dashed%20Lines&amp;source=Alexander+Sperl+&amp;summary=This%20tutorial%20will%20use%20a%20nested%20unordered%20list%20with%20two%20levels%20to%20create%20a%20hierarchical%20structure%20where%20dashed%20lines%20will%20show%20the%20dependencies.%20This%20could%20be%20used%20as%20a%20sitemap%20or%20to%20visualize%20a%20directory.%20The%20advantage%20of%20this%20technique%20is%20that%20you%20" title="LinkedIn"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F&amp;bm_description=Hierarchical%20Sitemap%20with%20Dashed%20Lines&amp;plugin=soc" title="MisterWong"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.netvibes.com/share?title=Hierarchical%20Sitemap%20with%20Dashed%20Lines&amp;url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F" title="Netvibes"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F&amp;title=Hierarchical%20Sitemap%20with%20Dashed%20Lines" title="StumbleUpon"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F" title="Technorati"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Hierarchical%20Sitemap%20with%20Dashed%20Lines%20-%20http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F" title="Twitter"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.alexandersperl.de%2F2006%2F03%2Fhierarchical-sitemap-with-dashed-lines%2F&amp;t=Hierarchical%20Sitemap%20with%20Dashed%20Lines&amp;opener=bm&amp;ei=UTF-8&amp;d=This%20tutorial%20will%20use%20a%20nested%20unordered%20list%20with%20two%20levels%20to%20create%20a%20hierarchical%20structure%20where%20dashed%20lines%20will%20show%20the%20dependencies.%20This%20could%20be%20used%20as%20a%20sitemap%20or%20to%20visualize%20a%20directory.%20The%20advantage%20of%20this%20technique%20is%20that%20you%20" title="Yahoo! Bookmarks"><img src="http://www.alexandersperl.de/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.alexandersperl.de/2006/03/hierarchical-sitemap-with-dashed-lines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

