![]() |
#1 |
Zealot
![]() Posts: 142
Karma: 10
Join Date: Jun 2014
Device: nook
|
Trouble Getting Letter Formatting to Work in Sigil
I am trying to format a letter
I am using the following in the CSS: .letter {margin-left: 3em; margin-right: 3em; } .letter p{text-indent: 0; text-align: justify; font size: 1em; margin-top: 1.25em;} .letter p.sign {text-align: right;} That should be the code used in the suggested PDF by Pablo. When looking at the code, here are my problems. 1) The signature is left aligned rather than right aligned 2) The font size is too large in the letter. I have tried adjusting from the 1em, but that seems to do nothing. Essentially, it seems like this code is not being taken seriously and something else is overriding it. Any help would be appreciated. Here is the code for that section in the book <div class="letter"> <p>DEAR GEORGE,</p> <p>Pa brought me two pretty books full of pictures. He got them in Alexandria. They have pictures of dogs and cats and tigers and elephants and ever so many things in them. Cousin bids me send you one of them. It has a picture of an elephant with a little Indian boy like Uncle Joe’s Sam on his back. Pa says if I do my tasks well he will let Uncle Joe bring me to see you. Will you ask your Ma to let you come to see me?</p> <p class="sign">Your friend,</p> <p class="sign">RICHARD HENRY LEE</p> </div> |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,306
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Works fine for me
Last edited by PeterT; 11-14-2014 at 11:21 PM. |
![]() |
![]() |
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,641
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Zealot
![]() Posts: 142
Karma: 10
Join Date: Jun 2014
Device: nook
|
linked the css to the .xhtml file already
is it possible that something else would be overriding this part of the css? |
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#6 |
Writer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 101
Karma: 590630
Join Date: Mar 2011
Location: Munich, Germany
Device: none
|
The hyphen is missing in font size.
It should be font-size. George |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Picture formatting in Sigil | rosshalde | Sigil | 3 | 10-27-2014 05:29 PM |
Formatting in Sigil | Rizphil | Sigil | 4 | 02-14-2012 02:39 AM |
Trouble getting ADB to work | t3l01v | Nook Developer's Corner | 14 | 01-26-2011 04:03 AM |
Some trouble with Sigil | carmenchu | Sigil | 2 | 01-05-2011 11:27 AM |
Unutterably Silly Is Work really a four letter word? | radioflyertoo | Lounge | 55 | 09-06-2009 12:03 PM |