Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-23-2012, 02: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, 02:37 PM   #2
Tex2002ans
Fanatic
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: 539
Karma: 562971
Join Date: Jul 2012
Device: 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
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:00 PM
Subtitle / Sub-Series on a Kindle? M4cc45 Library Management 0 06-28-2012 04:08 PM
5 way Distance edit Help Conner Kindle Developer's Corner 0 03-30-2012 12:31 PM
RK2729 subtitle srt font size istvan58 Introduce Yourself 2 09-22-2011 08:21 PM
Book SubTitle? taraboom11 Library Management 1 03-01-2011 09:48 PM


All times are GMT -4. The time now is 01:53 AM.


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