This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

444 points
5a77a8d4953af2baac473571b8e10e36?s=140&d=retro
Submitted by
Ankit Roy
about 4 years ago

How can I create a CSS file on PC?

On computer, how can I create a CSS file and then link it to my HTML file?
How can I do it with the help of notepad or wordpad?
If anyone knows a better software for creating HTML files please mention.


2 votes

permalink

Use Notepad++.
Works for me. You can create HTML, CSS, JS files and what not.

183 points
9c44c1930ee4269c1956c0ee62e0a62f?s=140&d=retro
Submitted by
Jitesh Luthra
about 4 years ago

1 Comment

Picture ragnaroc14 about 4 years ago

Or any other text editor. Just save the file with the extension ".css"


0 votes

permalink

On whatever window you have open, press [Alt] then press window-options if that's what it's called, I have a Norwegian version so I don't know what it's called in English.
Anyway, it's the most bottom alternative, press that, then a new window should open up, press the middle tab, could be called "display", "show" or something similar.
Now you can cross different boxes in a menu, uncross: "Hide filenames for known filetypes", then change your stylesheets name to "stylesheet.css" from "stylesheet.txt"

Now it should properly work to link to stylesheet from your HTML file.

177 points
513a59b25cd1c86b7600132f_898661317
Submitted by
Christian waadeland
about 4 years ago