Forums

Am I adding XHTML DOCTYPE correctly? (4 posts)

  1. nemci7v
    Member
    Posted 2 years ago #

    I was told that cufon line-height works in strict XHTML and I tried to add it. Not sure if I did it correctly tho because the line-height doesn't register.. Is this how the beginning is supposed to look?

    <?php include (TEMPLATEPATH . '/theme_defaults.php'); ?>
    <?php
    /**
     * @theme header
     */
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head profile="http://gmpg.org/xfn/11">
     <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
     <title><?php wp_title('|', true, 'right'); ?> <?php bloginfo('name'); ?> <?php if ( !wp_title('', true, 'left') ); { ?> | <?php bloginfo('description'); ?> <?php } ?></title>
     <meta name="generator" content="WordPress" /> <!-- leave this for stats (or remove for potential security reasons) -->
     <meta name="author" content="author name" />
     <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
     <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Site url?

  3. Bonusball
    Member
    Posted 2 years ago #

    I don't know anything about cufon line-height, or even what it is, but the DOCTYPE should come first in the page.

  4. nemci7v
    Member
    Posted 2 years ago #

    Well, I eventually gave up on cufon and I'm now using font-face :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.