Is it okay then to have multiple instances of "div class="sidebar" in one ebook chapter?
And shall I change the div.pic's to the same code, i.e. "div class="pic"?
A sample of my html:
Code:
<div id="sidebar">
<p class="sidebarmark">Aside…</p>
<p class="subhead">X-Ray Glasses</p>
blah, blah, blah…
</div>
Which should now become, if I understand correctly:
Code:
<div class="sidebar">
<p class="sidebarmark">Aside…</p>
<p class="subhead">X-Ray Glasses</p>
blah, blah, blah…
</div>
and
Code:
<div id="pic">
<p class="center"><img src="b.luciano.jpg" alt="luciano" /><br />
Luciano, a pickpocket who works on trams and buses.
</p>
</div>
…which should now become "div class="pic" ?
Just shows how badly a newby can screw it up. I needed to format an ebook, but I didn't know much about html and css. I'm learning, I hope…