cufon line-height (2 posts)

  1. designingdani
    Posted 6 years ago #

    i'm using cufon "headlines" theme. all my styling work except line-height. upon googling, it seems that "the doctype must be strict for line-height to work". unfortunately, i don't know what that means. what do i need to do?

  2. jabbett
    Posted 6 years ago #

    Your question helped me figure out the problem on my own site.

    I was using a theme that had a doctype of <!DOCTYPE html> in its header.php file.

    I replaced that with the doctype I had been using in my mockups:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    It's not strict, but the line-height started to work again anyhow.

Topic Closed

This topic has been closed to new replies.

About this Topic