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
8
votes
5 answers

How to pass AWK output into variable?

I have a small bash script that greps/awk paragraph by using a keyword. But after adding in the extra codes : set var = "(......)" it only prints a blank line and not the paragraph. So I would like to ask if anyone knows how to properly pass the awk…
JavaNoob
  • 3,494
  • 19
  • 49
  • 61
8
votes
5 answers

How to set two different font sizes in the same

I have a piece of HTML code that i'm stuck with. How can I set the first part of this text to a font-size of 20px and the text after the
tag to a font-size of 15px? Or if I'm doing it completely wrong, how would I do it without having them in…
user182
  • 1,805
  • 5
  • 18
  • 18
8
votes
1 answer

ReportLab: Text with large font size is crammed within paragraph

Using ReportLab, I want to render a block of text with a large font size. Right now, my code places the text within a Paragraph so it can be word wrapped. However, the text turns out crammed together when rendered. It seems like the height I…
user1386211
  • 201
  • 3
  • 6
7
votes
1 answer

Splitting PDF files into Paragraphs

I have a question regarding the splitting of pdf files. basically I have a collection of pdf files, which files I want to split in terms of paragraph. so to each paragraph of the pdf file to be a file on its own. I would appreciate if you can help…
LoniF
  • 97
  • 1
  • 1
  • 7
7
votes
4 answers

How do you remove the space taken by an empty paragraph?

How to get rid of space from a paragraph? I have tried using negative margin/padding but it doesn't accept negative values for these properties. Any idea? My code is mentioned below:
1
7
votes
6 answers

HTML: I want to position this paragraph text to bottom of my page?

hi, Currently the text is at the top of my website but i want it bottom;

this is best day ever!this is best day ever!this is best day ever!

when i edit it and add text-align:bottom it dosent works!!!!

theRadBrad
  • 125
  • 1
  • 3
  • 10
7
votes
4 answers

How to select the paragraph with only specific class

Let say I have my HTML code look like this:

Paragraph

Paragraph 2

Paragraph 3

If I use: $('.p').css('color','red'), this will apply red color to all paragraphs. How can I apply the style to…
user2329398
7
votes
3 answers

How to add subscript characters in paragraphs using Word Automation?

I’m working on a program in C# that uses Microsoft Word 14.0 Object Library to create a .doc file, add paragraphs to it and saves it. There is a small form with a button that does described actions (see the code below). This part has no…
user1762820
  • 223
  • 3
  • 8
6
votes
2 answers

How to add space between lines within a single paragraph with Reportlab

I have a block of text that is dynamically pulled from a database and is placed in a PDF before being served to a user. The text is being placed onto a lined background, much like notepad paper. I want to space the text so that only one line of text…
Arion
  • 1,792
  • 2
  • 18
  • 29
6
votes
2 answers

Paragraph wrap fails witin a flex container

I have created a flex-box container which has further images and a paragraph inside a div in it. As soon as i enable wrapping the in css using "flex-wrap:wrap;", the text in the paragraph doesn't wrap anymore, causing the boxes to break line and…
6
votes
3 answers

IPhone: Change line spacing in UITextView?

I've been looking all over the 'net for information/examples... I'm trying to change the line spacing of text inside a UITextView object to double spaced. I thought you could do it via Core Text, but haven't found a solution! Any example code or…
Matt Gomes
  • 91
  • 1
  • 3
6
votes
4 answers

CKEditor prevent the

at the beginning

I am using CKEditor and what it does is add by default a

at the beginning of the content. Even if I set enterMode to be
, it will only affect what the Enter key does, and keep the starting

. The problem I have with that is that if a text…

Francisc
  • 77,430
  • 63
  • 180
  • 276
6
votes
1 answer

Inserting Horizontal Line within Paragraph [ Reportlab ]

I seen a few example code which add a horizontal line using a Table, however I was wondering if there a faster way using the Paragraph instead. I look into the reportlab docs, however I could find anything. So my question is, is it possible to add…
user5111186
6
votes
5 answers

print first paragraph in python

I have a book in a text file and I need to print first paragraph of each section. I thought that if I found a text between \n\n and \n I can find my answer. Here is my codes and it didn't work. Can you tell me that where am I wrong ? lines =…
Tuğcan Demir
  • 113
  • 3
  • 11
6
votes
1 answer

text flickers on changing opacity on hover

I am trying to do something very simple, a para has opacity set to 0, when hovered on parent div the para's opacity changes to 1, there is a change of text happening after the opacity changes, it's not exactly flickering, the text kinda self adjusts…
chandan
  • 1,574
  • 4
  • 23
  • 52
1 2
3
53 54