8. Font Size - Keeps giving error message


#1

Mine keeps saying that the 10px font size looks like 10.4px. I checked the hint and it looks the same to me. Am I missing something?


<!DOCTYPE html>
<html>
	<head>
		<title>First font size change</title>
	</head>
	<body>
		<p style="font-size: 10px"> Some text for you to make tiny! </p>
		<p style="font-size: 20px"> Some text for you to make normal size!</p>
		<p style="font-size: 40px"> Some text for you to make super big!</p>
	</body>
</html>


#2

make sure your browser is not zoomed in first


#3

@kglopez
As a lead
I'm using Chrome.
font-size is 16.3636360168457px instead of 16px.
You have to enter the 'Settings' => 'Advanced settings' (in the very bottom)
and to chose 100% in the Page scale (in my browser it was 125%).
http://www.codecademy.com/forum_questions/5562cbbe93767652470006d0


#4

Thanks! It's working now. :slight_smile:


#5

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