Jump to content

CSS: Text in Footer of Every Page


OtagoHarbour

Recommended Posts

I know how to set up a class to define the format of a footer. I use something like.

.bottomBar {	a:hover {color:#FFFF00;}  /* mouse over link */	background-color:#300;	bottom:0;	color:#FFFFCC;	font-family:verdana,sans-serif;	font-size:65;	height:1.5em;	position:0;	text-align:left;	width:100%;	bottom:0px;}

However I would also like to have TOS, Copyright, Privacy Policy, etc and links to the same at the bottom of every page. How would I do this without having to add them manually on every page?Thanks very much,Peter.

Link to comment
Share on other sites

CSS can't add content to the page, it can only style the content that already exists.You will have to learn about PHP to include content into a page.

Link to comment
Share on other sites

It's possible to change the settings so .html docs will be processed as PHP, but that also means HTML documents with no PHP will be processed as PHP, creating a small lag time. It's not a lot of time, and not really a big deal.Something to think about.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...