@pepak re: CSS
I think I need to study up on it. I'm using a sort of bastardized HTML mix. I've been using clips (macros) in NoteTab for a long time now, so I re-checked what I'm doing. I actually use both <a name="chapter_ChapterNumber"> and <h3 id="chapter_ChapterNumber" class="chapter" align="center"> in my files to mark a chapter. A combination of overkill and ignorance.
I think it comes from haphazardly learning it as I needed it, and from working towards the obsolete REB1100. (Did you know that if you want a cover to appear on the first page of an REB1100 ebook, you must wrap it in a <center> tag? Otherwise, invisible!)
Providing the CSS with the markup allows someone to simply change the CSS file to suit their needs. Awesome. Currently, without a new reader, I can't think of a way to write the code in such a way as to ensure forward-compatability.
Another excuse to buy a new reader!
And you've inspired me to consider rewriting my macros to include such things as <em class="psionic">. Which just reads cool.
As for <span>, I'm still a little confused; I get the <div> styles thing -- open and close a style on what is otherwise a normal something-or-other, only distinguished by its class. And I get that the sections thing makes sense for, say, auto-searching the structure of a document, and offering an outline or some-such.
But SPANs? Are we talking something that parallels <h> and <p>? Open a <span> on something and close it so that you can apply a sub-style there too? ie: <span class="dialogue"> or <span class="paragraph">? Or is it lesser? For instance: <span class="italic">? Or am I missing something completely? Which is entirely likely.
m a r
|