Having trouble with lesson 25 - Size and Borders


#1

Hi all I am having trouble submitting the code for this lesson.

Every time I try to submit I get a message saying "Did you remember to give your image a 1px solid #4682b4 border?"

As far as I can tell I have done everything I should.

What am I doing wrong?

Code is as follows


h1 {font-family: Verdana, Sans-serif; color: #576D94; }
p {font-size: 18px; color: #4A4943; font-family: Garamond, Serif; }
img {height: 100px; width: 300px; border: 1px solid #4682b4;}

TIA

John


#2

make sure your browser zoom is set to 100%. (browser setting, or try ctrl + 0 or cmd + 0 for mac)


#3

Thanks - that solved it.

I understand that it may not display properly but curious as to why the code isnt recognised if it isnt at 100% ?

Cheers

John


#4

browser zoom affects the border width because it is in pixels


#5

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