Hi, Can Anyone Help? I'm in CSS


#1

Here's my CSS coding... a Disclaimer pops up saying, " Oops, try again. Did you remember giving you div a height of 50px ? It looks undefined?"

I Though I Defined It In My Code Below:

img {
display: block;
height: 100px;
width: 300px;
margin: auto;
}

p {
text-align: center;
font-family: Garamond, serif;
font-size: 18px;
}

div{
height: 50px;
width: 120px;
border-style: #6495ED;
background-color: #BCD2EE;
}

My HTML Code Below:



	<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
	<title>About Me</title>
</head>

<body>
	<img src="https://s3.amazonaws.com/codecademy-blog/assets/46838757.png"/>
	<hr/>
	<p>We're Codecademy! We're here to help you learn to code.</p><br/><br/>
	<hr/>




</body>


#2

I don't see any divs in your html.. Did you forget them?


#3

beside what jibblyj already said, you gave your border-style a border-color value, you really need to tweak that, if you need any help with that, let me (us) know


#4

I'm missing so many things today... I think I'm tired.


#5

Hi, no i didn't add the

tags in my html doc because i didn't know where to tag them at??

#6

What does it say in the instructions about where to put them?


#7

It only says to add div in the CCS Style sheets... i copy and pasted the instruction below exactly how it was in the lesson:

On the CSS tab, add a div selector and add property: value pairs of:

height: 50px
width: 120px
border-color: #6495ED
background-color: #BCD2EE.
Your border-style can be any type (dashed, solid, and so on) and you can use any border-width you want. (We like 2px.)


#8

Hmm.. Have you tried submitting what you have? If that doesn't work just put the div tags in the body somewhere.