10 jul 2011 kl. 16.44 Rustom Mody wrote:

So any tips on figuring out paths in html/css/js?

Always acknowledge from where the path starts, ie where the document is in relation to the path targets.

Graphics that are meant for CSS decorations are IMHO better placed within the same folder as your css file, wherever that is. If so "images/" in the path will work just fine.

If I need to get a graphic from somewhere else, I tend to go from the server root, ie starting with "/" and then [full-path-to-file]. Server root only works when files are served from the web server, it doesn't work locally from the HD.



/MiB




--
--
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]

Reply via email to