The Random Ebooks Questions Post
Ask your questions! Get answers! Maybe even useful answers!
Ask anything! Ask about ereaders, or filetypes, or conversion methods, or where to find books, or which authors don't like ebooks, or what software works on which computers, or anything else ebook-related. Preferably, put the question, or part of it, in the subject line. That way, the questions will be easy to find, and new readers who show up can see if their question has been asked before.
Feel free to post links to your journal where you've spelled out your questions in detail (or just make a new post here; it's totally fine to make a long post about "thinking about ebook readers; what's the pros & cons of these two?")
Answer questions! If you know about a certain aspect of ebookery, jump in with answers!
Ask anything! Ask about ereaders, or filetypes, or conversion methods, or where to find books, or which authors don't like ebooks, or what software works on which computers, or anything else ebook-related. Preferably, put the question, or part of it, in the subject line. That way, the questions will be easy to find, and new readers who show up can see if their question has been asked before.
Feel free to post links to your journal where you've spelled out your questions in detail (or just make a new post here; it's totally fine to make a long post about "thinking about ebook readers; what's the pros & cons of these two?")
Answer questions! If you know about a certain aspect of ebookery, jump in with answers!
Re: AO3 bug with epub files?
Re: AO3 bug with epub files?
Re: AO3 bug with epub files?
body { margin: 0; }
a {text-decoration: none; color: black;}
a [href] {text-decoration: none; color: black;}
p {margin-top: 0pt; margin-bottom: 0pt; padding: 0pt; text-indent: 15pt; text-align: justify;}
h1 { text-align: center;}
h2 {text-align: center; }
h3 { text-align: center;}
h4 { text-align: center; }
h5 { text-align: center; }
h6 { text-align: center; }
Re: AO3 bug with epub files?
And I might be wrong, but I don't think you need the semi-colon if you have only one item.
Re: AO3 bug with epub files?
I'll look into the semi-colon use. I'm not exactly sure what you mean about having only one item? But what I pasted here is generally what I use on every story I convert and the output comes out like I expect. I suspect there is some wiggle room for error though.
Re: AO3 bug with epub files?
Say you want all the headers to be centered, but only h1 to have a bottom border and to be in uppercase.
h1, h2, h3, h4, h5, h6 {text-align: center}
h1 {border-bottom: solid 1px; text-transform: uppercase}
(Gosh, this makes me look like I'm presenting myself as some sort of an experts, which is so far from the truth!)
Re: AO3 bug with epub files?
I am almost at the stage of attempting to include statements like these in my epub conversions. If I got suggested code from friends at mobileread, I'd be terrified to change a single character of it; baby-steps advice is very useful.
Re: AO3 bug with epub files?
I really enjoy css, and whenever I'm afraid to change something, I just make a copy of the files involved - that way I don't risk the originals. I don't remember seeing css tutorials at mobileread; is there a forum or were these snippets mostly offers from other members?
Re: AO3 bug with epub files?
I'm thinking to merge h4-h6 into one line since I rarely add anything extra besides centering those headers. It does save space and makes it easier to read the code.
I've been mostly teaching myself css and using the online tutorials but finding best practices and more efficient ways to accomplish the same thing is a bit harder to figure out.
Re: AO3 bug with epub files?
All should be centered = h1, h2, h3, h4, h5, h6 {text-align: center}
The first three should be centered + uppercase = h1, h2, h3 {text-transform: uppercase}
The first one should be centered + uppercase + have a bottom border = h1 {border-bottom: solid 1px}
The styles listed first are general, and get more specific the lower you go. The general styles are applied to all the elements unless you override them; so if you don't want h4-6 to be centered, you can leave them out of the first declaration, or override it by adding one more line after h1:
h4, h5, h6 {text-align: left}
I mostly used online tutorials too, but the people at LJ's Smooth Sailing Layout comm helped me a lot while I was modifying my layout. It makes a huge difference when you can ask someone to walk you through the reasons why something is just so. The Web Developer addon for Firefox is priceless too.
Re: AO3 bug with epub files?
You're right it does help to have someone to help explain things because the tutorials don't always go into great depth as to why css works a certain way and piecing it all together is not easy.
Re: AO3 bug with epub files?
Re: AO3 bug with epub files?