View Single Post
Old 05-08-2014, 12:42 PM   #10
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,831
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by roger64 View Post
hi

Thanks for your replies. Here is the image. It's an old book so the quality is just so-so and it hardly could be made an SVG.
Hi Roger;

I found three methods to get what you want and all of them work in ADE

In the .css stylesheet I have:

Code:
h1 {
   font-size: 1.6em;
}

.base {
   width: 100px;
   height: auto;
}

.method1 {
   vertical-align: -15px;  /* VERTICAL ALIGN METHOD */
}

.method2 {
   margin-bottom: -15px;  /* MARGIN-BOTTOM METHOD */
}

.method3 {
   float: left; /* FLOAT METHOD */
}

.down1 {
   margin-top: 92px;
}
And in the .xhtml file:

Code:
  <h1><img alt="Q" class="base method1" src="../Images/Q.png" />uod erat demonstrandum - Method 1</h1>

  <h1><img alt="Q" class="base method2" src="../Images/Q.png" />uod erat demonstrandum - Method 2</h1>

  <p><img alt="Q" class="base method3" src="../Images/Q.png" /></p>

  <h1 class="down1">uod erat demonstrandum - Method 3</h1>
Here you can see a screenshot of my ADE:

Click image for larger version

Name:	Image1.png
Views:	227
Size:	63.2 KB
ID:	122752

It works with ANY ADE FONT SIZE Below you can check the respective epub.

Regards
Rubén
Attached Files
File Type: epub Q raised cap.epub (16.4 KB, 204 views)

Last edited by RbnJrg; 05-08-2014 at 12:45 PM.
RbnJrg is online now   Reply With Quote