We have our winners! Thank you for reading and voting [ Dismiss ]
Home ยป Forum ยป Author Hangout

Forum: Author Hangout

Stupid question: How do I center text in my submission?

Sarkasmus ๐Ÿšซ

I submit HTML files. According to the Text Formatting Guide, there's only a very short list of HTML-Tags that don't get filtered out, and the CENTER-tag is not part of that list. It also states that all CSS will be removed.

So... will it work if I add an "align='center'" to a p-tag, or will that get filtered out as well?

Dominions Son ๐Ÿšซ

@Sarkasmus

Not a stupid question. If you don't want to mix HTML formatting with markup text, the answer is not obvious.

I will suggest that blockquote might get close to what you want.

Switch Blayde ๐Ÿšซ
Updated:

@Sarkasmus

will it work if I add an "align='center'" to a p-tag, or will that get filtered out as well?

That will get filtered out.

Blockquote will center a paragraph(s), but it will put a vertical line on the left.

Zellus ๐Ÿšซ

@Sarkasmus

You can use Tagged Text.

{c} at the beginning of a paragraph will cause the whole paragraph to be centred.

https://storiesonline.net/doc/Text_Formatting_Information_Guide#tags

Lazeez Jiddan (Webmaster)

@Sarkasmus

Actually, it's not so cut and dry.

The html-to-tags converter built into the system tries to extract whatever is supported in the site's tags.

So, if the following stuff is in the html formatting, it will use it:

< center> tag

< p> tag with 'center' in the style. example < p style="text-align: center"> or < p align="center"> or < p class="c"> are all supported.

Of course, < p>{c} also works easily.

When you center your text in MS Word (or whatever word processor you're using) and export your text into html, the system will try to respect the centering if the word processor created reasonable html.

Replies:   Sarkasmus
Sarkasmus ๐Ÿšซ

@Lazeez Jiddan (Webmaster)

Nice! Thank you!

Back to Top

Close
 

WARNING! ADULT CONTENT...

Storiesonline is for adult entertainment only. By accessing this site you declare that you are of legal age and that you agree with our Terms of Service and Privacy Policy.


Log In