untitled

(John Hannent) #1
font-size:18.0pt!Important
}

h1, h2
{
font-family: ravie!Important;
font-style: normal!Important
text-align: center;
}


  1. Paste the code into Notepad.

  2. Choose File➪Save As in Notepad.
    The Save dialog box opens.

  3. Click the down arrow symbol to change the Save As Type list box
    from Text Documents (*.txt) to All Files.

  4. Type in myfirst.cssas the file name.

  5. 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.

  6. Navigate through the list to locate the c: drive (the main root direc-
    tory of c:)

  7. Click the c:.


Your save now puts this file on c:.


  1. 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:



  1. Open this CSS test page at
    http://jigsaw.w3.org/css-validator/

  2. Find the section on that Web page titled Validate by Upload.

  3. Click the Browse button on the Web page.


A Choose File dialog box opens.


  1. Navigate to locate your file at c:\myfirst.css.

  2. 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.


Chapter 17: Testing and Debugging 305

Free download pdf