<!DOCTYPE html>
<html>
<head>
<meta name="description" content="website description" />
<meta name="keywords" content="website keywords, website keywords" />
<meta http-equiv="content-type" content="text/html; charset=windows-1252" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<!-- modernizr enables HTML5 elements and feature detects -->
<script type="text/javascript" src="js/modernizr-1.5.min.js"></script>
</head>
<body>
<div id="main">
<header>
<!—banner start -->
<div id="banner">
<div id="welcome">
<h3>DC Café</h3>
</div><!--close welcome-->
<div id="welcome_slogan">
<h3>company slogan</h3>
</div><!--close welcome_slogan--> <!—banner end-->
<div class="slideshow">
<ul class="slideshow">
<li class="show"><img width="940" height="300" src="images/home_1.jpg" alt=""Enter your caption here"" /></li>
<li><img width="940" height="300" src="images/home_2.jpg" alt=""Enter your caption here"" /></li>
</ul>
</div><!--close slideshow-->
</div><!--close banner-->
</header>
<nav>
<div id="menubar">
<ul id="nav">
<li class="current">index.html</li>
<li>menus.html</li>
<li>entertainment.html</li>
<li>dublin.html</li>
<li>contact.html</li>
</ul>
</div><!--close menubar-->
</nav>
<div id="site_content">
<div class="sidebar_container">
<div class="sidebar">
<div class="sidebar_item">
<h2>New Website</h2>
<p>Welcome to our new website. Please have a look around, any feedback is much appreciated.</p>
</div><!--close sidebar_item-->
</div><!--close sidebar-->
<div class="sidebar">
<div class="sidebar_item">
<h2>Latest Update</h2>
<h3>March 2016</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque cursus tempor enim.</p>
</div><!--close sidebar_item-->
</div><!--close sidebar-->
<div class="sidebar">
<div class="sidebar_item">
<h3>January 2016</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque cursus tempor enim.</p>
</div><!--close sidebar_item-->
</div><!--close sidebar-->
<div class="sidebar">
<div class="sidebar_item">
<h2>Contact</h2>
<p>Phone: +44 (0)1234 567891</p>
<p>Email: <a href="mailto:"></a></p>
</div><!--close sidebar_item-->
</div><!--close sidebar-->
</div><!--close sidebar_container-->
<div id="content">
<div class="content_item">
<h1>Welcome </h1>
<div class="content_imagetext">
<div class="content_image">
<img src="images/image1.jpg" alt="image1"/>
</div>
<p>
DC Café is located in Dublin 2. The café serves breakfast, lunch, dinner, snacks, beverages and take-away food at reasonable prices. The café also provides entertainment several nights a week including traditional, rock and folk music performances and poetry readings.
</p>
</div><!--close content_imagetext-->
<div class="content_container">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque cursus tempor enim. Aliquam facilisis neque non nunc posuere eget volutpat metus tincidunt.</p>
<div class="button_small">
#
</div><!--close button_small-->
</div><!--close content_container-->
<div class="content_container">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque cursus tempor enim. Aliquam facilisis neque non nunc posuere eget volutpat metus tincidunt.</p>
<div class="button_small">
#
</div><!--close button_small-->
</div><!--close content_container-->
</div><!--close content_item-->
</div><!--close content-->
</div><!--close site_content-->
</div><!--close main-->
<footer>
contact.html<br/><br/>
</footer>
<!-- javascript at the bottom for fast page loading -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/image_slide.js"></script>
</body>
</html>
CSS (style.css)
@font-face {
font-family: News Cycle;
src: url('../fonts/NewsCycle-Regular.eot');
src: local("News Cycle"), url('../fonts/NewsCycle-Regular.ttf');
}
html
{ height: 100%;}
*
{ margin: 0;
padding: 0;}
body
{ font: normal 80% Arial, Helvetica, sans-serif;
color: #000;
}
/* tell the browser to render HTML 5 elements as block */
article, aside, figure, footer, header, hgroup, nav, section {
display:block;
}
p
{ padding: 0 0 10px 0;
color: #000;
line-height: 1.7em;
font-size: 100% }
img
{ border: 0;}
h1, h2, h3, h4, h5, h6
{ font: bold 175% 'News Cycle', Arial, sans-serif;
color: #0043A8;
text-shadow: 1px 1px #fff;
letter-spacing: -1px;
margin: 0 0 10px 0;}
h2
{ font: bold 165% 'News Cycle', Arial, sans-serif;}
h3
{ font: bold 130% 'News Cycle', Arial, sans-serif;
color: #0043A8;}
h4, h5, h6
{ margin: 0;
padding: 0 0 0px 0;
font: normal 150% 'News Cycle', Arial, sans-serif;
color: #FFF;
line-height: 1.5em;}
h5, h6
{ font: normal 95% 'News Cycle', Arial, sans-serif;
color: #888;
padding-bottom: 15px;}
span
{ color: #0043A8;
text-shadow: 1px 1px #fff;}
a, a:hover
{ color: #000;
background: transparent;
outline: none;
text-decoration: underline;}
a:hover
{ text-decoration: none;}
ul
{ margin: 2px 0 22px 30px;
line-height: 1.7em;
font-style: normal;
font-size: 100%;}
ol
{ margin: 8px 0 22px 20px;}
ol li
{ margin: 0 0 11px 0;}
#main, header, #banner, #menubar, #site_content, footer, #content_grey, nav
{ margin-left: auto;
margin-right: auto;}
#main
{ background: #FFF;
background: -moz-linear-gradient(#A0A0A0, #FFF);
background: -o-linear-gradient(#A0A0A0, #FFF);
background: -webkit-linear-gradient(#A0A0A0, #FFF);}
header
{ height: 500px;
background: #1D1D1D url(../images/pattern.png) repeat;
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;}
#banner
{ width: 940px;
position: relative;
padding: 15px 0 0 0;
background: transparent;}
nav
{ height: 50px;}
#menubar
{ width: 940px;
height: 50px;
text-align: center;
margin-top: -25px;
background: #0043A8;
background: -moz-linear-gradient(#43A9FF, #0043A8);
background: -o-linear-gradient(#43A9FF, #0043A8);
background: -webkit-linear-gradient(#43A9FF, #0043A8);
border: 1px solid #0043A8;}
#welcome
{ width: 880px;
float: left;
height: 50px;
margin: 0 auto;
text-align: center;
padding: 0 0 10px 20px;
background: transparent;}
#welcome_slogan
{ width: 880px;
float: left;
height: 50px;
margin: 0 auto;
text-align: center;
padding-left: 20px;
background: transparent;}
#welcome H3
{ font: normal 400% 'News Cycle', Arial, sans-serif;
letter-spacing: -3px;
text-shadow: 1px 1px #000;
color: #FFF;}
#welcome_slogan H3
{ font: normal 300% 'News Cycle', Arial, sans-serif;
letter-spacing: -2px;
text-shadow: 1px 1px #000;
color: #FFF;}
ul#nav
{ margin:0;}
ul#nav li
{ padding: 0 0 0 0px;
list-style: none;
margin: 2px 0 0 0;
display: inline;
background: transparent;}
ul#nav li a
{ float: left;
font: bold 120% Arial, Helvetica, sans-serif;
height: 24px;
margin: 10px 0 0 20px;
text-shadow: 1px 1px #000;
padding: 6px 20px 0 20px;
background: transparent;
border-radius: 7px 7px 7px 7px;
-moz-border-radius: 7px 7px 7px 7px;
-webkit-border: 7px 7px 7px 7px;
text-align: center;
color: #FFF;
text-decoration: none;}
ul#nav li.current a
{ color: #000;
text-shadow: none;}
ul#nav li:hover a
{ color: #000;
text-shadow: none;}
#site_content
{ width: 940px;
overflow: hidden;
margin-bottom: 30px;
background: #FFF;
border: 1px solid #bbb;}
.sidebar_container
{ float: right;
margin: 20px 10px 0 10px;
width: 210px;
padding: 0;}
.sidebar
{ float: left;
width: 190px;
padding-left: 10px;
margin-bottom: 10px;}
.sidebar_item
{ width: 190px;}
.sidebar h2
{ padding: 5px 0 0 0;
font: bold 150% 'News Cycle', Arial, sans-serif;
height: 30px;
text-shadow: 1px 1px #FFF;
color: #0043A8;}
.sidebar h3
{ color: #43A9FF;}
#content
{ width: 680px;
margin: 0 0 20px 20px;
float: left;}
.content_item
{ width: 680px;
margin-top: 20px;
margin-bottom: 20px;}
.content_imagetext
{ width: 680px;
padding: 5px;
margin: 20px 0 0 0;
float: left;}
.content_image
{ float: left;
width: 150px;
height: 150px;
margin: 0 20px 10px 0;}
.content_container
{ width: 320px;
padding: 5px;
margin: 20px 10px 0 0;
float: left;}
footer
{ height: 50px;
padding-bottom: 30px;
font-weight: bold;
text-align: center;
text-shadow: 1px 1px #FFF;
color: #0043A8;
background: #FFF;}
footer a, footer a:hover
{ text-shadow: 1px 1px #FFF;
color: #0043A8;
text-decoration: none;
padding-bottom: 20px;}
footer a:hover
{ text-decoration: underline;}
footer a, footer a:hover
{ text-shadow: 1px 1px #FFF;
color: #0043A8;
text-decoration: none;}
footer a:hover
{ text-decoration: underline;}
.readmore a
{ color: #FFF;
text-shadow: 1px 1px #004C8C;}
.button_small
{ font: normal 110% Arial, Helvetica, sans-serif;
height: 15px;
width: 80px;
padding: 5px 2px 7px 2px;
border: 1px solid #FFF;
background: #0043A8;
background: -moz-linear-gradient(#43A9FF, #0043A8);
background: -o-linear-gradient(#43A9FF, #0043A8);
background: -webkit-linear-gradient(#43A9FF, #0043A8);
border-radius: 15px 15px 15px 15px;
-moz-border-radius: 15px 15px 15px 15px;
-webkit-border: 15px 15px 15px 15px;
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;}
.button_small a
{ color: #FFF;
padding-left: 5px;
text-shadow: 1px 1px #004C8C;}
.form_settings
{ margin: 15px 0 0 0;}
.form_settings p
{ padding: 0 0 4px 0;}
.form_settings span
{ float: left;
width: 280px;
text-align: left;
text-shadow: none;}
.form_settings input, .form_settings textarea
{ padding: 2px;
width: 299px;
font: 100% arial;
border: 1px solid #E5E5DB;
background: #FFF;
color: #47433F;}
.form_settings input[type="checkbox"]
{ padding: 2px 0;
width: 15px;
font: 100% arial;
border: 0;
background: #FFF;
color: #47433F;
margin: 28px 0;}
.form_settings .submit
{ font: 100% arial;
border: 1px solid;
width: 99px;
margin: 0 0 0 206px;
height: 26px;
padding: 2px 0 3px 0;
cursor: pointer;
background: #0043A8;
background: -moz-linear-gradient(#43A9FF, #0043A8);
background: -o-linear-gradient(#43A9FF, #0043A8);
background: -webkit-linear-gradient(#43A9FF, #0043A8);
border-radius: 15px 15px 15px 15px;
-moz-border-radius: 15px 15px 15px 15px;
-webkit-border: 15px 15px 15px 15px;
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
color: #FFF;}
.slideshow
{ width: 940px;
height: 300px;
float: left;
margin: 20px 0 0 0;
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;}
/* styling for the slideshow on the homepage */
ul.slideshow {
list-style: none;
width: 940px;
height: 300px;
overflow: hidden;
position: relative;
margin: 0;}
ul.slideshow li {
position: absolute;
margin: 0;
padding: 0;
left: 0;
right: 0;}
ul.slideshow li.show {
z-index: 500;}
ul img {
border: none;}
#slideshow-caption {
width: 940px;
height: 38px;
position: absolute;
bottom: 0;
left: 0;
z-index: 500;}
#slideshow-caption .slideshow-caption-container {
padding: 10px 25px 10px 25px;
background: transparent url(../images/transparent.png) repeat;
z-index: 1000;}
#slideshow-caption p {
padding: 0;
font: normal 130% arial, sans-serif;
color: #FFF;
text-shadow: 1px 1px #000;}
Contact Form (contact.html)
<div id="content">
<div class="content_item">
<form class="form_settings">
<h2>Contact Us</h2>
<p style="padding-bottom: 15px;">Use this form to send us a message</p>
<p><span>Name</span><input class="contact" type="text" name="your_name" value="" /></p>
<p><span>Email Address</span><input class="contact" type="text" name="your_email" value="" /></p>
<p><span>Message</span><textarea class="contact textarea" rows="8" cols="50" name="your_message"></textarea></p>
<p style="padding: 10px 0 10px 0;">Please enter the answer to this simple maths question (to prevent spam)</p>
<p><span>Maths Question: 9 + 3 = ?</span><input type="text" name="user_answer" class="contact" /><input type="hidden" name="answer" value="4d76fe9775" /></p>
<p style="padding-top: 15px"><span> </span><input class="submit" type="submit" name="contact_submitted" value="Send" /></p>
</form>
</div><!--close content_item-->
</div><!--close content-->