This project is read-only.

Fixes to Header of page

Jul 3, 2009 at 6:41 AM
Edited Aug 4, 2009 at 4:45 PM
  • Define a title for the page as shown below
  • Put all CSS links inside the <head>....</head> When using Master pages, the only place to put CSS links is in the Master page itself.
  • Add the meta tag shown below

  <head runat="server">
    <title>Page title here</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Instead of <html>

<html xmlns="" xml:lang="en" lang="en">


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="" xml:lang="en" lang="en">
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <title>Server Side Magazine</title>
    <link rel="stylesheet" href="css/style.css" type="text/css" media="screen,projection" />
    <link rel="stylesheet" href="css/syntax.css" type="text/css" media="screen,projection" />
    <!--[if IE]>
    <style type="text/css">
      .clearfix {
        zoom: 1;
        display: block;
    <!--[if lte IE 6]>
        <link rel="stylesheet" href="css/ie6-fix.css" type="text/css" media="screen,projection" />
    <div id="doc" class="clearfix">
    <div id="header">
        <div class="t">
            <h1><a href="#">Server-Side&nbsp;<span class="mag">Magazine_</span></a></h1>
            <span class="about">All the server-side tutorials, how-to, tips and tricks you can find</span>
            <ul class="top-menu">
                <li><a href="#">Write for Us</a></li>
                <li><a href="#">About</a></li>
                <li><a href="#">Contact</a></li>
        <div class="b">
            <ul class="cat-menu">
                <li><a href="#">PHP</a></li>
                <li><a href="#">Ruby</a></li>
                <li><a href="#">ASP.Net</a></li>
                <li><a href="#">News</a></li>
    <div id="content-container" class="clearfix">
    <div id="content">    
        <div class="post">
            <h2 class="php"><span>&nbsp;</span><a href="#">Security Patch VS90SP1-KB971092-x86.exe</a></h2>
            <div class="post-info">
                <ul class="post-info-list">
                    <li>Author:&nbsp;<a href="#"><strong>Clive Chinery</strong></a></li>
                    <li class="pub-date">Published on ?? August, 2009</li>
                    <li class="comments"><a href="#comment-list">No Comments</a></li>
            <p>Microsoft released two out-of-cycle patches on 27/Jul/2009,
              one for IE and one for Visual Studio.
              Microsoft normally only release patches on the second Tuesday of the
              month. Only urgent patches are issued outside this cycle,
              and these patches should normally be installed ASAP.
              As of Aug 1st, there have been 157 reports of a problem with security patch
              whereby if C++ components were not installed with Visual Studio,
              the security patch will fail with the message
              "VC Libraries QFE Patch does not apply, or is blocked by another condition on your system."
        To report the problem and to find a suggested workaround please go to:
                <li><a href="">KB971092 won't install</a></li>
            <h3>Editing HTML with Microsoft Expression Web 3</h3>
              As an experiment, I am editing this entry with Expression Web 3.
              It is a capable editor, however it lacks the folding editor feature of
              Visual Studio 2008.
              It does have a good spell-checker.
              Whilst Expression Web now has source control,
              it is only to Team Server.
            <h3>An alternative reader for PDFs</h3>
              I am trying out an alternative PDF reader from Foxit.
              Why not Acrobat?
              Acrobat does not provide a simple download, but requires a boot-strapper.
                <li><a href=""></a></li>
            <h3>Sub heading</h3>
            <div class="author clearfix">
                <img src="images/blank_author.gif" alt="Author Image" />
                    <a href="">
                      View my MVP profile at</a>
        </div> <!-- end of post -->
    </div> <!-- end of #content -->
    </div> <!-- end of #content-container -->
    </div> <!-- end of #doc -->
    <div id="footer">