Tribute page challenges

Tribute page challenges
0

#1

I’m trying to set up my tribute page.

Unfortunately, my page does’t responde to my css properly and I dont know why the img-div doesn’t popup on the middle of the main div.

can someone have a look at my code and give me some feedback?


#2

You are missing a “}” in your CSS

Copy this and paste there

html,body{
  font-family:"Trebuchet MS", Helvetica, sans-serif;
  text-align:center;
  min-width:260px;
  color:#333;
}
#main{
  margin:30px auto;
  margin-left:20px;
  margin-right: 20px;
  padding:15px;
  border:0px solid;
  border-radius:5px;
  background:#eee;
}
#quote {
  font-style: italic;
}
#tquote{
  max-width:750px;
  border:20px solid white;
  background:white;
}
img{
  max-width: 100%; 
  display: block; 
  height: auto;
  margin: auto;
}
#img-div{
  margin:-5px;
  margin-top:20px;
  width:100%;
  border:5px solid white;
  background:white;
}
#img-caption{
  margin:15px;
}
#headline{
  margin-top:50px;
  text-align:left;
}
#pp {
  margin-top: 15px;
  text-align: justify;
}
ul{
  max-width:550px;
  margin:0 auto;
  text-align:left;
}
li{
  margin: 10px;
}
blockquote{
  font-style: italic;
}

And remember to “clean your room” :face_with_raised_eyebrow:


#3

@Tchoukoualeu Thank man! where was it missing?

Some advices to clean my room?