Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dreamweaver Setting for .ASP

New Here ,
Oct 12, 2011 Oct 12, 2011

I have created a website in ASP using code view with inc files. However, when I switch to design view, the includes are not portrayed as they are designed.

I am using Dreamweaver CS 5.5.

Any insight?

thank you!

TOPICS
Server side applications
4.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 12, 2011 Oct 12, 2011

Do you have a testing server defined for this site?

And what do you mean by "the includes are not portrayed as they are designed"?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 13, 2011 Oct 13, 2011

when in design view, the include appears as plain text with none of the .CSS formatting

Thank you,

Meridith

Sent from my iPhone

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 13, 2011 Oct 13, 2011

So, let's see the code in the include file, please.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 13, 2011 Oct 13, 2011

Thank you!

­­­­ 

<!--- Created by: (mwells2) --->
  <!--- Last Modified July 08, 2011 --->

<div class="navbar">
<%
Select Case page
  Case "main" %>


<!--- displays menu items when the Home link is clicked -->
                 <div id="sectionLinks">

                   

{ code post deleted by moderator }

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 13, 2011 Oct 13, 2011

Clearly that didn't work so well.  You cannot send code with an email reply; instead you have to paste it into a reply from the webforum.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 13, 2011 Oct 13, 2011

sorry about that!

  <!--- Created by: (mwells2) --->
  <!--- Last Modified July 08, 2011 --->
 
<div class="navbar">
<%
Select Case page
  Case "main" %>


<!--- displays menu items when the Home link is clicked -->  
  <div id="sectionLinks">
      <h3>Navigation</h3>
  <ul>
          <li><a href="index.asp">Home</a></li>
          <ul>
           <li><a href="contact.asp">Contact information </a></li>
       <li><a href="research/papers/cochrane_bio.pdf" target="_blank">Short Bio </a></li>
       <li><a href="research/papers/vitashort.pdf" target="_blank">Vita with Links</a></li>
    <li><a href="research/papers/cochrane_disclosure.pdf" target="_blank">Disclosure statement </a></li>
       <li><a href="index.asp#whatsnew">What's new? </a></li>
    <li><a href="index.asp#notice">Copyright notice </a></li>
          </ul>       
      <li><a href="research/index.asp">Research </a> </li>
          <li><a href="research/news.asp">News, opeds, fun </a></li>
          <li><a href="teaching/index.asp">Teaching </a></li>
    <li><a href="research/Data_and_Programs">Data and Programs </a></li>
          <li><a href="soaring/index.asp">Soaring</a></li>
  </ul>
</ul>
      
       <h3>External Links</h3>
       <ul>
         <li><a href="http://boothportal.chicagobooth.edu/facredirect/john.cochrane" target="_blank">Official Booth Page</a> </li>
       <li><a href="http://www.babybeebooks.com/" target="_blank">Family Webpage</a></li>
         <li><a href="http://www.elizabethfama.com/" target="_blank">elizabethfama.com </a></li>
         <li></li>
       </ul>
  </div>

</ul>
<!--- displays menu items when the Research link is clicked -->     
     
<%  Case "research" %>
<div id="sectionLinks">
     <h3>Navigation</h3> 
       <ul> 
       <li><a href="../index.asp">Home</a></li>
       <li><a href="index.asp">Research </a> </li>
      <ul>
           <li><a href="index.asp#books">Books and notes </a> </li>
           <li><a href="index.asp#articles">Articles</a> </li>
          <ul>
               <li><a href="index.asp#assetpricing">Asset Pricing</a> </li>
               <li><a href="index.asp#Fiscal">Macro, Money, Fiscal Theory</a> </li>
               <li><a href="index.asp#Health">Health Insurance</a> </li>
               <li><a href="index.asp#unitroots">Time series</a> </li>
           </ul>
        <li><a href="index.asp#talkscomments">Talks and Comments </a> </li>
         </ul>
      <li><a href="news.asp">News, opeds, fun </a></li>
      <li><a href="../teaching/index.asp">Teaching </a></li>
      <li><a href="../soaring/index.asp">Soaring</a></li>
     
      
       <h3>External Links</h3>
       <ul>
         <li><a href="http://boothportal.chicagobooth.edu/facredirect/john.cochrane" target="_blank">Official Booth Page </a> </li>
     <li><a href="http://faculty.chicagobooth.edu/john.cochrane/research/Data_and_Programs/" target="_blank">Data and Programs </a></li>
         <li><a href="http://www.babybeebooks.com/" target="_blank">Family Webpage</a></li>
         <li><a href="http://www.elizabethfama.com/" target="_blank">elizabethfama.com </a></li>
         <li></li>
       </ul>
      </ul>
        
<!--- displays menu items when the News link is clicked -->     

        
         <%  Case "news" %>
         <div id="sectionLinks">
        <h3>Navigation</h3>
         <ul> 
         <li><a href="../index.asp">Home</a></li>
         <li><a href="../research/index.asp">Research </a> </li>
     
        
        
         <li><a href="news.asp">News, opeds, fun </a></li>
      <ul>
           <li> <a href="news.asp#opeds"> Opeds, blogs, news. </a></li>
           <li> <a href="news.asp#talks"> Talks. </a></li>
          </ul>
        
         <li><a href="../teaching/index.asp">Teaching </a></li>
        <li><a href="../soaring/index.asp">Soaring</a></li>
       </ul>
        
         <h3>External Links</h3>
         <ul>
           <li><a href="http://boothportal.chicagobooth.edu/facredirect/john.cochrane" target="_blank">Official Booth Page </a> </li>
        <li><a href="http://faculty.chicagobooth.edu/john.cochrane/research/Data_and_Programs/" target="_blank">Data and Programs</a></li>
           <li><a href="http://www.babybeebooks.com/" target="_blank">Family Webpage</a></li>
           <li><a href="http://www.elizabethfama.com/" target="_blank">elizabethfama.com </a></li>
           <li></li>
         </ul>
    
        
<!--- displays menu items when the Teaching link is clicked -->     
 
                 
<%  Case "teaching" %>
<div id="sectionLinks">
        <h3>Navigation</h3>
    <ul>
            <li><a href="../index.asp">Home</a></li>
        <li><a href="../research/index.asp">Research </a> </li>
            <li><a href="../research/news.asp">News, opeds, fun </a></li>
            <li><a href="index.asp">Teaching </a></li>
            <li><a href="../soaring/index.asp">Soaring</a></li>
    </ul>
   </ul>
        
         <h3>External Links</h3>
         <ul>
           <li><a href="http://boothportal.chicagobooth.edu/facredirect/john.cochrane" target="_blank">Official Booth Page </a> </li>
       <li><a href="http://faculty.chicagobooth.edu/john.cochrane/research/Data_and_Programs/" target="_blank">Data and Programs </a></li>
           <li><a href="http://www.babybeebooks.com/" target="_blank">Family Webpage</a></li>
           <li><a href="http://www.elizabethfama.com/" target="_blank">elizabethfama.com </a></li>
           <li></li>
         </ul>
  </div>
        
<!--- displays menu items when the Soaring link is clicked -->     
 
                 
<%  Case "soaring" %>
<div id="sectionLinks"> 
<h3>Navigation</h3>       

              <ul>  <li><a href="../index.asp">Home</a></li>
              <li><a href="../research/index.asp">Research </a> </li>
                  <li><a href="../research/news.asp">News, opeds, fun </a></li>
       <li><a href="../teaching/index.asp">Teaching </a></li>
       <li><a href="../soaring/index.asp">Soaring</a></li>
             <ul>
                  <li><a href="../research/Data_and_Programs/CFI/">CGC CFI page </a></li>
                  <li><a href="index.asp#nisc">NISC </a> </li>
                  <li><a href="index.asp#maccready">MacCready, theory</a></li>
                  <li><a href="index.asp#safety_rules">Safety and Rules </a></li>
                  <li><a href="index.asp#misc">Articles etc.  </a></li>
                  <li><a href="index.asp#corner">Contest Corner </a></li>
                </ul>
  </ul>
      
        <h3>External Links</h3>
        <ul>
        <li><a href="http://boothportal.chicagobooth.edu/facredirect/john.cochrane" target="_blank">Official Booth Page </a> </li>
        <li><a href="http://faculty.chicagobooth.edu/john.cochrane/research/Data_and_Programs/" target="_blank">Data and Programs </a></li>
        <li><a href="http://www.babybeebooks.com/" target="_blank">Family Webpage</a></li>
        <li><a href="http://www.elizabethfama.com/" target="_blank">elizabethfama.com</a></li>
        <li></li>
        </ul>
  </div>

 
   
        
 
<!--end navbar -->

<%End Select %>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 13, 2011 Oct 13, 2011

Thanks.  OK - that didn't show what I feared it might.

So, the CSS file is linked to the parent page, and when you open the parent page in DW, although you can see the content in this include file, the content is not styled the way you expected - is that correct?

If so, I guess we will need to see the link to the CSS file in the parent page, as well as the contents of that CSS file.

Better - can you post a link to a live page that is not showing the desired styling?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 13, 2011 Oct 13, 2011

Yes that is correct. This is how it views on the website: http://screencast.com/t/8f3Fmx36jm

This is how it appears in Dreamweaver: http://screencast.com/t/9LivBuE6J

Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 13, 2011 Oct 13, 2011

Unfortnately, screenies only demonstrate to us that you have a problem.  The cause remains hidden in the code....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 13, 2011 Oct 13, 2011
LATEST

main css:

/***********************************************/
/* 2col_leftNav.css                            */
/* Use with template 2col_leftNav.html          */
/***********************************************/

/***********************************************/
/* HTML tag styles                             */
/***********************************************/

body{
font-family: Arial,sans-serif;
color: #333333;
margin: 0px;
padding: 0px;
}

a:link, a:visited, a:hover {
/* color: #006699;*/
text-decoration: none;
}

a:hover {
text-decoration: underline;
}
/* overrides decoration from previous rule for hovered links */

h1, h2, h3, h4, h5, h6 {
font-family: Arial,sans-serif;
margin: 0px;
padding: 0px 0px 5px 0px;
}

h1{
font-family: Verdana,Arial,sans-serif;
font-size: 120%;
color: #334d55;
}

h2{
font-size: 114%;
color: #006699;
}

h3{
font-size: 100%;
color: #334d55;
}

h4{
font-size: 100%;
font-weight: normal;
color: #333333;
}

h5{
font-size: 100%;
color: #334d55;
}

ul{
list-style-type: square;
}

ul ul{
list-style-type: disc;
}

ul ul ul{
list-style-type: none;
}

label{
font: bold 100% Arial,sans-serif;
color: #334d55;
}
   

/***********************************************/
/* Layout Divs                                 */
/***********************************************/

#masthead{
margin: 0;
padding: 10px 0px;
border-bottom: 1px solid #cccccc;
width: 100%;
}

#navBar{
margin: 0 85% 0 0;
padding: 5px;
background-color: #eeeeee;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}

/* saved while I play
#content{
   float: right;
width: 80%;
margin: 0 ;
padding: 0 3% 0 0;
padding-bottom: 3em;
}
*/

#content{
   float: right;
width: 60%;
margin: 0 23% 0 0;
padding-bottom: 3em;
}


#footer {
clear: both;
  position: relative;
  z-index: 10;
  height: 3em;
  margin-top: -3em;
}


/***********************************************/
/*Component Divs                               */
/***********************************************/

#siteName{
margin: 0px;
padding: 0px 0px 10px 10px;
}


/*************** #pageName styles **************/

#pageName{
padding: 0px 0px 10px 10px;
}


/************* #globalNav styles **************/

#globalNav{
color: #cccccc;
padding: 0px 0px 0px 10px;
white-space: nowrap;
}
/* 'nowrap' prevents links from line-wrapping if there are too many to fit in one line
   this will force a horizontal scrollbar if there isn't enough room for all links
   remove rule or change value to 'normal' if you want the links to line-wrap */

#globalNav img{
display: block;
}

#globalNav a {
font-size: 90%;
padding: 0px 4px 0px 0px;
}


/************* #breadCrumb styles *************/

#breadCrumb{
font-size: 80%;
padding: 5px 0px 5px 10px;
}


/************** .feature styles ***************/

.feature{
padding: 0px 0px 10px 10px;
font-size: 80%;
}

.feature h3{
padding: 30px 0px 5px 0px;
text-align: center;
}

.feature img{
float: left;
padding: 0px 10px 0px 0px;
margin: 0 5px 5px 0;
}

.feature li{margin: 0 0 10px 0;}

/* adjust margins to change separation between the feature image and text flowing around it */


/************** .story styles *****************/

.story{
clear: both;
padding: 5px 0px 0px 10px;
font-size: 80%;
}

.story p{
padding: 0px 0px 0px 0px;
}

.story li{margin: 0 0 10px 0;}

/************* #search styles ***************/

#search{
padding: 5px 0px 5px 10px;
border-bottom: 1px solid #cccccc;
font-size: 90%;
}

#search form{
margin: 0px;
padding: 0px;
}

#search label{
display: block;
margin: 0px;
padding: 0px;
}


/*********** #navBar link styles ***********/

#navBar ul a:link, #navBar ul a:visited {display: block;}
#navBar ul {list-style: none; margin: 0; padding: 0;}
#navBar ul ul {list-style: none; margin: 0; padding: 0px 0px 0px 15px;font-size:80%;}

/* hack to fix IE/Win's broken rendering of block-level anchors in lists */
#navBar li {border-bottom: 1px solid #EEE;}

/* fix for browsers that don't need the hack */
html>body #navBar li {border-bottom: none;}


/*********** #sectionLinks styles ***********/

#sectionLinks{
position: relative;
margin: 0px;
padding: 0px;
border-bottom: 0px;
/* 1px solid #cccccc; */
font-size: 90%;
}

#sectionLinks h3{
padding: 2px 0px 2px 10px;
}

#sectionLinks a:link{
padding: 2px 0px 2px 10px;
/* border-top: 1px solid #cccccc;*/
width: 100%;
  voice-family: "\"}\"";
  voice-family:inherit;
width: auto;
}

#sectionLinks a:visited{
border-top: 1px solid #cccccc;
padding: 2px 0px 2px 10px;
}

#sectionLinks a:hover{
border-top: 1px solid #cccccc;
background-color: #dddddd;
padding: 2px 0px 2px 10px;
}


/*********** .relatedLinks styles ***********/

.relatedLinks{
margin: 0px;
padding: 0px 0px 10px 10px;
font-size: 90%;
}

.relatedLinks h3{
padding: 10px 0px 2px 0px;
}

/************* #siteInfo styles ***************/

#siteInfo{

clear: both;
padding: 0px 10px 0px 0px;
float: left;
width: 100%;
}
/************** #advert styles **************/

#advert{
padding: 10px 0px 0px 10px;
font-size: 80%;
border-top: 1px solid #cccccc;
}

#advert img{
display: block;
}


/************** #headlines styles **************/

#headlines{
margin: 0px;
padding: 10px 0px 20px 10px;
font-size: 80%;
}

#headlines p{
padding: 5px 0px 5px 0px;
}

navbar, above:

  <!--- Created by: (mwells2) --->
  <!--- Last Modified July 08, 2011 --->
 
<div class="navbar">
<%
Select Case page
  Case "main" %>


<!--- displays menu items when the Home link is clicked -->  
  <div id="sectionLinks">
      <h3>Navigation</h3>
  <ul>
          <li><a href="index.asp">Home</a></li>
          <ul>
           <li><a href="contact.asp">Contact information </a></li>
       <li><a href="research/papers/cochrane_bio.pdf" target="_blank">Short Bio </a></li>
       <li><a href="research/papers/vitashort.pdf" target="_blank">Vita with Links</a></li>
    <li><a href="research/papers/cochrane_disclosure.pdf" target="_blank">Disclosure statement </a></li>
       <li><a href="index.asp#whatsnew">What's new? </a></li>
    <li><a href="index.asp#notice">Copyright notice </a></li>
          </ul>       
      <li><a href="research/index.asp">Research </a> </li>
          <li><a href="research/news.asp">News, opeds, fun </a></li>
          <li><a href="teaching/index.asp">Teaching </a></li>
    <li><a href="research/Data_and_Programs">Data and Programs </a></li>
          <li><a href="soaring/index.asp">Soaring</a></li>
  </ul>
</ul>
      
       <h3>External Links</h3>
       <ul>
         <li><a href="http://boothportal.chicagobooth.edu/facredirect/john.cochrane" target="_blank">Official Booth Page</a> </li>
       <li><a href="http://www.babybeebooks.com/" target="_blank">Family Webpage</a></li>
         <li><a href="http://www.elizabethfama.com/" target="_blank">elizabethfama.com </a></li>
         <li></li>
       </ul>
  </div>

</ul>
<!--- displays menu items when the Research link is clicked -->     
     
<%  Case "research" %>
<div id="sectionLinks">
     <h3>Navigation</h3> 
       <ul> 
       <li><a href="../index.asp">Home</a></li>
       <li><a href="index.asp">Research </a> </li>
      <ul>
           <li><a href="index.asp#books">Books and notes </a> </li>
           <li><a href="index.asp#articles">Articles</a> </li>
          <ul>
               <li><a href="index.asp#assetpricing">Asset Pricing</a> </li>
               <li><a href="index.asp#Fiscal">Macro, Money, Fiscal Theory</a> </li>
               <li><a href="index.asp#Health">Health Insurance</a> </li>
               <li><a href="index.asp#unitroots">Time series</a> </li>
           </ul>
        <li><a href="index.asp#talkscomments">Talks and Comments </a> </li>
         </ul>
      <li><a href="news.asp">News, opeds, fun </a></li>
      <li><a href="../teaching/index.asp">Teaching </a></li>
      <li><a href="../soaring/index.asp">Soaring</a></li>
     
      
       <h3>External Links</h3>
       <ul>
         <li><a href="http://boothportal.chicagobooth.edu/facredirect/john.cochrane" target="_blank">Official Booth Page </a> </li>
     <li><a href="http://faculty.chicagobooth.edu/john.cochrane/research/Data_and_Programs/" target="_blank">Data and Programs </a></li>
         <li><a href="http://www.babybeebooks.com/" target="_blank">Family Webpage</a></li>
         <li><a href="http://www.elizabethfama.com/" target="_blank">elizabethfama.com </a></li>
         <li></li>
       </ul>
      </ul>
        
<!--- displays menu items when the News link is clicked -->     

        
         <%  Case "news" %>
         <div id="sectionLinks">
        <h3>Navigation</h3>
         <ul> 
         <li><a href="../index.asp">Home</a></li>
         <li><a href="../research/index.asp">Research </a> </li>
     
        
        
         <li><a href="news.asp">News, opeds, fun </a></li>
      <ul>
           <li> <a href="news.asp#opeds"> Opeds, blogs, news. </a></li>
           <li> <a href="news.asp#talks"> Talks. </a></li>
          </ul>
        
         <li><a href="../teaching/index.asp">Teaching </a></li>
        <li><a href="../soaring/index.asp">Soaring</a></li>
       </ul>
        
         <h3>External Links</h3>
         <ul>
           <li><a href="http://boothportal.chicagobooth.edu/facredirect/john.cochrane" target="_blank">Official Booth Page </a> </li>
        <li><a href="http://faculty.chicagobooth.edu/john.cochrane/research/Data_and_Programs/" target="_blank">Data and Programs</a></li>
           <li><a href="http://www.babybeebooks.com/" target="_blank">Family Webpage</a></li>
           <li><a href="http://www.elizabethfama.com/" target="_blank">elizabethfama.com </a></li>
           <li></li>
         </ul>
    
        
<!--- displays menu items when the Teaching link is clicked -->     
 
                 
<%  Case "teaching" %>
<div id="sectionLinks">
        <h3>Navigation</h3>
    <ul>
            <li><a href="../index.asp">Home</a></li>
        <li><a href="../research/index.asp">Research </a> </li>
            <li><a href="../research/news.asp">News, opeds, fun </a></li>
            <li><a href="index.asp">Teaching </a></li>
            <li><a href="../soaring/index.asp">Soaring</a></li>
    </ul>
   </ul>
        
         <h3>External Links</h3>
         <ul>
           <li><a href="http://boothportal.chicagobooth.edu/facredirect/john.cochrane" target="_blank">Official Booth Page </a> </li>
       <li><a href="http://faculty.chicagobooth.edu/john.cochrane/research/Data_and_Programs/" target="_blank">Data and Programs </a></li>
           <li><a href="http://www.babybeebooks.com/" target="_blank">Family Webpage</a></li>
           <li><a href="http://www.elizabethfama.com/" target="_blank">elizabethfama.com </a></li>
           <li></li>
         </ul>
  </div>
        
<!--- displays menu items when the Soaring link is clicked -->     
 
                 
<%  Case "soaring" %>
<div id="sectionLinks"> 
<h3>Navigation</h3>       

              <ul>  <li><a href="../index.asp">Home</a></li>
              <li><a href="../research/index.asp">Research </a> </li>
                  <li><a href="../research/news.asp">News, opeds, fun </a></li>
       <li><a href="../teaching/index.asp">Teaching </a></li>
       <li><a href="../soaring/index.asp">Soaring</a></li>
             <ul>
                  <li><a href="../research/Data_and_Programs/CFI/">CGC CFI page </a></li>
                  <li><a href="index.asp#nisc">NISC </a> </li>
                  <li><a href="index.asp#maccready">MacCready, theory</a></li>
                  <li><a href="index.asp#safety_rules">Safety and Rules </a></li>
                  <li><a href="index.asp#misc">Articles etc.  </a></li>
                  <li><a href="index.asp#corner">Contest Corner </a></li>
                </ul>
  </ul>
      
        <h3>External Links</h3>
        <ul>
        <li><a href="http://boothportal.chicagobooth.edu/facredirect/john.cochrane" target="_blank">Official Booth Page </a> </li>
        <li><a href="http://faculty.chicagobooth.edu/john.cochrane/research/Data_and_Programs/" target="_blank">Data and Programs </a></li>
        <li><a href="http://www.babybeebooks.com/" target="_blank">Family Webpage</a></li>
        <li><a href="http://www.elizabethfama.com/" target="_blank">elizabethfama.com</a></li>
        <li></li>
        </ul>
  </div>

 
   
        
 
<!--end navbar -->

<%End Select %>

Index page:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!-- EDITABLE CONTENT IS NOTED BY COMMENTS -->
<!-- DO NOT EDIT CODE BELOW! -->

<!--<% dim page
    page="main"
%>-->


<head>
  <title>John H. Cochrane - Homepage</title>
   <link href="includes/2col_leftNav.css" rel="stylesheet" type="text/css" media="screen" />
   <link href="includes/website_setup.inc" rel="stylesheet" type="text/css" />

</head>

<body>


<div id="masthead">
<!--#include file="includes/website_setup.inc" -->
</div>


<!-- begin content -->
<div id="content">
   <h1 id="pageName">Home Page</h1>


<!-- begin feature -->
  <div class="feature">
  <img src="images/Booth_09.JPG" alt="John H. Cochrane" width="268" height="405" />
    <h1>About me and this page</h1>
    <p>Welcome to my web page. Here you can find just about anything I've ever written.</p>
    <p>The <a href="research/papers/cochrane_bio.pdf" target="_blank">Short Bio</a> has a few paragraphs describing me and my work. If you have to introduce me, please don't read it all.  The<a href="research/papers/vitashort.pdf" target="_blank"> Vita</a> includes a chronological list of all papers, with links and citation information. The <a href="research/papers/cochrane_disclosure.pdf" target="_blank"> disclosure statement </a> lists all outside activities and potential perceived conflicts.</p>
    <p>The <a href="research/">Research</a> link will take you to all my academic writing, including published papers, working papers and comments. It includes comments and talks given at academic conferences.</p>
    <p>The <a href="research/news.asp">News, Op-eds, fun </a>link takes you  includes op-eds, blog posts, links to media coverage, slides and videos of talks, and other items of interest to the average non-academic. </p>
    <p> I usually post slides of any talk I've given, so if there was some delicious graph you saw at a talk, you're likely to find it in the Research or News links. </p>
    <p><a href="teaching/">Teaching</a> takes you to class web pages. Students: these are the right web pages. Booth sometimes echoes old and out-of-date information to other sites. Visitors: you are welcome to use any of my materials that you find useful, so long as you cite their source. All: yes, the problem set answer links don't lead anywhere when I'm not teaching.</p>
    <p><a href="research/Data_and_Programs">Data and Programs</a> takes you to a webpage with data and programs for older papers. Starting 2011, I'm posting links to data and programs next to the paper on these pages, but I haven't yet cleaned up the old papers to that method. </p>
    <p>If you're a sailplane pilot looking for Soaring writing, go to the <a href="soaring/index.asp">soaring link</a>. If you're an economist but flying gliders sounds a lot more interesting than whatever else brought you here, go ahead and take a look. </p>
    <p>I'm a very proud father and husband of a creative family. Check out the<a href="http://www.babybeebooks.com/"  target="_blank"> Family web page</a>, with art, comics, animation, <a href="http://babybeebooks.com/gene.htm"  target="_blank">music</a>, plus the famous Hippo pages. Warning: If you click this link you may not be back for an hour or two. My wife, Elizabeth Fama is a children's book author, and <a href="http://www.elizabethfama.com/"  target="_blank">elizabethfama.com</a> is her web page and blog. </p>
    <p>This is (July 2011) a big web site redesign. Please<a href="mailto:john.cochrane@chicagobooth.edu"> let me know </a>about inevitable bugs, broken links, etc. </p>

    <h1><a name"whatsnew" id="whatsnew"></a>What's new?  </h1>
    <h2>Articles and working papers </h2>
    <ul>
      <li><a href="research/papers/Cochrane_Inflation_and_Debt_National_Affairs.pdf" target="blank">Inflation and Debt</a> <em>National Affairs </em> 9 (Fall 2011). <a href="http://www.nationalaffairs.com/publications/detail/inflation-and-debt" target = "blank">html </a>An essay summarizing the threat of inflation from large debt and deficits. The danger is best described as a "run on the dollar." Future deficits can lead to inflation today, which the Fed cannot control. I also talk about the conventional Keynesian (Fed) and monetarist views of inflation, and why they are not equipped to deal with the threat of deficits. This essay complements the academic (equations)
      <a href="research/papers/understanding_policy_EER.pdf" target="_blank">"Understanding Policy"</a> article (see below) and the <a href="research/papers/John_H_Cochrane_Why_the_2025_Budget_Matters_Today_WSJ.pdf" target="_blank">Why the 2025 budget matters today</a> WSJ oped (see below)
      </li>
      <li><a href="research/papers/discount_rates_jf.pdf" target="_blank">Discount rates</a> <em>  Joural of Finance </em> 66, 1047-1108 (August 2011).
          <a href="http://onlinevideoservice.com/clients/afa/2011/01082011-c.html" target="_blank">The video</a> (including gracious roast by Raghu Rajan). The <a href="research/papers/AFA_slides.pdf" target="_blank">slides</a>. <a href="research/papers/program_archive.zip" target="_blank">Data and programs</a> (zip file).<br>
          My American Finance Association Presidential Address. Discount rate variation (equivalently expected returns, risk premiums)
          are now at the center of asset pricing questions, from bubbles to the nature of the crash. I survey theory and empirical work,
          and offer some hope that &quot;macro&quot; theories are relevant to big recent events. </li>
      <li><a href="research/papers/cochrane_taylor_rule_JPE_660817.pdf" target="_blank">Determinacy and Identification with Taylor Rules</a>.
           <em>Journal of Political Economy</em>, Vol. 119, No. 3 (June 2011), pp. 565-615.
           <a href="research/papers/cochrane_taylor_rule_online_appendix_B.pdf" target="_blank">Online Appendix B</a>
           <a href="http://www.jstor.org/stable/10.1086/660817" target="_blank">JSTOR link</a>, including html, pdf, and online appendix. <br>
      There are multiple equilibrium problems at the heart of the New-Keynesian model. This is a new update, including an updated treatment of Obstfeld and Rogoff (uncovering a surprising mistake) and many small improvements. This is the last pre-publication draft. It includes a technical appendix with algebra for determinacy regions and solutions of the three-equation New-Keynesian model, as well as other issues. </li>
      <li><a href="research/papers/understanding_policy_EER.pdf" target="_blank">Understanding  fiscal and monetary policy in the great recession: Some unpleasant fiscal arithmetic.</a> <em>January 2011</em> <em>European Economic Review </em>55 2-30 <a href="http://dx.doi.org/10.1016/j.euroecorev.2010.11.002" target="_blank">ScienceDirect Link</a> <br>
        Why there was a big recession; will we face inflation or deflation, can the Fed do anything about it in the face of looming deficits?<br />
      </li>
    </ul>
    <p><em><a href="research/index.asp">More Articles and Working Papers... </a></em>     </p>

    <h2><strong>News, Op-eds, Blog Posts, etc</strong></h2>
    <ul>
      <li><a href="http://www.bloomberg.com/news/2011-09-22/why-identifying-a-bubble-is-so-much-trouble-john-h-cochrane..." target="blank"> Bubble trouble </a> <em> Bloomberg View </em> Septeber 22 2011. <a href=research/papers/Bubble_Bloomberg_Cochrane.pdf target="blank"> local pdf. </a> Part of Booth's "Business Class" series. High price-dividend ratios mean low returns and vice versa. The "bubble" argument is only about understanding why risk premia vary over time. A short oped based on <a href="research/papers/discount_rates_jf.pdf" target="_blank">"Discount Rates"</a>
      </li>
      <li><a href="http://online.wsj.com/article/SB10001424052702304911104576444482440753132.html" target="_blank">The More Capital, The Safer the Bank </a>
      <em>July 15 2011</em> Wall Street Journal.
      <a href="research/papers/John_H._Cochrane_Bank_Capital_WSJ.pdf" target="_blank">  Local pdf. </a>
      This piece counters many arguments for low bank capital requirements.  Capital is not reserves, the required return on equity is lower for better capitalized banks. (Modigliani and Miller work at least a bit.) And no, Dodd-Frank does not mean banks are forever more free of risk.  <br/>
      For more on bank capital requirements, see Anat Admati's Stanford
      <a href="http://www.gsb.stanford.edu/news/research/Admati.etal.html" target="_blank"> website</a>. Here's the source for quoting <a href="http://online.wsj.com/article/SB10001424052702303848104576385782130686772.html" target="_blank"> Dan Tarullo </a> on more capital. The other side that I was making fun of:
      <a href="http://financialservices.house.gov/Calendar/EventSingle.aspx?EventID=245734" target="_blank"> JP Morgan testimony </a> and
      <a href="http://www.theclearinghouse.org/index.html?f=072373" target="_blank"> The Clearing House Open Letter. </a>
      Here is the
      <a href="http://www.nytimes.com/2011/06/26/business/26banks.html" target="_blank"> New York Times </a> mixing up capital with reserves and stating as a fact -- not a quote, not a theory, not an opinion, just a undeniable fact -- that higher capital requirements mean less lending. </li>
      <li><a href="http://www.cato-unbound.org/2011/07/15/john-h-cochrane/in-defense-of-the-hedgehogs/" target="_blank"> In Defense of Hedgehogs </a> <em> July 15 2011 Cato Unbound. </em>
      <a href="research/papers/In_defense_of_hedgehogs.pdf" target="_blank">Local Pdf. </a>
      A short essay on forecasting in economics and finance. Why "we can't forecast" doesn't mean "we don't know anything." The difference between unconditional forecasting -- "what will happen?" which we are not very good at, and conditional forecasting or "what will be the effect of x policy" which we are pretty good at. Most of all a defense of "hedgehogs" like Milton Friedman and Ronald Reagan, whose conditional forecasts stuck to a few clear core principle, as opposed to heterodox "foxes." It's a "reaction essay" to
      <a href="http://www.cato-unbound.org/2011/07/11/dan-gardner-and-philip-tetlock/overcoming-our-aversion-to-ack..." target="_blank">  Dan Gardner and Philip Tetlock's essay </a>
      in the July
      <a href="http://www.cato-unbound.org/" target ="_blank"> 2011 Cato Unbound. </a> </li>
      <li><a href="http://online.wsj.com/article/SB10001424052702304186404576389542793496526.html" target="_blank">Europe's Greek Stress Test</a> <em>June 17 2011</em>.Wall Street Journal, with Anil Kashyap. <a href="research/papers/Cochrane_and_Kashyap_ Europe's_Greek_Stress_Test_WSJ.pdf" target="_blank">Local pdf</a>. <br>
        Why is Europe so scared to let Greece reschedule just a bit? Answer: because their  banks holding Greek debt. Greece isn't being bailed out -- they'd rather default than work a year and a half just to pay off old debts. Bondholders are being bailed out, and those are mostly banks. So much for the wonders of bank regulation. Europe needs to fix its banks pronto, because the sovereigns will default. The default doesn't have to imply a financial crisis. </li>
      <li><a href="http://www.bloomberg.com/news/2011-06-02/is-qe2-a-savior-inflator-or-a-dud-business-class.html" target="_blank">Is QE2 a Savior, Inflator or a Dud</a>?<em> June 3 2011. </em>Bloomberg.com (Booth &quot;Business Class&quot; Series).<a href="research/papers/bloomberg_qe2.html" target="_blank">Local copy</a>. <br>
      I think QE2 basically did nothing. The minor danger is we are slightly more prone to runs on the dollar. The big danger is the Fed is basically powerless. </li>
      <li><a href="http://online.wsj.com/article/SB10001424052748704570704576274910548560654.html" target="_blank">Why the 2025 budget matters today</a>. <em>Wall Street Journal April 27 2011</em>.<a href="research/papers/John_H_Cochrane_Why_the_2025_Budget_Matters_Today_WSJ.pdf" target="_blank">Local pdf copy</a> <br>
      Long term deficits and short term debt leave us vulnerable to a run on the dollar and stagflation. A simple summary of  &quot;Understanding policy in the great recession.&quot;</li>
      <li><a href="http://online.wsj.com/article/SB10001424052748704594804575648692103838612.html" target="_blank">Contagion and other Euro Myths</a><em> Wall Street Journal Dec 2 2010.<br>
      </em>The latest on the unfolding sovereign debt crisis. Contagion is nonsense, and short term debt is a big part of the problem.</li>
      <li><a href="research/papers/QEII.html" target="_blank">Quantitative Easing</a> <em>November 24 2010</em>. VoxEu</li>
      <li><a href="http://www.latimes.com/news/opinion/la-oe-economists-20101114-web,0,1269444.story" target="_blank">Stimulus: Neither Needed nor Free</a> <em>Los Angeles Times November 15 2010</em>. <br>
      300 words on &quot;does the economy need more stimulus,&quot; with 8 other sages. No. </li>
      <li><a href="research/papers/stimulus_rip.html" target="_blank">Stimulus, RIP. </a><em>November 9 2010.</em> <br>
      A last (I hope) piece on fiscal stimulus.</li>
      <li><a href="http://online.wsj.com/article/SB10001424052702303467004575574101493496596.html" target="_blank">Geithner's Global Central Planning</a> <em>Wall Street Journal, October 26 2010.</em><br>
      Literary analysis of <a href="http://graphics8.nytimes.com/packages/pdf/10222010geithnerletter.pdf" target="_blank">Treasury Secretary Tim Geithner's Letter to the G-20</a>.</li>
      <li><a href="research/papers/big_stick.html" target="_blank">A Big Stick for the Fed. </a><em>October 6 2010</em>.<br>
I'm stuck on the fact that the Fed is powerless to stop deflation. Here's some ideas on how they might gain that power. <br />
      </li>
    </ul>


    <p><em><a href="research/news.asp">More News and Op-eds...</a></em></p>
    <h2>Talks and Comments </h2>
    <ul>
      <li> <a href="research/papers/hamiton_wu_term_structure.pdf" target="_blank">Hamilton, Wu, and QE2</a>, <em>March 3 2011.</em> Comments on Jim Hamilton and Jing Wu, 2011, &quot;<a href="http://dss.ucsd.edu/~jhamilto/zlb.pdf" target="_blank">The Effectiveness of Alternative Monetary Policy Tools in a Zero Lower Bound Environment&quot;</a>, at the spring NBER Monetary Economics meeting, along with many thoughts and comments on quantitative easing more generally. <a href="research/papers/Hamilton_wu_slides.pdf" target="_blank">Slides</a>.</li>
      <li><a href="research/papers/NK_Fiscal_slides.pdf" target="_blank">New-Keynesian Models with Fiscal Price Determination.</a> <em>January 2011 </em>Slides for presentation at the 2011 AEA meetings.</li>
      <li><a href="http://onlinevideoservice.com/clients/afa/2011/01072011.html" target="_blank">Panel on the financial crisis</a> (Video) <em>January 2011.</em> with Simon Johnson, Raghu Rajan, Rene Stulz, at the  AFA meetings. </li>
      <li> A Skeptical Appraisal of Frictions in the Financial Crisis<em>. September 2010</em>. <a href="research/papers/risks_talk.pdf" target="_blank">Notes</a> and <a href="research/ppts/db_pictures.pptx" target="_blank">Pictures</a>.</li>
      <li> <a href="research/ppts/April_10_hedge_talk_booth.ppt" target="_blank">Hedge Funds.</a> <em>April 15 2010. </em>Slides for presentation to Booth Hedge Fund student group. </li>
    </ul>
    <p><em>More talks and comments in <a href="research/index.asp#talkscomments">Research talks and comments.</a> </em> and<a href="research/news.asp#talkscomments"> <em>News, Op-eds talks and comments</em></a>...</p>
    <a name="notice"></a>
    <h1>Copyright Notice</h1>
<p>Materials provided are for educational use only. Published articles are the Copyright of their respective publishers. All other material is Copyright &copy;2011 John H. Cochrane. You're welcome to use any of my material for eductional or non-commercial use, provided it is in its original form, and I am recognized as its author. Please post links rather than post copies of the files, so that your users get any updates which I post here. </p>
  <p><a href="http://s30.sitemeter.com/stats.asp?site=s30cochrane" target="_top"><img border=0 width=80 height=15 id="_x0000_i1025"
src="http://s30.sitemeter.com/meter.asp?site=s30cochrane" alt="Site Meter"></a>visitors since Nov 20 2009</p>


</div> <!-- end feature -->

</div> <!-- end content -->


<!-- begin navbar -->
<div id="navbar">
<!--#include file="includes/website_navbar.inc" -->
<!-- end navbar -->


</body>
</html>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines