Lighthouse HTML
<!DOCTYPE html>
<html lang="en">
<head>
<title>Lighthouse Island Bistro</title>
<meta charset="utf-8">
<link rel="stylesheet" href="lighthouse.css">
</head>
<body>
<div id="wrapper">
<header>
<h1>Lighthouse Island Bistro</h1>
</header>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="rooms.html">Menu</a></li>
<li><a href="directions.html">Directions</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<div id="content">
<h2>Locally Roasted Free-Trade Coffee</h2>
<p>Indulge in the aroma of freshly ground roast coffee.Specially drinks are available hot or cold.</p>
<h2>Specialty Pastries</h2>
<p>Enjoy a selection of our fresh-baked,organic pastries,including fresh-fruit muffins,scones,croissants,and cinamon rolls.</p>
<img src="lighthouseisland.jpg" width="250" height="355" id="floatright" alt="Lighthouse Island">
<h2>Lunchtime is Anytime</h2>
<p>Savor delicious wraps and sandwiches on hearty,whole-grains breads with locally-grown salad,fruit,and vegetables.</p>
<h2>Panoramic View</h2>
<p>Take in some scenery!</p>
<p>The top of our lighthouse offers a panoramic view of the countryside.Challenge your friends to climb our 100-stair tower.</p>
</div>
<footer>Copyright © 2014</footer>
</div>
</body>
</html>
Lighthouse CSS
body{background-color:#00005D;
font-family:Verdana,Arial,sans-serif;}
#wrapper{text-align:center;
width:80%;
min-width: 940px;
color:#000066;
background-color: #B3C7E6;
margin: auto;}
header{background-color: #869DC7;
color:#00005D;
font-size: 150%;
padding-top: 10px;
padding-bottom: 10px;
padding-right: 10px;
padding-left: 155px;
height:130px;
background-image: url(lighthouselogo.jpg);}
nav{float:right;
width:150px;
font-weight: bold;
letter-spacing: 0.1em;}
#content{background-color: #FFFFFF;
color: #000000;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 20px;
padding-right: 20px;
overflow: auto;}
footer{font-size: 70%;
text-align: center;
padding: 10px;
background-color: #869DC7;
clear: both;}
h2{color:#869DC7;
font-family: arial,verdana,sans-serif;}
#floatright{float: right;
margin: 10px;}
ul{list-style-type: none;
margin: zero;
padding: zero;}
nav a:link{text-decoration: none;
padding: 20px;
background-color: #B3C7E6;
border-bottom: 1px solid white;
display: block;}
nav a:link{color: #FFFFFF;}
nav a:visited{color: #EAEAEA;}
nav a:hover{color:#869DC7;
background-color: #EAEAEA;}
Output
Thursday, November 28, 2019
Subscribe to:
Post Comments (Atom)
CSS Two-Column Page Layout
CSS Two-Column Page Layout HTML <!DOCTYPE html> <html lang="en"> <head> <title>Lighthouse Island ...
-
index.html <!DOCTYPE html> <html> <head> <style type="text/css"> body{background-color:#...
-
CSS Two-Column Page Layout HTML <!DOCTYPE html> <html lang="en"> <head> <title>Lighthouse Island ...
-
Floating Image HTML <!DOCTYPE html> <html> <head> <style> div.gallery { margin: 5px; border: 1px solid #...
No comments:
Post a Comment