• Resolved ajmcgraw

    (@ajmcgraw)


    Hello,

    I see nothing in the write-post editor for superscripts. I tried editing the html, and enclosing my stuff with <sup></sup>, and it shows up just fine in the Visual editor, but when I actually publish, my site does not show the text to be super-scripted.

    How can I get superscripts working?

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • No custom html code will work ever if you keep the wysiwyg animal turned on. Turn it off for good (in your user profile).

    No custom html code will work ever if you keep the wysiwyg animal turned on. Turn it off for good (in your user profile).

    I’ve only been using WordPress for a day, and I already hate that wysiwyg editor. 🙂

    Thank you!

    You need to style your CSS to show the sup/sub…try this in your CSS:

    sub {vertical-align: sub; }
    sup {vertical-align: sup; }

    No, you don’t.
    You can, but you don’t need to.

    No custom html code will work ever if you keep the wysiwyg animal turned on. Turn it off for good (in your user profile).

    Actually, I just tried this, and it still doesn’t work. I also added to my CSS like peiqinglong suggested, and still nothing. Anything wrapped in <sup> tags just ends up in normal script. The html still shows the <sup> tags after I save, but they just don’t do anything.

    It works on my blog. No CSS, just plain old HTML tag <sup> around my footnote numbers…

    It works on my blog. No CSS, just plain old HTML tag <sup> around my footnote numbers…

    It’s the theme I’m using (Librio). I just loaded another theme, and the <sup>’s work.

    I really like this theme, though. If the theme causes this somehow, do you have any idea where I could look to fix it?

    Check its stylesheet… sometimes theme authors add really weird things to it (like 0 margins for all paragraphs, ending up with no breaks in text; defining <em> as bold and other such idiotic things).

    Minutes later:

    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend {
    	margin: 0;
    	padding: 0;
    	border: 0;
    	outline: 0;
    	font-size: 100%;
    	vertical-align: baseline;
    	background: transparent;
    }

    Quod erat demonstrandum…

    Quod erat demonstrandum…

    Indeed.

    Just fixed it. Thanks!

    Check its stylesheet… sometimes theme authors add really weird things to it (like 0 margins for all paragraphs, ending up with no breaks in text; defining as bold and other such idiotic things).

    That’s why I usually add the sup/sup in my stylesheet, I’m one of those idiots that does the global reset. 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘<sup>?’ is closed to new replies.