View Single Post
Old 01-10-2009, 09:06 AM   #31
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by llasram View Post
Oh, I misunderstood what you were trying to do. Change your CSS selector from ".toc" to ".toc p". That makes it mean "all <p/> elements inside of an element with a class attribute of 'toc'."
Lies, lies. That'd work for EPUB, but the LRF conversion doesn't use a full CSS parser and that doesn't work. Actually, try it as an EPUB. If that doesn't work for you, what you're going to have to do instead is put a "class" attribute on all of your <p/> tags... So CSS like:

Code:
.noindent { text-indent: 0; }
And HTML like:

Code:
<p class="noindent">This paragraph isn't indented!</p>
Sorry I don't have an easier solution for you...
llasram is offline   Reply With Quote