lighthouse island bistro

Floating Image

<!DOCTYPE html>
<html>

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<link rel="stylesheet" href="dddd.css">
<title>floating image</title>
</head>

<body>
<h1>Floating Image</h1>
<div id="column"><figure><figcaption class="galleery"><img src="photo1.jpg"/>Golden Gate Bridge</figcaption></figure></div>
<div id="column"><figure><figcaption class="galleery"><img src="photo2.jpg"/>Rocky Shoreline</figcaption></figure></div>
<div id="column"><figure><figcaption class="galleery"><img src="photo3.jpg"/>Waves Crashing</figcaption></figure></div>

<div id="column"><figure><figcaption class="galleery"><img src="photo4.jpg"/>Ocean Sunset</figcaption></figure></div>
<div id="column"><figure><figcaption class="galleery"><img src="photo5.jpg"/>Waterfall on the Beach</figcaption></figure></div>
<div id="column"><figure><figcaption class="galleery"><img src="photo6.jpg"/>Fog Mooting In</figcaption></figure></div>
</body>

</html>

css:

#column{
      float:left;
      width:21%;
      }
.gallery{
        margin:5px;
        border:1px solid #ccc;
        float:left;
        width:180px;
        text-align:center;
        background-color:gainsboro;
        font-style:italic;
        }
.img{
     width:100%;
     height:auto;
     }


Lighthouse island bistro


<!DOCTYPE html>
<html lang="en">
<head>

<title>Lighthouse Island Bistro</title>
<meta charset="utf-8">
    <style type="text/css">
        body{background-color: #00005D;font-family: verdana,arial, sans-serif;}
        #wrapper{
            text-align: left;
            color: #000066;
            background-color: #B3C7E6;
            width:80%;
            min-width: 940px;
            margin: auto;
        }

        header{
            background-color: #869DC7;
            color: #00005D;
            font-size: 140%;
            padding-top: 10px;
            padding-right: 50px;
            padding-bottom: 10px;
            padding-left: 155px;
            height: 130px;
            background-image:url(lighthouselogo.jpg);
            background-repeat:no-repeat;
            position: relative;
        }

        nav{
            float: left;
            width: 150px;
            font-style:bold;
            letter-spacing: 0.1em;
        }

        #content{
            background-color: #FFFFFF;
            color: #000000;
            padding-bottom: 10px;
            padding-top: 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,sans-serif;
        }

        h3{
             color:#00005D;
        }

        #floatright{
            float: right;
            margin: 10px;
        }

        nav ul{
            list-style-type: none;
            margin: 0;
            padding: 0;
        }

        nav a{
            text-decoration: none;
            padding: 20px;
            background-color: #B3C7E6;
            border-bottom: 1px solid #FFFFFF;
            display: block;
        }

        #bottomright{
            position: absolute;
            bottom: 20px;
            right: 5px;
            left: 800px;
            font-size: 18px;
            font-style: italic;
        }
       
        #box{
            width:250px;
            border: 1px;
            padding: 10px;
            position: fixed;
            right: 180px;
            background-color:lightgray;
            box-shadow: 5px 5px 10px darkgray;
           
        }
    </style>
</head>
<body>
<div id="wrapper">
    <header>
        <h1>Lighthouse Island Bistro</h1>
        <div id="bottomright">the best coffee on the coast</div>
    </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">
        <h5 id="box">Watch for the March Madness Wrap next month!</h5>
        <h2>Bistro Blog</h2>
        <h3>Hari Malaysia Wrap</h3>
        <p>September 16, 2019</p>
        <p>The September special sandwich is the Hari Malaysia Wrap - heart-healthy organic chicken with roasted red peppers on a whole wheat wrap.</p>
        <br>
        <h3>New Coffee of the Day Promotion</h3>
        <p>September 16, 2019</p>
        <p>Enjoy the best coffee on the coast in the comfort of your home. We will feature a different flavour of our gourmet, locally roasted coffee each day with free bistro tastings and a discount on one-pound bags.</p>
    </div>
    <footer>Copyright &copy; 2019</footer>
    </div>   
</body>
</html>

Comments

Popular posts from this blog

casita sedona

lighthouse

lab 2 web architecture