View Single Post
Old 05-21-2013, 05:56 PM   #9
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,834
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Something like this:?

https://www.mobileread.com/forums/att...1&d=1369173498

I made it with the following classes:

Code:
p {
  text-align: justify;
  margin: 0;
}

.parrot {
  background: url(../Images/bird.jpg) no-repeat top left;
  background-size: 183px 307px; /* the half of 366px and 614px*/
}

.box1 {
  float: left;
  top: 0;
  left: 0;
  width: 183px; /* the half of the original width: 366px;*/
  height: 195px; /* the half of the original height: 390px; (for the square section of the img */
}

.box2 {
  clear: left;
  float: left;
  top: 0;
  left: 0;
  width: 60px; /*120px;*/
  height: 100px; /*200px;*/
}
In the .xhtml file the text goes in the following way:

Code:
<p>...something...</p>
<div class="parrot">
<p class="box1"></p>
<p class="box2"></p>
<p>...something...</p>
</div>
Maybe that code can help you.

Regards
Rubén
Attached Thumbnails
Click image for larger version

Name:	screen_shot-4941.gif
Views:	676
Size:	48.7 KB
ID:	106099  
Attached Files
File Type: epub Parrot.epub (11.5 KB, 374 views)

Last edited by RbnJrg; 05-21-2013 at 09:29 PM.
RbnJrg is offline   Reply With Quote