Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: background image relative to css
Signed-off-by: Dustin J. Mitchell <dustin@zmanda.com>
- Loading branch information
0b79486
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I was wrong -- URLs in CSS files are relative to the CSS file, not the parent HTML document (e.g., http://haacked.com/archive/2006/01/12/CSSURLReferencesAndURLRewriting.aspx).
However, from what I can tell that should use single-, not double-quotes. Right?
0b79486
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, relative to css and maybe it shouldnt contain single nor double quotes .. now i think it should be just:
background: url(bg_gradient.jpg) repeat-x;
0b79486
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
0b79486
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And tested (on my non-root buildbot instance at work) ! ;)