View Single Post
Old 06-14-2018, 12:41 PM   #5
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,821
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Corinne View Post
Thank you Reuben. Forgive my ignorance, but how do you 'link' the CSS with the XHTML? I appreciate the patience and the time.

Kind regards,
Corinne.
Hi Corinne;

In your first post you said that are using Calibre 3.23; well, I will explain you what to do in that program.

I suppose that you already have loaded your ebook in Calibre. Do right click in that ebook and choose the "Edit book" command; the Calibre Editor will show.
In the "File Browser" window (at the left of the screen) select the file whose image and text you want to center and after that, do right click. You will see something like this screenshot:

Click image for larger version

Name:	Image1.png
Views:	349
Size:	159.4 KB
ID:	164467

Select the command "Link stylesheets...". Now you'll see something like this dialog:

Click image for larger version

Name:	Image2.png
Views:	325
Size:	23.7 KB
ID:	164468

In the above picture you see only one .css file but it can be several. If you have only one, then select that .css file; if there is more than one .css file, select what you want (in all cases, desmark the option "Remove existing links to stylesheets"). Press "Ok". That's all

Regards
Rubén

PS: And don't forget to write the ".center" style in the .css file you have selected according to the explanation.
RbnJrg is offline   Reply With Quote