Header and footer? |
Header and footer? |
Nov 20 2008, 11:56 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 164 Joined: May 2008 Member No: 647,219 |
So I just got my new domain, And I don't wanna constantly edit 40+ Lol. So I was wondering, is there any code and way to add it.
Please be detailed, I've spent HOURS Trying it once, and f*cked up. |
|
|
|
![]() |
Mar 21 2009, 01:45 PM
Post
#2
|
|
|
Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 |
You need to use a php include code and change all of your pages to have a .php ending.
<?php include ("/pagenamehere.css"); ?> That would be the basic code and the other one is for if you have pages in different directories (folders) and don't want to have to copy the .css page over and over again and add it to every directory then edit all of thos also. <?php include($_SERVER['DOCUMENT_ROOT'] . '/pagenamehere.css'); ?> The only thing that you would change in both of those would be the pagenamehere.css to your CSS or HTML page. |
|
|
|
Gippersnap Header and footer? Nov 20 2008, 11:56 PM
theerinkal QUOTE(Gippersnap @ Nov 20 2008, 10:56 PM)... Nov 21 2008, 07:31 AM
Gippersnap I use smart ftp client.
Like...My friend tried an... Nov 21 2008, 12:27 PM
alek you could use an iframe Mar 21 2009, 03:34 PM
Fawaz You can use php to solve your problem.
You can cr... Mar 21 2009, 03:45 PM![]() ![]() |