font-size:18.0pt!Important
}
h1, h2
{
font-family: ravie!Important;
font-style: normal!Important
text-align: center;
}
- Paste the code into Notepad.
- Choose File➪Save As in Notepad.
The Save dialog box opens. - Click the down arrow symbol to change the Save As Type list box
from Text Documents (*.txt) to All Files. - Type in myfirst.cssas the file name.
- Click the down arrow symbol in the Save in list box at the top of the
dialog box.
A list is displayed, showing various locations in your hard drive. - Navigate through the list to locate the c: drive (the main root direc-
tory of c:) - Click the c:.
Your save now puts this file on c:.
- Click the Save button.
The file myfirst.css is now located on c:.
To test this CSS code, all you have to do now is to follow these steps:
- Open this CSS test page at
http://jigsaw.w3.org/css-validator/ - Find the section on that Web page titled Validate by Upload.
- Click the Browse button on the Web page.
A Choose File dialog box opens.
- Navigate to locate your file at c:\myfirst.css.
- Double-click c:\myfirst.css in the dialog box.
The dialog box closes and your file’s address is now displayed in the
Local CSS File text box on the Web page.