View Full Version : external content?
theangrypoet
10-04-2005, 05:03 AM
what i would like to do is set up some kind of a universal header and footer for my site so that when the links change i only have to change it on the one page and it will show up on all the pages on the site. i have links to different parts of my site on the header and the footer but as my site is growing it is getting to be a real pain changing the links on every page. i'm self taught in html and css and i have to admit a bit of a hack but as long as i can see a sample of what i need to do i can integrate it.
thank you,
brent
www.theangrypoet.com :cool:
Hello theangrypoet!
Are you attempting to make a class that the header and footer will have the same font and states?
BTW, Welcome to coding forums!
_Aerospace_Eng_
10-04-2005, 05:08 AM
I recommend php includes (http://www.joe2torials.com/php/php_includes.php) only because php can run on nearly any type of server.
p.header, .footer {
font-family: tahoma, verdana, arial;
font-size: 10px;
font-weight: underline;
}
If they are links, then:
a.header, a. header:link, a.header:visited, a.header:active, a.footer, a. footer:link, a.footer:visited, a.footer:active {
font-family: tahoma, verdana, arial;
font-size: 10px;
font-weight: underline;
}
a.header:hover, a.footer:hover {
color: #fff;
}
theangrypoet,
Aerospace is deffinitely correct with the php if you have a large selection of pages.
theangrypoet
10-04-2005, 05:52 AM
you guys are great, thanks a bunch. i need to see if my server suports php and then i'm not sure how my pages will act with the php extension but at least it's something.
brent
www.theangrypoet.com
_Aerospace_Eng_
10-04-2005, 06:09 AM
In the end php is just html once it gets to the user. Sure there will be some server side scripts that run before the page gets to the user but you will just be using includes nothing major.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.