Quote:
Originally Posted by ElMiko
Okay, so this is what I got after some digging:
Code:
.centerLeft::before {
background-image: url(../Images/00.jpg);
background-size: 2em auto;
display: inline-block;
width: 2em;
height: 2em;
content:"";
}
This appears to work, but i don't know if this is so juryrigged that it will actually fail in a real ebook display? Is this too duct-taped-together, or would it work?
|
Try it in the Sigil's plugin or in Calibre Viewer to see how it looks. If there looks fine, then will look fine in all ereaders not based on RMSDK (because ADE 2.x/3.x doesn't honor pseudo-elements).