How to create a separate sheet for...
I don't know which programme you are using for creating websites, but if you are using the CoffeeCup HTML Editor, it should be a fairly straight-forward thing. Just open a new file and call it e.g. style.css.
You link it to the html file(s) by adding this line into your head section:
The style.css has to be saved at the same location as the html file(s).
So far I've found that there's a super easy way to create your CSS file. Open a text editor of your choice such as Notepad, Notepad++, or whatever text editor you have, and create the file. Just save it as whatever you want it to be named .css and that's it. Just put your CSS code in it and refer to it as referenced by Inger above. But there's no special way you need to create this file, it's basically just a text file that is named with the .css extention instead of the default .txt extension.
For creating a css file you have to create file and save with .css, after that add the css you need and then pass the reference of that css file to html file using following code in HTML,
Hope this helps.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.