CSS Padding Error


I'm getting very frustrated at this point, I've tried everything. And, I keep this error. I have tried resetting, I have tried a different computer, I have also made sure the CSS is linked to the HTML. I keep getting the error that my top padding isn't 40px.


* {
	border: 1px dashed black;

div {
	height: 50px;
	width: 100px;
	border: 4px solid #FF0000;
	border-radius: 5px;
	background-color: #308014;
	margin: 20px 50px 10px 5px
	padding-top: 40px;
	padding-right: 40px;
	padding-bottom: 40px;
	padding-left: 40px;


margin: 20px 50px 10px 5px
padding-top: 40px;

you forgot ; for margin


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