bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1663 in lilypond: Images missing on web site


From: lilypond
Subject: Re: Issue 1663 in lilypond: Images missing on web site
Date: Fri, 19 Aug 2011 17:45:44 +0000


Comment #32 on issue 1663 by address@hidden: 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]