How to view my finished CSS?

AndyM

New Member
When you have a CSS all finished, how do you check to see if it works properly? Or how do you view it?<br />
 
CSS is basically a rule set for html. You need a html file to go with your CSS to view it. In your html you use the classes you defined in the CSS. Then view your page in firefox.
 
You have to use a link element to link the CSS to the head of your html document.
An example would be "<link href="file.css" rel="stylesheet" type="text/css" />"
Then you open up that html document and see how it looks. Another way is on Internet Explorer. Go to Tools -> Internet Options -> Accessibility (near the bottom) -> click the tick box "Format documents using my stylesheet" -> browse and upload your CSS.

Then, just go web-browsing, and everything should be formatted according to your CSS
 
are u using notepad??? if you're using notepad... then just save it as .html not .txt and then just click on the file. it'll open in browser.
 
Back
Top