Font-size <12px doesn't have effect in Google Chrome

后端 未结 15 954
萌比男神i
萌比男神i 2020-12-02 14:21

Elements with css font-size <12px doesn\'t have effect in Google Chrome - remains font-size 12px.

What should I do?

My Google Chrome browser uses default

相关标签:
15条回答
  • 2020-12-02 15:13

    what happens if you make the < P > tag a < SPAN > tag?

    is it possible you have defined your < p > tag somewhere along?

    0 讨论(0)
  • 2020-12-02 15:14

    It works for me.

    Try to:

    • use webdesigner tools, to check what css affects your element
    • post html and css aswell, so we can maybe figure out more

    Edit: Latest Chrome (stable) renders this this way:
    (source: kissyour.net)

    0 讨论(0)
  • 2020-12-02 15:17

    Have you tried putting an "!important" clause behind the font styles? This would override everything else. At least then you would know where to look for the problem. Like this:

    <p style="font-size:6px !important;">test 6px</p>
    
    0 讨论(0)
提交回复
热议问题