Friday 14 April 2017

weird issue when linking to css file on different pages

/blog 'index' page css file works fine when css is linked to just href ="main.css".But on /blog/new or /blog/edit, the css file only works with href=" ../../main.css".Blog index and other blog views are all in the same directory with the same partial header files. Also javascript isn't being linked to the same way as the css file.

Submitted April 15, 2017 at 04:13AM by caseyboyswag

No comments:

Post a Comment