Font family problem


For some reason it is saying that my second

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

    <!DOCTYPE html>
    		<title>Loving the font changes</title>
    		<h1 style="font-family: Arial">Big title</h1>
    		 	<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>

  • #2

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


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


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



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