<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1026069" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1026069</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/help-creating-choose-layout-script#comment-1157414</link>
    <description> &lt;p&gt;I knew exactly what you were talkign about.... &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;A header and footer is basically a breaking-up of your page layout.  So you design the template, and then break it up, based upon where you want your content.  So for example:&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;/header.txt&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&lt;br /&gt;echo \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;this is the body text, inside of an open div\&quot;;&lt;br /&gt;&lt;br /&gt;include(&#039;/footer.txt&#039;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;That would be the extent of any given page.  More or less.&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 Aug 2004 03:29:37 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1157414 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/help-creating-choose-layout-script#comment-1157367</link>
    <description> &lt;p&gt;We knew what you meant.  The most common way of doing this is to  design the site with CSS first, then change the stylesheet.  See the CSS Zen Garden for reference.&lt;/p&gt;
&lt;p&gt;Kyle&#039;s directions use a combination of php includes (headers/footers) and style sheets.&lt;/p&gt;
 </description>
     <pubDate>Thu, 26 Aug 2004 15:59:59 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1157367 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/help-creating-choose-layout-script#comment-1157365</link>
    <description> &lt;p&gt;Um.. you all are thinking i meant &quot;style&quot; as far as font and size and stuff. What i want is for the whole look of the page to change (ie different images, layout, but same content).&lt;/p&gt;
&lt;p&gt;Plus I don&#039;t know a thing about headers and footers... Never used them before. All I kno about them is in MS Word they go on top and bottom of the page  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;EDIT: I am using PHP for my different layouts so that it has the same content for each layout&lt;/p&gt;
 </description>
     <pubDate>Thu, 26 Aug 2004 15:57:08 +0000</pubDate>
 <dc:creator>iblob</dc:creator>
 <guid isPermaLink="false">comment 1157365 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/help-creating-choose-layout-script#comment-1157359</link>
    <description> &lt;p&gt;Ok, I have a better way...use PHP to start&lt;/p&gt;
&lt;p&gt;#1- Create different headers and footers that are text files (header1.txt, header2.txt, or name appropriately)&lt;br /&gt;
#2-  Create the different style sheets&lt;br /&gt;
#3- Don&#039;t include the stylesheet reference in your header, make that in the body as &amp;lt;?=$style?&amp;gt;&lt;br /&gt;
#4- And based upon whatever they choose, $style would equal the appropriate category, that would choose the headers/footers and the stylesheet&lt;/p&gt;
 </description>
     <pubDate>Thu, 26 Aug 2004 14:06:14 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1157359 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/help-creating-choose-layout-script#comment-1157349</link>
    <description> &lt;p&gt;Really the only way to do this right is by changing style sheets.&lt;br /&gt;
I am using a cgi script right now to change html headers and footers (and select images) but it&#039;s a pain and sooooo not worth the trouble.&lt;br /&gt;
I can&#039;t wait to switch to a more intuitive way to do it.&lt;/p&gt;
&lt;p&gt;You can use php or asp to switch between styles or (if you don&#039;t want to use php pages) you can go with a simple javascript switcher.&lt;br /&gt;
There&#039;s a simple (and very good) css switcher at &lt;a href=&quot;http://www.alistapart.com/articles/n4switch/&quot; class=&quot;bb-url&quot;&gt;http://www.alistapart.com/articles/n4switch/&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best of luck! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 26 Aug 2004 11:43:41 +0000</pubDate>
 <dc:creator>KarenArt</dc:creator>
 <guid isPermaLink="false">comment 1157349 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
