Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design Web Typography Final Project: Create a Typographic Site Getting Started: HTML and CSS

Amber Wells
Amber Wells
Front End Web Development Techdegree Student 18,493 Points

Smallcaps not showing up properly

Followed along with the video but I can't see how my abbr's are not smallcaps. Tried it on internet explorer and have same issue. Please assist.


<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8">
    <title>CSS Zen Garden: The Beauty of CSS Design</title>

    <link rel="stylesheet" media="screen" href="style.css">
    <link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.csszengarden.com/zengarden.xml">
<!--  <link rel="stylesheet" href="//basehold.it/32">-->

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Dave Shea">
    <meta name="description" content="A demonstration of what can be accomplished visually through CSS-based design.">
    <meta name="robots" content="all">

    <!--[if lt IE 9]>
    <script src="script/html5shiv.js"></script>

<body id="css-zen-garden">
<div class="page-wrapper">

    <section class="intro" id="zen-intro">
        <header role="banner">
            <h1>CSS Zen Garden</h1>
            <h2>The Beauty of <abbr title="Cascading Style Sheets">CSS</abbr> Design</h2>

        <div class="summary" id="zen-summary" role="article">
            <p>A demonstration of what can be accomplished through <abbr title="Cascading Style Sheets">CSS</abbr>-based design. Select any style sheet from the list to load it into this page.</p>
            <p>Download the example <a href="/examples/index" title="This page's source HTML code, not to be modified.">html file</a> and <a href="/examples/style.css" title="This page's sample CSS, the file you may modify.">css file</a></p>

        <div class="preamble" id="zen-preamble" role="article">
            <h3>The Road to Enlightenment</h3>
            <p>Littering a dark and dreary road lay the past relics of browser-specific tags, incompatible <abbr title="Document Object Model">DOM</abbr>s, broken <abbr title="Cascading Style Sheets">CSS</abbr> support, and abandoned browsers.</p>
            <p>We must clear the mind of the past. Web enlightenment has been achieved thanks to the tireless efforts of folk like the <abbr title="World Wide Web Consortium">W3C</abbr>, <abbr title="Web Standards Project">WaSP</abbr>, and the major browser creators.</p>


/* Webfonts */

@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:400,400i,900i');
/* Basic Elements */
html {
    margin: 0;
    padding: 0;
body { 
  font-family: 'Alegreya Sans', Verdona, Tahoma, sans-serif;
  font-size: 1.25em; /* 20px */
  line-height: 1.6;
    margin: 0; 
    padding: 0;
   color: #282932; 
    background: #f6f4ec;

p { 
  margin: 0;

p + p {
  text-indent: 1.5em;

h1,h2,h3,h4,h5,h6 {
  font-family: 'Alegreya', Georgia, serif;
  font-weight: normal;
  font-style: italic;

h1 {
  font-size: 3.998em;
  line-height: 1.15;

h2 {
  font-size: 2.827em;
  line-height: 1.2;
  margin: 0 0 .54em;

h3 { 
  font-size: 1.777em;
  margin: .5em 0 .62em;

ul {
    margin: 0;

li {
    margin: 0;

a:link { 
    text-decoration: none;

a:visited { 
    text-decoration: none; 

a:hover, a:focus, a:active { 
    text-decoration: none; 

abbr {
  font-family: 'Alegreya Sans SC', 'Alegreya Sans', Verdona, Tahoma, sans-serif;
  text-transform: lowercase;

2 Answers