Project

General

Profile

Support #700

How to get <p> tag to behave as such...

Added by Joe Privett over 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/15/2014
Due date:
% Done:

0%

Estimated time:

Description

I want to use and tags inside a table cell. I want them to behave like they do in HTML, i.e. be able to set padding and margins to the tage so that they space nicely, and allow to have bullet points. Can you provide some examples?


Files

Screenshot_87.png View Screenshot_87.png 30.5 KB Andrei Bintintan, 10/15/2014 02:56 PM
#1

Updated by Andrei Bintintan over 9 years ago

Have a look in the example-multicell-1-overview.php example.

A paragraph example from there, generates the pdf(see screenshot).

Paragraph Example:~ - Paragraph 1
~~~ - Paragraph 2
~~~ - Paragraph 2
Sample text
~ - Paragraph 3
Sample text~~~ - Paragraph 1
~~~ - Paragraph 2

I would not try to replicate the p/ul/li functionality from html, as the tag based multicell works differently.

#2

Updated by Andrei Bintintan almost 8 years ago

  • Status changed from New to Closed

Also available in: Atom PDF