Heading

The following text consists of a mock Latin which has been based upon the average frequency of characters and word lengths of the English language in order to reproduce a reasonably accurate overall visual impression. Lorem ipsum dolor sit amet, consectetur adipscing elit, sed diam nonnumy eiusmod tempor incidunt ut labore et dolore magna aliquam erat volupat.

Et harumd dereud facilis est er expedit distinct. Nam liber a tempor cum soluta nobis eligend optio comque nihil quod a impedit anim id quod maxim placeat facer possim omnis es voluptas assumenda est, omnis dolor repellend. Temporem autem quinsud et aur office debit aut tum rerum necesit atib saepe eveniet ut er repudiand sint et molestia non este recusand.

Sub Heading

The following text consists of a mock Latin which has been based upon the average frequency of characters and word lengths of the English language in order to reproduce a reasonably accurate overall visual impression. Lorem ipsum dolor sit amet, consectetur adipscing elit, sed diam nonnumy eiusmod tempor incidunt ut labore et dolore magna aliquam erat volupat.

Et harumd dereud facilis est er expedit distinct. Nam liber a tempor cum soluta nobis eligend optio comque nihil quod a impedit anim id quod maxim placeat facer possim omnis es voluptas assumenda est, omnis dolor repellend. Temporem autem quinsud et aur office debit aut tum rerum necesit atib saepe eveniet ut er repudiand sint et molestia non este recusand.


Back to the Web Dev FAQs.

Code used (Valid XHTML 1.1 and CSS). Note that it is recommended to move the CSS to an external .css file. We embeded them in the HTML for easy of viewing.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Menu</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">
#content {
	margin-left:165px;
	font-family: verdana, arial, sans-serif;
	font-size: 85%;
}
h1 {
	color: #677B92;
	background-color: transparent;
	font-size: 20px;
}
h2 {
	color: #677B92;
	background-color: transparent;
	font-size: 18px;
}
ul#menu {
	position: absolute;
	top: 40px;
	width: 150px;
	margin: 0;
	padding: 0;
}
ul#menu li {
	height: 15px;
	border-bottom: 1px solid #c0c0c0;
}
#menu a {
	display: block;
	color: #677b92;
	background-color: transparent;
	background-image: url("images/arrow_off.gif");
	background-repeat: no-repeat;
	background-position: 5px;
	font-family: verdana, arial, sans-serif;
	font-size: 75%;
	height: 15px;
	padding-left: 13px;
	text-decoration: none;
}
#menu a:hover {
	color: #cc3333;
	background-color: transparent;
	background-image: url("images/arrow_on.gif");
	background-repeat: no-repeat;
	background-position: 5px;
}
.hidden {
	display: none;
}
</style>

</head>

<body>
<div id="content"> 
	<h1>Heading</h1> 
	<p>The following text consists of a mock Latin which has been based upon the average frequency of 
	characters and word lengths of the English language in order to reproduce a reasonably accurate 
	overall visual impression. Lorem ipsum dolor sit amet, consectetur adipscing elit, sed diam nonnumy 
	eiusmod tempor incidunt ut labore et dolore magna aliquam erat volupat.</p>
	<p>Et harumd dereud facilis est er expedit distinct. Nam liber a tempor cum soluta nobis eligend 
	optio comque nihil quod a impedit anim id quod maxim placeat facer possim omnis es voluptas assumenda 
	est, omnis dolor repellend. Temporem autem quinsud et aur office debit aut tum rerum necesit atib saepe 
	eveniet ut er repudiand sint et molestia non este recusand.</p>
	<h2>Sub Heading</h2>
	<p>The following text consists of a mock Latin which has been based upon the average frequency of 
	characters and word lengths of the English language in order to reproduce a reasonably accurate 
	overall visual impression. Lorem ipsum dolor sit amet, consectetur adipscing elit, sed diam nonnumy 
	eiusmod tempor incidunt ut labore et dolore magna aliquam erat volupat.</p>
	<p>Et harumd dereud facilis est er expedit distinct. Nam liber a tempor cum soluta nobis eligend 
	optio comque nihil quod a impedit anim id quod maxim placeat facer possim omnis es voluptas assumenda 
	est, omnis dolor repellend. Temporem autem quinsud et aur office debit aut tum rerum necesit atib saepe 
	eveniet ut er repudiand sint et molestia non este recusand.</p>
</div> 

<ul id="menu">
	<li><a href="http://www.infinitypages.com">Infinity Web Design</a></li>
	<li><a href="http://www.webdevfaqs.com">Web Dev FAQs</a></li>
	<li><a href="http://www.infinitypages.com/research">Research Pages</a></li>
	<li><a href="http://www.w3c.org">W3C</a></li>
</ul>

</body>
</html>