Border Width II


#1

Did you set the correct border widths?

.hotel {
  border-style: solid;
  border-width: 4px, 2px, 4px, 2px;
  margin: 60px auto;
  padding: 10px 0px 0px 0px;
  width: 90%;
}


#2

What happens when you take the commas out since they are not necessary like in the padding:


#3

Thanks i am a new person at all of this so i am a bad child


#4

hi i actually solved it the moment i tried to post this question which i already forgot i did until i had another question.. hope that made sense. and yeah you're right the problem was with the commas. thanks! :smiley:


#5

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