Font-size not working


#1

CODE:

<li style="font-size: 16px">This item is big Arial.</li>

RESULT:

  1. This item is big Arial.

Is this NOT working?

P.S. 0100001001001001010011100100000101010010010110010010000001001001010100110010000001000001001000000100001101001001010100000100100001000101010100100010000001010100010011110100111100100001


#2

Hello, I can't really understand what you're trying to say, but based on the text inside of your <li> element, are you trying to make the font arial?

If so, you need to add the font-family: command to your <li> style.

Hope I helped.


#3

No. what I mean is, the word doesn't change size!


#4

You might not see a change as 16px is the standard size. So if you change to another size you should see a difference :smile:


#5

That is because 16px is already the standard size. Here, take a look. You can execute both of these codes and have the exact same outcome:

With font-size
https://i.gyazo.com/aa32010acdfcfb8e9e29c55d3646725d.png

Without font-size
https://i.gyazo.com/7efdbbccbd89e0709738ba135bfa61d3.png

Seems to both be the exact same size, no need to edit that style.

Hope I helped.


#6

Thanks I thought it was that :slight_smile: