-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] CSS style wont load on .html #10501
Comments
Comment by 1405570455 If I'm understanding your questions correctly, and your directory looks like this: project folder │ home.html │ ├───css │ style.css │ └───HTML contact.html Remember: folder and directory mean the same thing
It searches In its own directory for the a folder called
Here is how you write the path for those instructions:
The two periods (also called full-stops) at the beginning tell it to go up a directory, the This isn't a problem with adobe brackets, it's working with "relative paths" which are used in almost every operating system's file system. If what I said doesn't make sense, Adobe (despite your issue raising nature) took mercy on you providing this article on understanding both relative and absolute URLs, and their relationship. Did that help you? |
Comment by PhilHed And the issue has been resolved! Thank you very much. |
Comment by abose
|
Comment by UnfairPolarBear
|
Comment by ziggystarlord144 I'm having a similar problem, except in my layout, I don't have my main html (I called it index.html) in a folder separate from the main folder containing both the CSS folder and index.html. Adding the full stops didn't help; the live preview still doesn't load the CSS at all. Any suggestions? Edit: I thought it was important to add that the external stylesheet does work on my repository on GitHub. |
Issue by PhilHed
Monday Feb 15, 2016 at 21:49 GMT
Originally opened as adobe/brackets#12217
Hello.
I've downloaded Brackets editor to do some html coding. I'm very inexperienced.
Brackets is an amazing tool, and i love it's live preview. But as you can guess, im having trouble.
So fare i've managed to create a project folder where my home page is located: home.html. I've linked its style to my style.css file which is in a subfolder CSS, the layout is working without trouble.
But the style from the css is not working on the contact.html file. I've copied exact same code from my home.html page, but still no luck.
NOTE: The contact.html file is located in another subfolder called HTML, but why should that have any effect? What i dont understand is that i have the right direktori in my style href link: css/style.css
I simply can't get it to work. I hope you can help.
The text was updated successfully, but these errors were encountered: