On Sun, Jul 10, 2011 at 8:47 PM, Bazinga Designs <[email protected]>wrote:
> Hi Rustom, > > it goes like this: > > - use no slash if the file in url() or href="" is in the same folder as css > / html file > - "../" at the beginning means: go up one level in the folder structure > - "../../" means: go up 2 levels in the folder structure > - "./" means: current folder > Yes I know those rules. Its just that an img in the html did not want the .. whereas in the css it did. Which took me quite a while to figure out. So really the question is: 'relative path' means relative to what? It seems the answer is: Depends on where the question originates from :-) The problem was also a problem with firebug: In style it would show the css file, in computed style it would show none. When I hovered the mouse it would give me a circling figure as though it was doing something. When I upgraded from firebug 1.6 to 1.7 it started giving me "failed to load url" > > for more info read go to: > http://www.webmasterworld.com/css/3663647.htm > > > http://stackoverflow.com/questions/940451/using-relative-url-in-css-file-what-location-is-it-relative-to > > Ok thanks for the links -- -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected]
