programming-examples/css/Crumbs structure.html
2019-11-15 12:59:38 +01:00

66 lines
1.3 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Crumbs Structure</title>
<style type="text/css">
#crumbs {
background-color: green;
padding: 3px;
}
#crumbs h3 {
display: none;
}
#crumbs ul {
display: inline;
padding-left: 0;
margin-left: 0;
}
#crumbs ul li {
display: inline;
}
#crumbs ul li a:link {
padding: .3em;
}
crumbs ul ul li{
background-image: url(background-image.gif);
background-repeat: no-repeat;
background-position: left;
padding-left: 15px;
}
</style>
</head>
<body>
<div id="crumbs">
<h3>Code Examples:</h3>
<ul>
<li><a href="http://www.happycodings.com">Home</a>
<ul>
<li><a href="http://java.happycodings.com">java</a>
<ul>
<li><a href="http://cplusplus.happycodings.com">cplusplus</a>
<ul>
<li><a href="http://android.happycodings.com">android</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<hr />
<h1>Lorem ipsum dolor sit amet</h1>
<p>To enlarge or illustrate this power and effect of love is<br>
to set a candle in the sun.<br><br>
Robert Burton</p>
</body>
</html>