![]() |
#16 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
You can bring in the margins equal amounts from both sides for those paragraphs. But be sure to test with larger text sizes to make sure you are happy with the effect.
|
![]() |
![]() |
![]() |
#17 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
Code:
.outer {text-align:center} .left {text-align: left; width: 50%; } Code:
<div class="outer"> <p class="left">This text will be left aligned in a centered block that contains it.</p> </div> Last edited by Toxaris; 11-09-2013 at 02:24 AM. |
|
![]() |
![]() |
![]() |
#18 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
You cannot "center" various paragraphs/lines and have them then also align on the left-hand side at the same time. I think you mean, indent, is that right? I mean, think about it: "center" uses the character count of the line, and centers it based upon that. Unless all the lines you want centered have the same character count, they cannot "line up nicely" on the left-hand side. If that's the case, that you want left-aligned but indented paragraphs (that are also indented on the right-hand-side) simply create a paragraph class that has both left-and-right indents. Or you can try Blockquotes, but as we are walking before running here, just create a paragraph style that has the same margin on both the left and right-hand sides. Hitch Last edited by Hitch; 11-09-2013 at 06:40 PM. Reason: RE: Missed that Toxaris and mrmikel had replied first. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Selective paragraph indent | Leonatus | Writer2ePub | 8 | 10-31-2013 04:22 PM |
HTML- Paragraph indent w/ no spaces? Help please? | Joseph Picard | Workshop | 36 | 07-20-2012 12:35 PM |
Preference: Paragraph indent or a little paragraph spacing? | 1611mac | General Discussions | 48 | 11-11-2011 12:43 AM |
Paragraph spaces in ePub to Mobi conversion disrupts indent formatting | markpearl | Conversion | 34 | 09-21-2011 02:42 PM |
Paragraph indent-size should not applied to centered paragraphs? | ShellShock | Calibre | 3 | 01-16-2010 11:54 AM |