View Single Post
Old 07-04-2025, 01:28 PM   #1
Slevin#7
Connoisseur
Slevin#7 began at the beginning.
 
Posts: 69
Karma: 10
Join Date: May 2025
Device: iPad
How to margin p-Tag for PocketBook?

I wanna design for the PocketBook Reader app (iOS and Android) and keep struggling to set margins for paragraphs. Although PocketBook processes margins for div and some other tags properly, it refuses to apply my custom settings to p-tags. I've even raised precedence to almost maximum, but no satisfaction in sight...

HTML
Code:
<p>First Paragraph</p>
<p>Second Paragraph</p>
CSS
Code:
p {
  margin: 3em 0;
}
I have attached an EPUB2 with simple CSS styles, applying both shorthand and single set margins. Maybe someone would be so nice to take a quick look or at least can confirm that I'm not crazy

Many thanks for any help,
Slevin
Attached Thumbnails
Click image for larger version

Name:	pocketbook_screenshot.jpeg
Views:	45
Size:	1.02 MB
ID:	216689  
Attached Files
File Type: epub pocketbook_p_test.epub (2.6 KB, 27 views)
Slevin#7 is offline   Reply With Quote