|
|
| Author |
Message |
MD
Joined: 08 Aug 2006 Posts: 108
|
Posted: Mon Dec 25, 2006 2:57 pm Post subject: PNG problem |
|
|
I'm almost finished with my newest template.
When I wanted to export a test database, some png files didn't appear in the img folder.
This problem occurs with png file that are only specified in the style sheet. |
|
| Back to top |
|
 |
bolide Site Admin
Joined: 04 Aug 2005 Posts: 585
|
Posted: Mon Dec 25, 2006 7:18 pm Post subject: Re: PNG problem |
|
|
Can you show the part of the style sheet where you used PNG file?
What happens if you use JPG file in the same place? I don't think this is because of image format |
|
| Back to top |
|
 |
MD
Joined: 08 Aug 2006 Posts: 108
|
Posted: Mon Dec 25, 2006 7:29 pm Post subject: |
|
|
This is a part of the stylesheet I use
| Code: |
<style type="text/css">
/* Default elements */
body {
background-image: url(img/movieback.png);
background-position: 0px 0px;
background-repeat: repeat-x;
font-family: Verdana, Arial, Helvetica;
margin: 0px;
padding: 0px;
}
|
but when the html file is created, it becomes this
| Code: |
<style type="text/css">
/* Default elements */
body {
img/movieback.png);
background-position: 0px 0px;
background-repeat: repeat-x;
font-family: Verdana, Arial, Helvetica;
margin: 0px;
padding: 0px;
}
|
|
|
| Back to top |
|
 |
bolide Site Admin
Joined: 04 Aug 2005 Posts: 585
|
Posted: Tue Dec 26, 2006 3:59 pm Post subject: |
|
|
you should always use quotes for image links.
try to rewrite your code like this:
| Code: |
background-image: url("img/movieback.png");
|
|
|
| Back to top |
|
 |
MD
Joined: 08 Aug 2006 Posts: 108
|
Posted: Tue Dec 26, 2006 4:48 pm Post subject: |
|
|
| bolide wrote: | you should always use quotes for image links.
try to rewrite your code like this:
| Code: |
background-image: url("img/movieback.png");
|
|
Thanks, it works now perfectly
You can download the beta version of this template here |
|
| Back to top |
|
 |
|