![]() |
#1 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Nov 2019
Device: Android smartphone
|
Remove space between paragraphs in the field "Comments"
Hi,
in the field "Comments" when I type <enter> to start a new paragraph, an empty space is inserted. How can I remove this space between paragraphs? Thanks. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Look at the style sheet/HTML view.
<enter> is creating a new tag (not a bad thing), the styling for that tag will be applied. It probably has a margin-top: of other than 0 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Nov 2019
Device: Android smartphone
|
Hi theducks,
no margin-top is set in the HTML. |
![]() |
![]() |
![]() |
#4 |
Not Quite Dead
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
<enter> normally adds a <p> tag, which will create white space.
<shift><enter> adds a <br/> tag, which breaks the line without adding space. |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Nov 2019
Device: Android smartphone
|
Thanks, Brett, it works!
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Then you need to find the (default 'comments' ) stylesheet for the <p> tag
It might be Preferences: look and feel: Book details (tab) It sure does happen on my system . ![]() Code:
p {margin 0 0} |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Enhancement request for "remove space between paragraphs" | HarryT | Calibre | 4 | 11-10-2013 08:37 PM |
automatic reset of font size in field "comments"? | Grins | Calibre | 3 | 12-19-2012 03:24 AM |
Is there any way to remove space between paragraphs? | kabloooie | Calibre | 6 | 11-03-2010 08:32 AM |
How to reduce indents without "removing space between paragraphs" | Skydog | Calibre | 5 | 06-05-2010 12:58 AM |
Bug? "Insert metadata as page at start of book" doesnt encode Comments field properly | rollercoaster | Calibre | 2 | 04-24-2010 10:40 PM |