Questions tagged [paragraphs]
96 questions
12
votes
1 answer
Set left margin for a paragraph in html
i want to start a paragraph after putting 5 spaces and all the lines beneath the first line should come in a straight line, imean all the lines in the paragraph should have 5 spaces before it starts.
I am getting this paragraph from databse.
I want…

Ishan
- 4,008
- 32
- 90
- 153
7
votes
4 answers
Add paragraph tags to post content in wordpress?
I'm getting some pages with the get_pages function and echoing the page content like: $page->post_content, but contrary to the_content(), this way wordpress wont add p tags automatically, is there any way to add them here?
Thanks in advance

Javier Villanueva
- 3,886
- 13
- 48
- 80
7
votes
4 answers
python-docx get tables from paragraph
I have .docx file with many paragraphs and tables like:
par1
table1
table2
table3
par2
table1
table2
2.1 par21
table1
table2
I need to iterate all objects and make dictionary, maybe in json format like:
{par1: [table1, table2, table3],…

Konstantyn
- 127
- 1
- 1
- 7
6
votes
4 answers
jQuery.replaceWith, changing
to ?
I am working with a CMS that produces double break tags in place of my preferred paragraph tag.
I tried:
$('
').replaceWith(''); Now after you finish laughing; could you please let me know if this is possible and if yes, the best way…
').replaceWith(''); Now after you finish laughing; could you please let me know if this is possible and if yes, the best way…

Laurence L
- 613
- 1
- 8
- 21
6
votes
1 answer
"It is necessary to detach the element" error in google docs script
When I try to copy paragraphs form one doc to another I get unexpected error:
It is necessary to detach the element
What does it mean? What am I doing wrong?
function test_copy_paragrahps() {
var final = 'final';
var doc1 = get_doc('',…

Karen Fisher
- 747
- 1
- 8
- 25
6
votes
8 answers
Typo3: How to remove empty paragraphs on page
I'm using Typo3 v6.1 to create a standard page of the type “text”. In the view, Typo3 adds four empty paragraphs before and after the content created on the Rich Text Editor.