Font size

  • Author
    Posts
  • #854446

    hnsaifi
    Member

    I was trying to change the size of the font but it’s not working. What am I doing wrong? Shouldn’t this code work without CSS?<span style="font-size:xx-small;”>text</span>

    The blog I need help with is itspak.wordpress.com.

    #854697

    hnsaifi
    Member

    I’ve tried different things but problem continues. Have anyone any suggestion please?

    #854698

    justjennifer
    Moderator

    In the HTML Editor, check to make sure that the first quote mark remains a quotation mark and doesn’t revert to &quot;

    #854708

    hnsaifi
    Member

    Thanks Jennifer! You always help me in the codes problem. You’re great!
    I was just typing this code<span style="font-size:xx-small;”>text</span> and when I saw the text in visual editor it was of normal size. Going back to the HTML editor it was like this
    <span style=" "font-size:xx-small;”="">text</span> And removing " manually did the trick.
    I was using this on a post having interesting stuff, Let’s draw them, Using symbols…
    Thanks again

    #854710

    hnsaifi
    Member

    Oh the code messes when you change Editors time and again. I meant ”"” not ”

    #854802

    wsais
    Member

    It doesn’t matter how I type the string wordpress strips everything out of the tag once I update the page.

    I copy and paste this exact string into the HTML editor:
    <span style=”font-size:xx-small;”>text</span>

    click Update

    the HTML editor now displays:
    <span>text</span>

    #854804

    justpi
    Member

    That’s because the closing quotation mark is curly instead of straight.
    And xx-small isn’t the recommended way for specifying font sizes; the recommended way is percentages, for instance:
    <span style="font-size:60%;">text</span>
    Also, the span tag may or may not be right. What exactly are you trying to change?

The topic ‘Font size’ is closed to new replies.