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

11. Divs and Spans: Advanced Web Construction > Step three: styling the <span>s

Step three: styling the <span>s

Before we move on, save the file and reload it in your browser. Like a <div>, by default a <span> has no effect on style, so you should see no changes.

Now let’s add some style. Add these two rules to the bottom of your “lounge.css” file:

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