Actually the definitions are

../img = Go up the directory tree one level and then down to the img
directory

And 

./img = start in the level where you are at and go down one level to the
img directory.

If your css file is in the root it could be translated the same if
parent directory is disabled (a common thing nowadays), however if
parent directory walking is enabled it will not work exactly the same
every time.

If you know your img directory is directly off the root the
/img/whatever.jpg would be best as its always relative to the root
directory. It just gets a little tricky when you have directories that
might be off of a subdirectory.  This is why css defines the path as
related to the css file and not the page that calls the css.

Dennis 


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to