Help with HTML formatting in post editor
-
So, even though I’m still an HTML novice at best, I’ve managed to find information online on how to add some formatting such as small caps to a post. However, there is something that is driving me crazy, and I can’t figure it out. Hopefully I explain this well.
Text formatting with its own code is easy to use, because it has its own tags to open and close the formatting. However, the only way I’ve been able to find to use some formatting such as small caps (or “font variant: normal”, which sets the specified text back to normal) is to use the following code (with extra spaces added to make sure it shows up correctly in this post):
< p style=”font-variant: small-caps;” >then to later STOP the words from being in small caps, I either close it with < /p >, or add
< p style=”font-variant: normal;” >
The problem is that both of these create a new paragraph. Which means that it inserts an extra line.
Is there any well to tell the editor to NOT insert an extra line despite the presence of the p tags? Or, alternatively, is there a way to use formatting such as small caps WITHOUT the p tags being present at all?
Thanks in advance!
The blog I need help with is: (visible only to logged in users)
-
-
Ah, perfect! That worked beautifully. That’s what I was hoping, that there was a way to apply the formatting to a single word or a line, rather than using “p” tags to apply the formatting to the whole paragraph, since said tags always resulted in a new paragraph and extra line being created below them. I just didn’t know how to make that happen (i.e. didn’t realize that’s what “span” was).
Thanks much! ^^
- The topic ‘Help with HTML formatting in post editor’ is closed to new replies.