How can I make the text centered under the Yoga Classes heading?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

How can I make the text centered under the Yoga Classes heading?

 

HTML-

<!DOCTYPE html>
<html lang="en">
<head>
<title>Path of Light Yoga Studio:: Classes</title>
<meta charset="utf-8">
<link rel="stylesheet" href="yoga.css">
</head>
<body>
<div id="wrapper">
<header>
<h1>Path of Light Yoga Studio</h1>
</header>
<br>
<nav>
<a href="index.html">Home</a>  
<a href="classes.html">Classes</a>  
<a href="schedule.html">Schedules</a>  
<a href="contact.html">Contact Us</a>
</nav>
<main>
<div id="hero">
 <img id="yogamat" src="yogamat.jpeg" alt="yogamat picture" width="80%" height="25%">
<h2>Yoga Classes</h2>
           <h3>Gentle Hatha Yoga</h3>
         

           <p class="indent">

               Intended for beginners and anyone wishing a grounded<br>

               foundation in the practice of yoga, this 60 minute class of<br>            

               poses and slow movement focuses on asana (proper<br>

               alignment and posture), pranayama (breath work), and<br>

               guided meditation to foster you mind and body connection.

           </p>

           <h3>Vinyasa Yoga</h3>
          
           </div>
           <p class="indent">

               Although designed for intermediate to advanced students, <br>

               beginners are welcome to sample this 60 minute class that<br>

               focuses on breath synchronized movement - you will<br>

               inhale and exhale as you flow energetically through yoga poses.

           </p>

           <h3>Restorative Yoga</h3>

           <p class="indent">

               This 90 minute class features a very slow movement and long<br>

               poses that are supported by a chair or wall. This calming,<br>

               restorative experience is suitable for students of any level of<br>

               experience. This practice is can be a perfect way to help rehabilitate an injury.      

           </p>


<br>
<br>
<footer>
<small> <i> Copyright © 2018 Path of Light Yoga Studio<br> <a href+"mailto:jacalynn@mayfield.com>Jacalynn@mayfield.com</a> </i> </small>
</div>
</footer>
</body>
</html>

 

CSS-

* {box-sizing: border-box;}

body {background-color: #3F2860;
font-family: Verdana,Arial, sans-serif;
color:#3F2860;}

#wrapper {background-color:#F5F5F5;
width:80%;
min-width:1200px;
max-width : 1480px;
margin-left : auto;
margin-right : auto;
color:#3F2860;}

#main {margin-left:170px;
padding-top:1em;
padding-right:2em;
Padding-left:1em;
background-color:#F5F5F5;
height: 500px;}

h2
{
margin-top:0px;
}

#nav{ float:left;
height:500px;
width:25%;
position:relative;
width:160px;
padding:1em;}

#image {float:left;
width:30%;
position:relative;}

span{
 margin-left: 40px;
 font-size: small;
}

#des{
 float: right;
 width: 70%;
 position: relative;
}

#mathero { height: 300px;
background-image: url("yogamat.jpeg");
background-size: 100% 100%;
background-repeat: no-repeat;}

#loungehero { height: 300px;
background-image: url("yogalounge.jpeg");
background-size: 100% 100%;
background-repeat: no-repeat;}

header {background-color: #9BC1C2;
background-image: url("lilyheader.jpeg");
background-repeat: no-repeat;
background-position: right;
height: 150px;}

h1 {line-height:200%;
padding-top: 50px;
padding-left: 2em;}

nav {font-weight: bold;
text-align:center;
Padding: 1em;
float:Left;
width:190px}

nav ul {list-style-type:none;
padding-left:0;
font-size:1.2em;}

nav a {text-decoration: none ;
display: block;
text-align:center;
font-weight:bold;
border: inset 3px #CCCCCC;
padding:1em;
margin-bottom:1em;}

#yogamat { float: center;
          margin: 0 0 5px 5px;
          border: 1px solid #000000;
}

nav a:link {color:#3F2860;}

nav a:visited {color:#497777;}

nav a:hover {color:#A26100;
border:3px inset #333333;}

clear { clear:both;}

footer {background-color: #9BC1C2;
font-size: .60em;
font-style: italic;
text-align: center;
padding: 1em;}

li {line-height: 90%;
padding-left: 0;
font size: 1.2em}

header, nav, main, footer { display: block; }

Floatleft {float:left;
margin-right:4em;}

**Yoga Classes**

**Gentle Hatha Yoga**

Recommended for beginners and anyone wishing a grounded foundation in the practice of yoga, this 60-minute class of poses and slow movement focuses on asana (proper alignment and posture), pranayama (breath work), and guided meditation to foster your mind and body connection.

**Vinyasa Yoga**

Though designed for intermediate to advanced students, beginners are welcome to sample this 60-minute class that focuses on breath synchronized movement — you will inhale and exhale as you flow energetically through yoga poses.

**Restorative Yoga**

This 90-minute class features a very slow movement and long poses that are supported by a chair or wall. This calming, restorative experience is suitable for students of any level of experience. This practice can be a perfect way to help rehabilitate an injury.
Transcribed Image Text:**Yoga Classes** **Gentle Hatha Yoga** Recommended for beginners and anyone wishing a grounded foundation in the practice of yoga, this 60-minute class of poses and slow movement focuses on asana (proper alignment and posture), pranayama (breath work), and guided meditation to foster your mind and body connection. **Vinyasa Yoga** Though designed for intermediate to advanced students, beginners are welcome to sample this 60-minute class that focuses on breath synchronized movement — you will inhale and exhale as you flow energetically through yoga poses. **Restorative Yoga** This 90-minute class features a very slow movement and long poses that are supported by a chair or wall. This calming, restorative experience is suitable for students of any level of experience. This practice can be a perfect way to help rehabilitate an injury.
```html
<h1>Path of Light Yoga Studio</h1>

<img src="yoga_mat_image.jpg" alt="Yoga mat with blanket and strap on a wooden floor">

<nav>
    <ul>
        <li><a href="#home">Home</a></li>
        <li><a href="#classes">Classes</a></li>
        <li><a href="#schedules">Schedules</a></li>
        <li><a href="#contact">Contact Us</a></li>
    </ul>
</nav>

<section id="yoga-classes">
    <h2>Yoga Classes</h2>

    <article>
        <h3>Gentle Hatha Yoga</h3>
        <p>Intended for beginners and anyone wishing a grounded foundation in the practice of yoga, this 60 minute class of poses and slow movement focuses on asana (proper alignment and posture), pranayama (breath work), and guided meditation to foster your mind and body connection.</p>
    </article>

    <article>
        <h3>Vinyasa Yoga</h3>
        <p>Although designed for intermediate to advanced students, beginners are welcome to sample this 60 minute class that...</p>
    </article>
</section>
```

**Explanation:**
- A navigation panel is present on the left side with links to "Home," "Classes," "Schedules," and "Contact Us."
- An image of a yoga mat, blanket, and strap on a wooden floor emphasizes the studio’s atmosphere.
- The "Yoga Classes" section introduces "Gentle Hatha Yoga," describing it as a 60-minute session focused on alignment, breath work, and meditation for beginners. Another class, "Vinyasa Yoga," is also listed, intended for more advanced students, but inviting beginners to try it.
Transcribed Image Text:```html <h1>Path of Light Yoga Studio</h1> <img src="yoga_mat_image.jpg" alt="Yoga mat with blanket and strap on a wooden floor"> <nav> <ul> <li><a href="#home">Home</a></li> <li><a href="#classes">Classes</a></li> <li><a href="#schedules">Schedules</a></li> <li><a href="#contact">Contact Us</a></li> </ul> </nav> <section id="yoga-classes"> <h2>Yoga Classes</h2> <article> <h3>Gentle Hatha Yoga</h3> <p>Intended for beginners and anyone wishing a grounded foundation in the practice of yoga, this 60 minute class of poses and slow movement focuses on asana (proper alignment and posture), pranayama (breath work), and guided meditation to foster your mind and body connection.</p> </article> <article> <h3>Vinyasa Yoga</h3> <p>Although designed for intermediate to advanced students, beginners are welcome to sample this 60 minute class that...</p> </article> </section> ``` **Explanation:** - A navigation panel is present on the left side with links to "Home," "Classes," "Schedules," and "Contact Us." - An image of a yoga mat, blanket, and strap on a wooden floor emphasizes the studio’s atmosphere. - The "Yoga Classes" section introduces "Gentle Hatha Yoga," describing it as a 60-minute session focused on alignment, breath work, and meditation for beginners. Another class, "Vinyasa Yoga," is also listed, intended for more advanced students, but inviting beginners to try it.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Image Element
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education