View Single Post
Old 03-16-2017, 12:42 PM   #3
sbin
Voracious reader
sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.sbin is less competitive than you.
 
sbin's Avatar
 
Posts: 56
Karma: 14644
Join Date: Oct 2009
Device: Kobo Aura One, Sony PRS T2, iPhone 6, Cybook Orizon, Cybook Gen3
Quote:
Originally Posted by Just some guy View Post
Is it possible to remove indentation from the first line in an ePub, while not changing the following ones (that should be indented)?
Regardless of your workflow, you should be able to accomplish that by modifying the css.
If you're able to manage a bit of code, here's your two possible scenarios:
  1. If the first paragraph has a different class than all the other paragraphs, it's easy: just set "text-indent: 0" for that class in the css.
  2. If the first paragraph is not different from all the others, you have to get a bit creative. Depending on how your html is formatted, you could target your first paragraph for example by using a selector like "h1 + .yourtextclass".
sbin is offline   Reply With Quote