I am setting up my site using CSS. Each class I teach is in it's own subdirectory. I've got 3 levels of pages, organized into directories as follows:
index.htm
.....CSS subdirectory
.....Graphics subdirectory
.....Research subdirectory
..........index.htm
..........other files
.....Internet subdirectory
..........Section 1 subdirectory
...............index.htm
...............other files
..........Section 2 subdirectory
...............index.htm
...............other files
I want to set up the css file to indicate the background image for the pages. Can I use relative URLs? If so, is the image relative to the CSS page or to the html pages? When I tried using URLs relative to the css file, it rendered ok in netscape but not IE. When I changed them to be relative to the htm files, it worked in IE but not netscape. Finally, I just used the absolute URL and that seems to have solved the problem.
I've run into the same problem trying to include other image urls in the css files.
Any suggestions are appreciated!!
Debby Kilburn





Bookmarks