View Single Post
Old 01-04-2012, 02:38 PM   #21
Pappersvingar
Junior Member
Pappersvingar began at the beginning.
 
Pappersvingar's Avatar
 
Posts: 2
Karma: 10
Join Date: Dec 2011
Location: Sweden
Device: Sony PRS-T1
Quote:
Originally Posted by Adjust View Post
You can try using a percentage as your font measurement i.e font size=50%
I'll try that the next time I code.

Quote:
Originally Posted by JSWolf View Post
That's not a bug in ADE. That just means you have to have your stylesheet error free.
I am aware of that now, and although that is not a bug in ADE, it was thanks to reading the first post in this sticky that I found out that one error in the CSS will make ADE ignore the whole stylesheet.

Quote:
Originally Posted by JSWolf View Post
Can you post your code? From the description, I don't see any issue.
This is the first part of the stylesheet before I removed all font-sizes:

body {margin-left:2%;
margin-right:2%;
margin-top:2%;
margin-bottom:2%;}

p {text-indent: .3in;
margin-top:0;
margin-bottom:0;
font-size:1em;
text-align: justify;
font-family:"Times New Roman", Times, serif;}

h1 {text-align:center;
font-size:2.5em;
font-family:"Times New Roman", Times, serif;}

h2 {text-align:center;
font-size:1.75em;
font-family:"Times New Roman", Times, serif;}

This did not make ADE ignore the CSS, everything looked the way it was supposed to, except for the headings. The headings simply disappeared when the epub was viewed on my Reader.

When I removed the font-size definitions, everything worked like it should.

Last edited by Pappersvingar; 01-05-2012 at 10:02 AM.
Pappersvingar is offline   Reply With Quote