Boundaries and Space: #7 Keep it inline - All of the main.css code is correct, yet is says that the 'display: incline;' is missing from the nav li selector


#1

Did you add a display of inline to the nav li selector in main.css?



Replace this line with your code. 

html, body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-weight: 300;
  line-height: 1.5;
}

body {
  font-family: 'Lato', sans-serif;
  background-image: url('https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-3/background.jpg');
  background-position: center top;
  background-size: cover;
  margin: 0;
}

.page-title {
  text-align: center;
  font-weight: 100;
}

.page-description {
  border: 1px solid #000;
  text-align: center;
	padding: 30px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
	border: 5px solid #FFF;
	margin-top: 20px;
}

.gallery-item {
  margin: 20px;
}

.gallery-item .thumbnail {

}

/* FOOTER NAVIGATION */

nav {
  background-color: #FFF;
}

nav li {
 display: incline;
  margin: 0;
  padding:0 10px;
}

nav ul {
  display: incline;
}

.contact-btn {

}

.contact-btn a {
  margin-right: 30px;
  padding: 8px 18px;
  border: 1px solid #204156;

}

.contact-btn a:active {
  position: relative;
  bottom: 2px;
}

nav a {
  height: 60px;
  line-height: 60px;
  color: #204156;
  text-decoration: none;
}




#2

Have a look at how you spelt it.

incline instead of inline


#3

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