CSS Positioning-12.Review


#1

https://www.codecademy.com/courses/web-beginner-en-6merh/1/7?curriculum_id=50579fb998b470000202dc8b#

I done what it told me to do but it don't work then i went and set my screen's zoom to 100% as it told me but it still don't work. Please help.


Replace this line with your code. 

html:

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<div></div>
	</body>
</html>

CSS:

/*Add your CSS below!*/
div {
    border:1px solid black:
    background-color:#cc0000;
    margin:10px 5px 5px 50px;
    padding:0px 30px 0px 10px;
}


#2

Hi this line

border:1px solid black:

you have a : at the end of the line instead of ;


#3

ok thanks it was only just a silly mistake.


#4

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