View Single Post
Old 03-14-2012, 09:02 AM   #1
LostSock
Enthusiast
LostSock began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jun 2011
Device: none
<ul> and <li> is not consistently spacing

This has been plaguing me on more than a few books, but this book has a LOT of lists and I don't want to use a slapjack fix for it. I'm not sure if this has happened to anyone else, but it's frustrating me.

I have this in my book, in several spots:

Code:
 <p class="subheadafter">Seasonal</p>

    <ul>
      <li>Information here.</li>
with this for subheadafter (I have not changed the li or ul parameters):

Code:
.subheadafter {
	font-size: 1.10em;
	font-style: italic;
	margin-top: 1em;
	text-indent: 0em;
}

What that produces in an ereader is some instances in which there is approx. 1em of space between 'Seasons' and the first item of the list. In other cases though, it's one line right after the other, with no space at all. Why on earth is that happening? It's the exact same code, and there's no unclosed ul preceding it. Does anyone have any ideas?

Thanks in advanced!
LostSock is offline   Reply With Quote