View Single Post
Old 01-28-2013, 09:00 AM   #1
Turtle91
A Hairy Wizard
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: 3,059
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
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