html frames

liunx

Guest
hi all,<br />
can anyone of u help me,<br />
i have a doubt, in html-without using the frames how can we display the links on all the pages? thank you.<!--content-->Frames seem to be the easiest way, but I suppose you could use tables etc. and just cut and paste the code onto all the pages. Frames seem to me like the least tedious.<!--content--><body style="margin-left: 200px;"><br />
<!-- Whatever your original page was --><br />
<br />
<div style="position: absolute; top: 0; left: 0; width:200px;"><br />
<!-- Your links Here --><br />
</div><br />
</body><br />
Add the above on all pages.<br />
<br />
If your webprovider has Perl, you can use SSI (serverside includes). Alternatives: use PHP/ASP etc.<br />
Using SSI:<br />
<body style="margin-left: 200px;"><br />
<!-- Whatever your original page was --><br />
<br />
<div style="position: absolute; top: 0; left: 0; width:200px;"><br />
<!--#include virtual="path/navigation.html" --><br />
</div><br />
</body><br />
<!--#include virtual="path/navigation.html" --> should be exactly like this, with the full path of the file. navigation.html should NOT containt any head, html, body start or end tags (only the links)<!--content-->
 
Back
Top