Question in developing a new release of the Drupal Theme Generator Program
I am currently working on a new release of the Drupal Theme Generator Program (http://drupal.org/node/36302). A built-in Preview utilizing a preview.html file is used to view the themes on your local machine for quick review.
The problem I am having is that the Firefox browser does not display the referenced images that include a file path in the style.css file. This only affects Firefox and works fine in Internet Explorer 6.
For example, the following three images which include a local file path will not display in the Firefox browser:
/* Custom styles used for graphic image type themes */
td.header-topcenter {
background: url(file:///C:/My Documents/Drupal Theme Designer/Preview/header-top-center.png);
}
td.header-bottomcenter {
background: url(file:///C:/My Documents/Drupal Theme Designer/Preview/header-bottom-center.png);
}
td.header-leftcenter {
background: url(file:///C:/My Documents/Drupal Theme Designer/Preview/header-left-center.png);
}
If I remove the file path statement and just use the image names as shown below, then the images appear in Firefox:
/* Custom styles used for graphic image type themes */
td.header-topcenter {
background: url(header-top-center.png);
}
td.header-bottomcenter {
background: url(header-bottom-center.png);