|
jurgen -> RE: FP Include page and CSS (10/11/2007 20:52:26)
|
You do not need a server or another hosting place. Everything can be done with your own html editor or what ever you are using. Just a little bit of explanation how I build the site pages, maybe that will help to understand a little bit more. First I guess is the "template" where you set up all your main areas like header, content and footer. Possibly a left or right navigation. In my case I do use the navigation horizontaly in the header. Next step is to decide what will never or rarely change and should show on every page in the site. Obviously this will be the header and the footer (and possibly the left or right column). These portions of the the template page will be cut and paste in a new file. Which will be the includes later. Once this parts of the code is out I will end up with just the the content page and code to use for all the other pages. I only have to include the header and footer files (code) in the apropriate places and all will show up just fine. Point is I just have to deal with my content and don't need to worry about the rest. Below is just an example what I am working with to change or create new pages. <body>
<!--#include virtual="/ssi/header2.html" -->
<div id="leftcolumn">
<img src="images/kittyl.jpg" alt="Wedding Dresses by KittyChen couture" width="130" height="350" border="0" title="Wedding Dresses by KittyChen couture"></div>
<div id="rightcolumn">
<img src="images/kittyr.jpg" alt="Wedding Dresses by KittyChen couture" width="200" height="350" border="0" title="Wedding Dresses by KittyChen couture"></div>
<div id="maincontent">
<h1>KittyChen Couture</h1>
<p> Kitty´s designs are realized in the highest quality fabrics such as sheer silks, luxurious satins, soft organzas, angel tulle, as well as intricate hand-beaded laces, hand-stitched embroidery. All of this is accented with diamantes and swarovski crystal features.</p>
<p> Kitty´s refined and unique styling is evident in the sculpted bodices, glamorous necklines, drop waistlines, floating skirt with classic bustles and ruffles accenting train to complete a fantasy look.</p>
<p>Visit the designer´s website: <a href="http://www.kittychencouture.com/" title="KittyChen Couture" target="_blank">KittyChen Couture</a></p>
</div>
<!--#include virtual="/ssi/footer2.html" -->
</body>
And my apologies.... while writing this I did realize that this wouldn't work to good with WYSIWYG, and design view. Meaning, that you better understand what the code is doing. Than again, you always could throw in the code in a simple html page and check how it looks like. Since the thread is also about CSS you better throw in your style sheet as well.... [:D] Again, you don't need a server, it helps, but you don't need to. The beauty with SSI is that you can maintaine a site sooooo much easier and quicker. And believe me, I learned it the hard way..... [image]local://upfiles/20595/30B5F8355B0344018C9B140AB8113D84.gif[/image]
|
|
|
|