Questions tagged [paragraph]

The paragraph concept in any UI renderer.

The paragraph concept in any UI rendering application.

Can also refer specifically to the HTML <p>.

809 questions
16
votes
2 answers

How can I create fixed-width paragraphs with PDFbox?

I can insert simple text like this: document = new PDDocument(); page = new PDPage(PDPage.PAGE_SIZE_A4); document.addPage(page); PDPageContentStream content = new PDPageContentStream(document,…
Qpi
  • 394
  • 1
  • 3
  • 8
13
votes
3 answers

In contenteditable how do you add a paragraph after blockquote on Enter key press?

I have the following problem. Once I add a blockquote in contenteditable, by pressing Enter key it moves to a new line and adds another blockquote element. It goes on forever, and I can’t escape the formatting. The desired functionality would be…
Alex
  • 1,576
  • 3
  • 17
  • 35
11
votes
7 answers

Detect paragraph element change with JQuery

Is it possible to detect if the content of a paragraph has been changed in JQuery ? I tried the below code.

Text

- $(document).on("click", "#submit1", function () { var d = new Date(); …
Soumya
  • 885
  • 3
  • 14
  • 29
11
votes
2 answers

Rotate paragraphs or cells some arbitrary number of degrees -- Itext

I have a web site where the users upload photos and create photobooks. Also, they can add text at absolute positions, rotations, and alignments. The text can have new lines. I've been using the Itext Library to automatize the creation of the…
BernalCarlos
  • 936
  • 3
  • 12
  • 25
11
votes
8 answers

LaTeX: Avoid new paragraph?

I use the \todo command from the \todonotes package. I'd like to layout my source to put \todos separately from the previous paragraph: Some text. \todo{make note} But I don't want \todo to start a new paragraph, or it screws up the spacing of the…
Paul Biggar
  • 27,579
  • 21
  • 99
  • 152
10
votes
3 answers

paragraph "

" padding not applied

The following three pieces of code behave exactly the same:

A paragraph of text here...

A paragraph of text here...

A paragraph of text here...

How do I get the…
Rilien
  • 242
  • 2
  • 5
  • 11
10
votes
5 answers

How to match a paragraph using regex

I have been struggling with python regex for a while trying to match paragraphs within a text, but I haven't been successful. I need to obtain the start and end positions of the paragraphs. An example of a text: Lorem ipsum dolor sit amet,…
chtenb
  • 14,924
  • 14
  • 78
  • 116
9
votes
2 answers

HTML - How to have paragraph split into equally wide lines?

This is about basic HTML+CSS page rendering. When a paragraph is too long to fit in one line, it occupies as much space as it can, then wraps, and again and so on. I would like the line wrapping of my webpage to happen so that the resulting lines…
user334639
  • 556
  • 5
  • 10
9
votes
6 answers

Python - how to separate paragraphs from text?

I need to separate texts into paragraphs and be able to work with each of them. How can I do that? Between every 2 paragraphs can be at least 1 empty line. Like this: Hello world, this is an example. Let´s program something. Creating new …
kom20
  • 101
  • 1
  • 1
  • 2
9
votes
3 answers

make an image and a paragraph sit next to each other

I have a box with an image and some txt and I want the txt to be horizontal to the image. I know this may be a pretty easy question but I can't seem to find a good answer on the interwebs. thanks for any help.
JamesTBennett
  • 2,091
  • 6
  • 19
  • 22
9
votes
4 answers

Should I put paragraph tags around images?

I have a web page where I have text with images. I write some text (in a paragraph) then put an image, then another paragraph. Should I put p tags around the image too, or should I just leave it in between with just the img tag? The reason I ask…
Adam
  • 91
  • 1
  • 1
  • 2
9
votes
3 answers

CSS - Vertical align text in absolute positioned paragraph

Before we start: Please don't close this as a duplicate of another question. I just searched here on Stackoverflow without finding that exact case. The closest is I believe this question. Still, the replies given there don't really work for me, I…
Sven
  • 12,997
  • 27
  • 90
  • 148
8
votes
3 answers

How can I change

tag data dynamically after some defined time delay using javascript?

I want to change only

tag contents using javascript after a defined time delay. For example a

messages

should change depending on the no. of new messages came. As

messages(1)

messages(2)

Aishwarya Shiva
  • 3,460
  • 15
  • 58
  • 107
8
votes
2 answers

Drupal 8 orphan paragraphs

I've noticed that Paragraph entities are not deleted from the database. They rather unlink from the parent node. This is noticeable if you create a view, that lists Paragraphs and attach a contextual filter, that filters by Parent ID. For now, I've…
Elaman
  • 851
  • 1
  • 10
  • 22
8
votes
1 answer

target first letter of each word in css

I need to change size, color, and weight of every first letter of each word. I am not talking about Capitalize each first letter. I mean that target first letter and apply style according to my choice. : Click Here to see example about which i am…
Shakil Ahmad
  • 143
  • 1
  • 2
  • 13
1
2
3
53 54