Support » Theme: Twenty Twelve » Increasing the relative size of for in-line code

  • aclassifier

    (@aclassifier)


    When I add code parts on a line I use <tt>global.h</tt> (from the page linked to above). But they appear too small. So I’d like to increase the relative size.

    I have tried these in style.css, but none seem to work:

    tt.tt {size:”150%”}
    tt {size:”150%”}

    I see in https://www.w3schools.com/tags/tag_tt.asp that tt not supported in html5. What’s the best way now to do this? This is for in-line.

    For many-lined code I use

     since  really doesn't seem to work(?)

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • aclassifier

    (@aclassifier)

    THE TITLE WAS POSTED AS

    “Increasing the relative size of <tt> in-line code”

    but I guess the brackets were removed. I just paste the post again, this time decorated properly I hope:

    When I add code parts on a line I use <tt>global.h</tt> (from the page linked to above). But they appear too small. So I’d like to increase the relative size.

    I have tried these in style.css, but none seem to work:

    tt.tt {size:"150%"}
    tt {size:"150%"}

    I see in https://www.w3schools.com/tags/tag_tt.asp that tt not supported in html5. What’s the best way now to do this? This is for in-line.

    For many-lined code I use <pre> since <code> really doesn’t seem to work(?)

Viewing 1 replies (of 1 total)
  • The topic ‘Increasing the relative size of for in-line code’ is closed to new replies.