View Single Post
Old 09-18-2013, 03:14 AM   #8
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 3,200
Karma: 34977556
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
Reuben, I've played with your code, using ems instead of px, and it came out quite nicely in ADE. I'm not sure if the height and line height would work on other readers. (probably not, all my ideas lately seem to be too fragile to go hiking around outside of ADE!) It does not look well in Calibre Reader, so probably not good under QT.

Code:
h2 {
  height: 1em;
  margin-bottom: .5em;
  background: black;
}
                           
.text {
  float:left;
  width: 50%;
  line-height: 112%;
  font-family: sans-serif;
  font-size: 2em;
  text-align: center;
  color: white;
  margin: -.25em 0 -.25em 25%;
}

Thank you so much!
GrannyGrump is offline   Reply With Quote