View Single Post
Old 09-15-2011, 09:14 PM   #5
thiefwriter
Member
thiefwriter began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2011
Device: formatting for all
Need to ask anyway:

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&hellip;</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&hellip;</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…
thiefwriter is offline   Reply With Quote