Hi
I would like to add text to the CSS footer - is this possible. There is already a footer
At the moment each page has a footer already- ideally what I would like to do is add the footer text to the CSS so it will automatically update each html web page. So when I need to change the footer I do it from the CSS -
The current CSS sheet is as follows:
#footer {
width:780px;
margin:0px auto;
clear:both
}
And the html web page is as follows:
<!-- Footer -->
<div id="footer">
<p>© Test Footer 2007</p>
</div>
So I would like to add the above footer to the CSS and remove the footer from the html page -
Like u can use this code to add 'I am green' before every paragraph in green class
.green p:before {
content: 'I am green';
}
Refer:
http://www.w3.org/TR/CSS21/generate.html
http://htmldog.com/reference/cssproperties/content/
http://www.w3schools.com/Css/pr_gen_content.asp