NightWhistler/HtmlSpanner

Nested CSS Rules are not applying.

Opened this issue · 1 comments

Problem facing in rendering epub file.

CSSLinkhandler not received css rules of the tag <p> class in the <a> tag, like font, test_decoration etc.
<div class="abc">
<p class="cont_ct"><a href="05_preface.xhtml">Preface</a></p>
<p class="cont_ct"><a href="part1.html" >Part 1</a></p>
<p class="cont_ct"><a href="part2.html" >Part 2</a></p>
<p class="cont_ct"><a href="part3.html" >Part 3</a></p>
<p class="cont_ct"><a href="part4.html" >Part 4</a></p>

</div>

Iam also use html like this, but no positive response are there.
`

`

if we put spanner.registerHandler("link", new CSSLinkHandler(this)); then link active without css and when put spanner.registerHandler("a", new CSSLinkHandler(this)); then css work fine but link is not working.

Please give me solution.

Hello @Amitebc ,
I need a help. I need to know how to use the CSS tags to display text in android textview. Cause I am not finding any documents regarding this. It will be a great help for me.