Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.
I can’t get my div to center. What’s the solution to it and whatam i doing wrong?

   **Your code so far**
/* file: index.html */
<html lang='en'>
  <meta charset='UTF-8'>
  <title>Feedback Form</title>
  <link rel='stylesheet' href="styles.css">
<div class='container'> 
  <h1>Pizza Steve's Pizza Company</h1>
  <p>Est. 4/20/69</p>
/* file: styles.css */
 text-align: auto;
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

auto is not a valid value. The text-align property can be used for make the content of the div to center - with a valid value.

Gotcha. Thanks. Will do.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.