-4

I have some problems with Brackets redactor. When I use sublime, save html & css code, then open it through chrome by clicking on index.html, it works good: http://rghost.ru/7NCLNdtBJ But when i use Live Preview in brackets, brackets open my chrome and show this:http://rghost.ru/6D25SVNFC

What's the problem, and how i can fix it?

Bryan Oakley
  • 310,202
  • 36
  • 445
  • 584
thmw
  • 17
  • 6

1 Answers1

0

If you have a css folder in your root directory, you can link to it like this:

/css/styles.css

More info:

  • Starting with "/" returns to the root directory and starts there
  • Starting with "../" moves one directory backwards and starts there
  • Starting with "../../" moves two directories backwards and starts there (and so on...)
  • To move forward, just start with the first subdirectory and keep moving forward

Copied from: http://css-tricks.com/quick-reminder-about-file-paths/

Jack
  • 2,653
  • 1
  • 21
  • 31