Comment #32 on issue 1663 by reinhold...@gmail.com: Images missing on web site
http://code.google.com/p/lilypond/issues/detail?id=1663

Exactly. The problem is that the background is specified in CSS as something like:
body{
background: url("../pictures/background-image.png") no-repeat scroll 0 0 #FFFFFF;
...
}

Now, all URLs in the CSS are relative to the CSS file, not to the main lilypond file!

So the real problem is that web-big-page.html and web/index.html are NOT using the same css files, but each of them is using its own copy:
http://lilypond.org/doc/v2.15/Documentation/lilypond-website.css
http://lilypond.org/doc/v2.15/Documentation/web/lilypond-website.css

The proper fix would be to handle the css just like all other included files (i.e.images) and adjust the CSS path together with the images. In particular that would mean that we only have one css file, and web-big-file.html and web/index.html have different relative pathes to the same CSS file.
That way we also get rid of css file duplications on the server.


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to