<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1036681" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1036681</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-should-i-go-about-recoding-my-site#comment-1211055</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;skywishes;210997 wrote:&lt;/strong&gt; My site uses lot of tables. If I change all that and create CSS templates to eliminate the tables, what is the best way to apply the css templates without having to recreate every page from scratch?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Well that depends what your pages are like.  If they all have a common design/structure, then it could be easy to rewrite.  If they are unique or substantially inconsistent, you&#039;ll have a more difficult task.&lt;/p&gt;
&lt;p&gt;Either way, if you want to convert your site to CSS and templates, you will have to rewrite the lot at least once.  Just remember that you&#039;ll probably never have to do it again -- or if you do, it will be way easier next time.&lt;/p&gt;
&lt;p&gt;Note that CSS and templates are different things.  Cascading Style Sheets (CSS) are used to define the stylistic appearance of stuff in your page.  Like colours, fonts, sizes, etc.&lt;/p&gt;
&lt;p&gt;Simple templates, like a_gajic described, are used to abstract out common code.  If you have a header that appears on every page, for instance, you could store it in a template portion.&lt;/p&gt;
&lt;p&gt;&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;
 </description>
     <pubDate>Wed, 29 Nov 2006 03:41:26 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1211055 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-should-i-go-about-recoding-my-site#comment-1211053</link>
    <description> &lt;p&gt;I&#039;m saying that if you have a large website, it would be easier to create your template files (eg header.inc and footer.inc) and keep your main content separate.&lt;/p&gt;
&lt;p&gt;It saves having to copy and paste loads of code... using SSI for example:&lt;/p&gt;
&lt;p&gt;header.inc&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;My Page&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;layout stuff...&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;footer.inc&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;/layout stuff...&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;And then your main page would be&lt;/p&gt;
&lt;p&gt;index.shtml (.shtml is used for files using SSI&#039;s)&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;!--#include file=&amp;quot;header.inc&amp;quot; --&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;My main text&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;!--#include file=&amp;quot;footer.inc&amp;quot; --&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;The same goes for PHP really just change the include lines to &amp;lt;? include(&quot;file.inc&quot;); ?&amp;gt; and save with a .php extension.&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;
 </description>
     <pubDate>Wed, 29 Nov 2006 03:10:57 +0000</pubDate>
 <dc:creator>a_gajic</dc:creator>
 <guid isPermaLink="false">comment 1211053 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-should-i-go-about-recoding-my-site#comment-1211029</link>
    <description> &lt;p&gt;can u please elaborate on your point please, Mr. a_qajic......&lt;/p&gt;
 </description>
     <pubDate>Tue, 28 Nov 2006 14:10:56 +0000</pubDate>
 <dc:creator>The Coder</dc:creator>
 <guid isPermaLink="false">comment 1211029 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-should-i-go-about-recoding-my-site#comment-1211026</link>
    <description> &lt;p&gt;You shouldn&#039;t have to create every single page from scratch. Are you familiar with SSI&#039;s or PHP? You can easily create a template for your website so you will only need to change the &#039;one&#039; page.&lt;/p&gt;
 </description>
     <pubDate>Tue, 28 Nov 2006 12:24:27 +0000</pubDate>
 <dc:creator>a_gajic</dc:creator>
 <guid isPermaLink="false">comment 1211026 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
