View Single Post
Old 01-27-2011, 10:35 AM   #25
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,113
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Jabby View Post
I've tried every combination of values for ".noline" I could think of and only two work; display:inline or margin:0 and you MUST have the class=noline in both the "body" and the "h3" definition.

BTW, I choose "display: inline" because this works best if you want give an image (a cover?) a TOC entry.

Regards - John

P.S. If anybody wants a file to play with I'd be happy to upload a shortened version of the file I'm using.
Jelby has it.
You have an "Empty" (nothing shows on the screen) H2 (That is only used to put a title in the TOC). It still has the Height of a visible H2

You need to override its normal properties and shrink it to 0 (4 things make up vertical space used:Margin Border, Padding, and Text-size(content)
http://www.w3.org/TR/CSS2/box.html to see a model of what you are trying to manipulate,"Your way"
theducks is online now   Reply With Quote