Paragraph Carriage Return vs < p > < /p >

ShamBaLa

Virgin-ish
Joined
Jun 26, 2024
Posts
73
At the risk of being barked at I seriously searched here and don't find a satisfactory answer.

I run my work thru an on line HTML converter and paste the result into the Lit DRAFT editor.
The stories look OK, but I think there are extra blank lines between graphs.

The things that need to be CENTERED are noted as <p align="center">************</p>
plus every paragraph starts with <p> and ends with </p> Standard HTML notation.

For the latest work I left the Center HTML and took out all the <p> to </p> notations
on paragraphs, SAVED and viewed in PREVIEW mode.
There is a nice acceptable blank line between each paragraph. Cool.

Does the Lit CCS simply recognize a Carriage Return as a paragraph blank line
and making the <p> notation unnecessary?

Or am I making more work for Laurel ?

Last time I submitted this latest story I got:
Your HTML code is not quite correct, and will not display properly as it currently is in the document. Please see this FAQ for more information: https://literotica.com/faq/publishing/publishing-text-formatting

The FAQ there doesn't help this situation.

Thanks.
 
You don't need any of the paragraph tags. Not even on the center tag.

<center>Centered text</center> is all you need. Lit will automatically insert the paragraph tags wherever there is a carriage return. You only need to add tags if you need things like centering, italic or bold. There's no need for a body tag, or any of the other elements of HTML. All you need is the tags for any formatting you wish to use ( Which is allowed... The allowed tags are limited, and many that will display in preview won't necessarily come through in the final presentation. ) put where you need them, directly into the otherwise plain text of your story.
 
The latest story was done with the carriage returns, not <p> tags, right?

-Annie
No. The previous 6 published had the <p> tags. First story was a cut and paste job from
Word to DRAFT which resulted in a lot of rejections and learning quickly.

I had to write HTML back before there was authoring systems and CSS etc.
Yea, OG for real. It was a perishable skill. So I probably was dredging up
an approach that is way OOD.
 
You don't need any of the paragraph tags. Not even on the center tag.

<center>Centered text</center> is all you need. Lit will automatically insert the paragraph tags wherever there is a carriage return. You only need to add tags if you need things like centering, italic or bold. There's no need for a body tag, or any of the other elements of HTML. All you need is the tags for any formatting you wish to use ( Which is allowed... The allowed tags are limited, and many that will display in preview won't necessarily come through in the final presentation. ) put where you need them, directly into the otherwise plain text of your story.
Thanks for the come back. Last couple stories I nail the italics and bold (strong) stuff. The CR was just making feel I was missing something or adding extra work for somebody. Had this nightmare of the next story published as a black wall of text. Oof.
 
Thanks for the come back. Last couple stories I nail the italics and bold (strong) stuff. The CR was just making feel I was missing something or adding extra work for somebody. Had this nightmare of the next story published as a black wall of text. Oof.
I just hit return twice at the end of every paragraph. No html formatting is needed.
 
Latest story published. The Email Stalker
This is how the HTML Draft looked:
HTML Draft View.jpg
This is How the Preview Looks in the Editor:
Preview Mode View.jpg

This is how the Published Story looks:

HTML Draft View.jpg
 

Attachments

  • How Shows on Lit site.jpg
    How Shows on Lit site.jpg
    53.1 KB · Views: 11
The images are screwed up. The How it Looks Published is in the last thumb nail. Comes out flush left while the Preview Mode shows it centered. Contrary to other threads it's not really WYSIWYG.

I was trying to tighten up the disclaimer block and get rid of extra line (cr).

We learn by doing. Heavy Sigh.
 
The images are screwed up. The How it Looks Published is in the last thumb nail. Comes out flush left while the Preview Mode shows it centered. Contrary to other threads it's not really WYSIWYG.

I was trying to tighten up the disclaimer block and get rid of extra line (cr).

We learn by doing. Heavy Sigh.
I've had problems with an inaccurate preview. Your best bet is to use as little of your own formatting as possible and use the tools that Lit does give you.
 
Unfortunately, block coding is highly unreliable. The preview is at best, an approximation. It always has been. It allows and processes a lot of tags that will never make it into the final story. It's basically a straight HTML rendering except for a few things it does filter out.

The effort ( and potential failure ) just for a fancy author's note isn't really worth the trouble, either. Even if you'd put the center tags on each line of the note, which would have rendered everything centered, you still wouldn't have the single-spacing between the lines of it. You'd have to use <br /> to accomplish that, and there's a better than average chance that those get stripped out of the final as well.
 
Literotica's story formatter is going to wrap each line with a "<p>" and a "</p>". So your story got converted to:
<p><p align="center">++++++++++++++++++++++++++++</p>
<p>This is a work of fiction</p>
<p>All characters are over 18.</p>
<p>Any similarity to actual persons or places is coincidental.</p>
<p>No electrons were harmed in constructing of this story.</p>
<p>++++++++++++++++++++++++++++</p></p>

As RejectReality wrote, <center>Centered text</center> is the way to go. And I'd also use <br>.

Another problem people encounter is if they make a large block of italicized or bold text in a story. You should put <i> and </i> around each paragraph. If the paragraphs get split up over two pages, then your text on the second page won't be italicized and the </i> will be visible.
 
Another problem people encounter is if they make a large block of italicized or bold text in a story. You should put <i> and </i> around each paragraph. If the paragraphs get split up over two pages, then your text on the second page won't be italicized and the </i> will be visible.
I've had an entire second page flip to italics because I got something wrong with the paragraph end not being closed. That was one of the few times I've ever submitted an edit. Annoying, but it was me being too clever. I rarely use html these days, because of that experience.
 
Back
Top