Border Width II


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%;


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


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


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:


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