CSS CSS Layout Basics Positioning Page Content Create an Image Caption with Absolute Positioning

Charity Thomas
seal-mask
.a{fill-rule:evenodd;}techdegree
Charity Thomas
Front End Web Development Techdegree Student 2,932 Points

I am taking same steps as video to position the location icon in top left corner of image, but it's not working for me.

Create an Image Caption with Absolute Positioning section:

I added the icon-location image to the HTML, and I added a class selector rule for icon location using 35px width, absolute positioning, top offset of -15px, and left offset of -15px, but the icon is very large and does not move to top left corner of the image. The icon remains large and above the image. Please let me know what I am doing wrong. Thanks!

Ryan Groom
Ryan Groom
17,505 Points

Charity Thomas I would have to see your cod to be certain, if you could share it, that would be great! Off the top of my head, the initial thoughts are that maybe the class name in the HTML doesn't exactly match the class selector in the CSS. Another possibility is that you need to do a hard refresh on your browser. On a Windows machine this can be done by pressing CTRL + R and on a Mac it can be done by pressing CMD + Shift + R. These are just guesses though, seeing your code would help a lot better.