Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

8. Getting Started with CSS: Adding a Li... > Creating the “lounge.css” file

Creating the “lounge.css” file

You’re going to create a file called “lounge.css” to contain the style rules for all your Head First Lounge pages. To do that, create a new text file named “lounge.css” in your text editor.

image with no caption

Now type, or copy and paste from your “lounge.html” file, the CSS rules into the “lounge.css” file. Delete the rules from your “lounge.html” file while you’re at it.

Note that you should not copy the <style> and </style> tags because the “lounge.css” file contains only CSS, not XHTML.

image with no caption

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint