FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Frames





gcity
I need to ask if it would look better if i used a top frame to display a logo on my website; my freind says i should just use SSI to create a template for my website but i dont know how to write it!!
Stubru Freak
Where are you hosted? PHP is more common then SSI
gcity
Im currently at 1asphost.com because its free.
gcity
But i dont no how to write php do you know a good php editor??
Stubru Freak
SSI works like this:

<!--#include file="included.html" -->

This will include the file included.html (all text and html code in it)
The path is relative to the current file.

<!--#include virtual="/directory/included.html" -->

This does the same, but the path is relative to the server root.
gcity
ok kwl does that mean i have to make a template page first??
Stubru Freak
You have to make (at least) a top template, and a footer template, both seperatly included. Between the includes you place your normal code. In the two template files you just place the code you wish to appear there.
gcity
kk kwl thanx
Arcath
Stubru Freak wrote:
SSI works like this:

<!--#include file="included.html" -->

This will include the file included.html (all text and html code in it)
The path is relative to the current file.

<!--#include virtual="/directory/included.html" -->

This does the same, but the path is relative to the server root.


Kewl i didnt know that, although most my sites are PHP neway
gcity
how did u learn to write php??
Related topics
Frames Help
..how to make a frames layout?...
Do you like browsing a site that uses HTML frames?
Shouldn´t I use frames?
Frames, Tables, iFrames
Can you use frames on frihost?
Does Joomla use frames?
Can frames be a good choice? What then?
Frames for any resolution
Help!!!
A little query on frames...
Frame Effect Without Frames! (PHP)
ADs vs. Frames
Pourquoi les frames sous HTML sont-ils déconseillés ?
Thumbnails Linked to jpgs in the Same window. JS or Html?
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Design Tips

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.