View Single Post
Old 01-28-2013, 09:00 AM   #1
Turtle91
Guru
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 669
Karma: 3807234
Join Date: Dec 2012
Location: Shannon, Ireland today
Device: iPhone 5/iPad 1&2/Surface Pro/Kindle PW
Flightcrew error or bad coding?

Hi,
I've been playing with different ways of inserting images at the beginning of each chapter. Normally I would just insert a <div|p> tag with the appropriate class and an <img> tag. But I was saying to myself: "Self, there has to be a more automatic way of doing this that decreases bloat."

I used the :after pseudo selector in my CSS like this:

Quote:
h3:after {
content:url("../Images/head_ch.jpg");
display:block;
text-align:center;
margin:0 auto;
}
It actually works perfectly!

The problem is that when I check the ePub with Flightcrew I get an error that my image is not being used:
Quote:
This resource is present in the OPF <manifest>, but it's not reachable (it's unused).
It IS being used, just not from one of the html pages...

I figured since ":after" is implemented in CSS2 that it would be supported and recognized by the current version of Sigil/Flightcrew...

Anyone have any ideas - Is this warning something I can safely ignore?
Turtle91 is offline   Reply With Quote