View Single Post
Old 03-01-2009, 04:40 PM   #4
Tibor
Enthusiast
Tibor began at the beginning.
 
Posts: 44
Karma: 10
Join Date: Jan 2009
Device: Sony PRS-505
Quote:
Originally Posted by nrapallo View Post
Try surrounding the <table> describing the chessboard with <div class="docenter"> ... </div> and adding the "docenter" style (in bold) to the <style> section:
Code:
<style type="text/css">
.docenter { text-align: center }
span { font-family: "DBChess", serif }
#wrap {
     margin: 0 auto; /* margin 0 auto will center that box in your document */
     width: 600px; /*size of your box*/
     background: #fff;
     text-align: center; /* everything will be written in that box will be centered horizontaly*/
     }
</style>
The depreciated <div align="center"> may also work.

I tried this with my reader's .imp format and it worked. Your mileage may vary...
I have tried both and it does not work. It look like a bug in ADE and the Sony reader....

any other ideas??
Tibor is offline   Reply With Quote