octocatstartv

HlAan

A Pen By Captain Anonymous

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource
via CSS Lint

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource
via JS Hint

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Want a Run Button?

If active, the preview will update automatically when you change code.

HTML

            
              <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="styles.css" />
<title>ACC C.U.R.E- Crusade Until a Resolution Exists</title>
</head>




<body>
  <div id="canvas"> <!-- Start Canvas //-->
		
			<a href="index.html"><div class="logo"><img src="images/acclogo.png"></img></a>
								 
<div class="hovermenu">
	<ul>
		<a href="#"><li>About Us</li></a>
		<a href="#"><li>Message Board</li></a>
		<a href="#"><li>Donate</li></a>
	</ul>
</div> <!-- END TOPNAV //-->
</div> <!-- END LOGO //-->
								
		<div id="navigation">
		<!-- Sprite navigation goes here //-->
<ul>
	<li><a href="#">Understanding Adrenal Cancer</a></li>
	<li><a href="#">Events</a></li>
	<li><a href="#">Share Your Stories</a></li>
	<li><a href="#">Show Your Support</a></li>
    <li><a href="#">Mailing List</a></li>
</ul>
		</div> <!-- END NAVIGATION //-->
					<div id="content">
						



					</div> <!-- END CONTENT //-->


	</div> <!-- End Canvas //-->





</body>



</html>
            
          
!

CSS

            
              /* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
<-- END RESET CSS-->

html {
background:url('images/background.png') no-repeat center center fixed; 
background-color: #ccc;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover; 
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/background.png', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/background.png', sizingMethod='scale')";

}

body {
	min-width: 960px;
	margin-left: auto;
    margin-right: auto;
	background:url('images/background.png') no-repeat center center fixed; 
background-color: #ccc;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover; 
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/background.png', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/background.png', sizingMethod='scale')";
}


#canvas {
 padding:15px;
 height: 100%;
 width: 1100px;
 margin: auto;
}

.logo {
height: 128px;
margin: auto;
padding-bottom: 15px;

}

#navigation 
{
margin: 0px;
}



#navigation li
{
float: left;
display:block;
color: #000;
}

#navigation li a
{
background-image:url(images/sprite.jpg);
display: block;
	outline: none;
	position: relative;
	height: 70px;
	text-decoration: none;
	width: auto;
	color: black;
	padding-right: 10px;

}

.hovermenu 
{
float: right;
top: -100px;
position: static;
width: 300px;
z-index: 1;
}

.hovermenu ul{
font: bold 13px arial;
padding-left: 0;
margin-left: 0;
height: 20px;
}

.hovermenu ul li{
list-style-type: none;
display: inline;
width: 200px;
color: black;
padding-right: 10px;
}

.hovermenu ul li a{
padding: 2px 0.5em;
text-decoration: none;
float: left;
color: black;


}

.hovermenu ul li a:hover{
border-style: outset;
}
	
	#navigation .home 
	{
	background-position:0px 0px;
	width:102px;
	height:70px;
	
	}
	
	#navigation .services 
	{
	background-position:-102px 0px;
	width:110px;
	height:70px;
	}
	
	#navigation .portfolio 
	{
	background-position:-212px 0px;
	width:108px;
	height:70px;
	}
	
	#navigation .about 
	{
	background-position:-320px 0px;
	width:102px;
	height:70px;
	}
	
	#navigation .contact 
	{
	background-position:-422px 0px;
	width:103px;
	height:70px;
	}
	
	
	
	#navigation a .hover {
	background: transparent  url(images/sprite.jpg) no-repeat;
	display:block ;
	opacity: 0;
	position: relative;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	
	}
            
          
!

JS

            
              
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console