Replies: 1   Views: 149
Html styling for paragraph within a list

Posted by vpratfr  · 06-07-2020 - 18:05


I cannot seem to be able to indent properly nested content located within a list item

This is the HTML code:

        <p>Some content</p>

« Something » is properly indented with the bullet

However « Some content » is not indented at all: it gets aligned to the left of the page.

Same goes with tables.

I have a PDF rendered for that same HTML based on DomPDF which properly indents everything.

Which trick can be applied to get everything indented at the same level as the list text ? (some of our bullet lists do not just contain Ps, they can also feature tables)


PS: using advanced license