![]() |
#1 |
Zealot
![]() Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
Removing indent for individual paragraphs
Hello,
I'm trying to remove an indent for a single paragraph, but no matter what I try I'm not successful. The paragraph class is "p3" and it seems to be set this way by default (I imported the file from Scrivener). Do I need to change the paragraph classification, and then add something to my style sheet? If yes, can anyone help with the code? Thank you! |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,023
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Moderator Notice
This appears to be a EPUB / CSS question. Moving to correct forum. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,750
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Code:
<p class="p3">Some text indented...</p> 1. In your css stylesheet, write: Code:
.noindent { text-indent: 0; } Code:
<p class="p3 noindent">Some text indented but now will be not indented...</p>
1. Locate the place where is the "p3" class. You'll find something like: Code:
.p3 { ... some declarations ... " " } 3. Save your changes. After that, all the paragraphs with the "p3" class should be not indented. Regards Rubén } Last edited by RbnJrg; 07-15-2013 at 03:30 PM. |
|
![]() |
![]() |
![]() |
#4 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lists (ul, ol, li) removing indent completely? | FunkeXMix | ePub | 3 | 02-12-2013 10:25 PM |
Paragraph indent-size should not applied to centered paragraphs? | ShellShock | Calibre | 3 | 01-16-2010 11:54 AM |
removing spacing between paragraphs WITHOUT touching indent? | ferossan | Calibre | 2 | 12-24-2009 02:12 PM |
Paragraphs and indent | mrmikel | Calibre | 33 | 01-10-2009 05:37 PM |
Plucker: Can I indent paragraphs? | alexdouglas | Reading and Management | 3 | 08-07-2006 05:58 PM |