[eluser]thinkigniter[/eluser]
Here is a tip that saved me a lot of pain.
Change the location of your css, images etc. to a folder under the root directory eg. /assets the store your ofther folders under that eg. /assets/css, /assets/images etc. etc.
Then make reference to them in your html like...
body {
background: #F5F5F5 url(/assest/images/img01.gif) repeat-x;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
color: #474848;
}
The "/" at the beginning says "start at the root of my sites folder" in this way it will not matter where your html/php file is located it will always go back to your root folder.
I hope this makes sense?
Cheers