valiha: watercolor painting of my cat Lola (Default)
valiha ([personal profile] valiha) wrote in [community profile] ebooks 2010-11-26 11:29 pm (UTC)

Re: AO3 bug with epub files?

Just have in mind that if you want all of them to be centered, then all should be combined. Then you can "cascade down" and specify the style for only some elements:

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.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org