View Single Post
Old 11-27-2013, 05:13 AM   #27
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,857
Karma: 8821117
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Jellby View Post
Why do you need a <div>? Can't you just have the SVG code inside ah <h1>?

Code:
<h1 title="Chapter title">
  <svg xmlns="http://www.w3.org/2000/svg" ...>
    ...
  </svg>
</h1>
That is because in theory, you can't enclose a svg wrapper inside <h>, <p> and some others tags. Sigil allows the use you propose but maybe some ereaders doesn't and Psymon is a "purist" and he want to use a svg wrapper instead of a background image because he fears that some devices doesn't show that image. For that reason I used a <div> container.
RbnJrg is offline   Reply With Quote