Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-23-2012, 01:01 PM   #1
GraciousMe
Zealot
GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.
 
Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
Question Distance between title and subtitle

I am trying to reduce the distance between a chapter title and its subtitle.

This is my relevant CSS:

@page {margin: 1.3em}
body { margin: 0; padding: 0; font-family: "Garamond"; font-style: normal; font-weight: normal; font-size: 1em; text-align: justify; line-height: 1.25 }

p {
text-indent: 1em;
text-align: left;
font-size: 1em;
margin-top: 0;
margin-bottom:0;
}
h1 {
font-size: 2.5em;
text-align: center;
font-weight: bold;
text-indent:0;
margin-bottom:2em;
}

And the code:

<h1 id="heading_id_2">The Universe</h1>

<p class="center">or</p>

<p class="center">How to cook soup</p>

How can I bring them closer together? It looks so ugly I am almost considering dumping the subtitle (not really about cooking).
GraciousMe is offline   Reply With Quote
Old 10-23-2012, 01:37 PM   #2
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
In h1 you seem to have "margin-bottom:2em;". Change this to a smaller number to close the gap underneath the titles.
Tex2002ans is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enter book title and subtitle when publishing at Smashwords amoroso Writers' Corner 5 05-10-2013 01:00 PM
Subtitle / Sub-Series on a Kindle? M4cc45 Library Management 0 06-28-2012 03:08 PM
5 way Distance edit Help Conner Kindle Developer's Corner 0 03-30-2012 11:31 AM
RK2729 subtitle srt font size istvan58 Introduce Yourself 2 09-22-2011 07:21 PM
Book SubTitle? taraboom11 Library Management 1 03-01-2011 08:48 PM


All times are GMT -4. The time now is 07:34 PM.


MobileRead.com is a privately owned, operated and funded community.