07-15-2013, 10:10 AM | #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! |
07-15-2013, 10:45 AM | #2 |
Well trained by Cats
Posts: 29,773
Karma: 54401244
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 | |
|
07-15-2013, 11:24 AM | #3 | |
Wizard
Posts: 1,539
Karma: 6613969
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. |
|
07-15-2013, 11:42 AM | #4 | |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
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 |