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
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

9. Styling with Fonts and Colors: Expand... > Let’s make these changes to the font...

Let’s make these changes to the font sizes in Tony’s Web page

It’s time to try these font sizes in Tony’s Web page. Add the new properties to the “journal.css” file in the “chapter9/journal” folder. Once you’ve made the changes, reload the page in the browser and check out the differences in the font size. If you don’t see a difference, check your CSS carefully for errors.

image with no caption

Sharpen your pencil

If you specified <h1> and <h2>’s font sizes using em rather than percentage, what would their values be?

Answer: <h1> would be 1.7em and <h2> 1.3em.


  

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