Doesn't recognize max-width in #image selector --- no reconoce el max-width

when I run the tests it doesn’t recognize the max-width in the #image selector and as you can see there it is…

   **Tu código hasta el momento**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
   <meta charset="UTF-8">
   <title>Pagina Tributo</title>
   <link rel="stylesheet" href="style.css">
   <main id="main">
     <h1 id="title">Dr. Norman Borlaug</h1>
     <p>The man who saved a billon lives</p>
     <figure id="img-div">
       <img  style="display: block;"id="image" src="tribute-image.jpg" alt="Dr. Norman">
       <figcaption id="img-caption">Dr. Norman Borlaug, third from the left, trains biologists in Mexico on how to increase wheat yields - part of his life-long war on hunger.</figcaption>
       <h3 id="tribute-info">Here's a time line of Dr. Borlaug's life:</h3>
           <li><strong>1914</strong> - Born in Cresco, Iowa</li>
           <li><b>1933</b> - Leaves his family's farm to attend the University of Minnesota, thanks to a Depression era program known as the "National Youth Administration"</li>
           <li><b>1935</b> - Has to stop school and save up more money. Works in the Civilian Conservation Corps, helping starving Americans. "I saw how food changed them", he said. "All of this left scars on me."</li>
           <li><b>1937</b> - Finishes university and takes a job in the US Forestry Service</li>
           <li><b>1938</b> - Marries wife of 69 years Margret Gibson. Gets laid off due to budget cuts. Inspired by Elvin Charles Stakman, he returns to school study under Stakman, who teaches him about breeding pest-resistent plants.</li>
           <li><b>1941</b> - Tries to enroll in the military after the Pearl Harbor attack, but is rejected. Instead, the military asked his lab to work on waterproof glue, DDT to control malaria, disinfectants, and other applied science.</li>
       <blockquote cite="">
         <p>"Borlaug's life and achievement are testimony to the far-reaching contribution that one man's towering intellect, persistence and scientific vision can make to human peace and progress."</p>
         <cite>-- Indian Prime Minister Manmohan Singh</cite>
       <h3>If you have time, you should read more about this incredible human being on his <a id="tribute-link" href="" target="_blank">Wikipedia entry</a>.</h3>

/* file: styles.css */

   font-size: 10px;
body {
	font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	font-size: 1.6rem;
	line-height: 1.5;
	text-align: center;
	color: #333;
	margin: 0;
   font-size: 4rem;
   margin-bottom: 0;
   padding: 15px;
   margin: 15px 10px;
   border-radius: 5px;
   background: #eee;
   background: white;
   padding: 10px;
   margin: 0;
   align-items: center;
   max-width: 100%;
   height: auto;
   margin: 0 auto;
   margin: 15px 0 5px 0;
   margin: 50px 0;
   text-align: center;
   max-width: 550px;
   margin: 0 auto 50px auto;
   text-align: left;
   line-height: 1.6;
   margin: 16px 0;
   font-family: italic;
   max-width: 545px;
   margin: 0 auto 50px auto;
   text-align: left;

   **Información de tu navegador:**

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0

Desafío: Construye una página tributo

Enlaza al desafío:

Hi @Kuro ,

You just need to link to the right css file : styles.css

1 Like

ty man, all for a single s, lol

1 Like