Font family problem


#1

For some reason it is saying that my second

  • is 16px instead of 12px but the code is all corrrect

    <!DOCTYPE html>
    <html>
    	<head>
    		<title>Loving the font changes</title>
    	</head>
    	<body>
    		<h1 style="font-family: Arial">Big title</h1>
    		 <ol>
    		 	<li style="font-family: Arial; font-size 16px">This item is big Arial.</li>
    		 	<li style="font-family: Verdana; font-size 12px">This item is medium Verdana.</li>
    		 	<li style="font-family: Impact; font-size 10px">This item is small Impact.</li>
    		 </ol>
    	</body>
    </html>

  • #2

    after a property (font-size) there should be a colon


    #3

    Could you demonstrate. From what I see, all are identical except for the numerals. Both the other lines work; why not line 2?


    #4

    How difficult is it to add a colon after font-size? Do i really need to demonstrate this:

    font-size:

    #5

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