lexus
MIS
- Oct 1, 1998
- 277
I am setting up some files for a Dreamweaver CSS class that I am teaching and I am driving myself crazy with the following problem. I hope I can explain this clearly!
I have a file called xyz.html in the 'root' of the web. I want to attach a style sheet to it that I have in the /styles folder called yellow.css
I want to assign the background graphic in this style sheet. Sounds simple. The graphic is in the /images folder.
So, here is the basic structure (folders and files)of the web:
'root'
/images
/styles
index.html
education.html
etc......
Dreamweaver puts in the code on the style sheet as:
body {
background-image: url(../images/background.gif);
background-color: #FFFF99;
}
This works fine for previewing in IE 6 but shows no background in Netscape 4.79 (yes, it only shows me the bacground color). All the other codes on the style sheet are called into the xyz.html file just perfectly.
If I change it to:
body {
background-image: url(images/background.gif);
background-color: #FFFF99;
}
It works fine in Netscape but not in IE.
As a last resort, I have even tried putting both statments in and I get nothing. I have been working on this file for 2 days now and I need to get it figured out if I am to teach this.
Any help would gratefully be appreciated!
Thanks,
Lexus **Quiquid latine dictum sit altum viditur.**
I have a file called xyz.html in the 'root' of the web. I want to attach a style sheet to it that I have in the /styles folder called yellow.css
I want to assign the background graphic in this style sheet. Sounds simple. The graphic is in the /images folder.
So, here is the basic structure (folders and files)of the web:
'root'
/images
/styles
index.html
education.html
etc......
Dreamweaver puts in the code on the style sheet as:
body {
background-image: url(../images/background.gif);
background-color: #FFFF99;
}
This works fine for previewing in IE 6 but shows no background in Netscape 4.79 (yes, it only shows me the bacground color). All the other codes on the style sheet are called into the xyz.html file just perfectly.
If I change it to:
body {
background-image: url(images/background.gif);
background-color: #FFFF99;
}
It works fine in Netscape but not in IE.
As a last resort, I have even tried putting both statments in and I get nothing. I have been working on this file for 2 days now and I need to get it figured out if I am to teach this.
Any help would gratefully be appreciated!
Thanks,
Lexus **Quiquid latine dictum sit altum viditur.**