Replace HTML by CSS

User 427108 Photo


Registered User
292 posts

Hi
On my sites i have one footer common in all pages. Instead of repeating the code can I replace by a CSS??

Example:

<!-- FOOTER -->
<div class="footer">
<div class="rodape_preto">
Contacte com <a onmouseover=
"window.status =&#39;&#39;; return true;" onmouseout=
"window.status=&#39; &#39;; return true;" href=
"mailto:mid@netcabo.pt">Dulce Gouveia (MID)</a>
<br />Copyright © 2007&nbsp;
<script>
//<![CDATA[
var d=new Date();
yr=d.getFullYear();
if (yr!=2007)
document.write("- "+yr);
//]]>
</script> Artedemid. Todos os direitos reservados.
<br>
Designed by: <a href="mailto:duartesilvad@netcabo.pt">Jimmy</a>
<br>
</div></div>
<!-- fim footer -->


Can I put this code in CCS file and call??? if yes, how to do?
Regards
Jimmy The Sailor
http://www.jimmythesailor.net (trying to show my photos)
http://www.art-i-batik.com (my wife's gallery)
User 562592 Photo


Registered User
2,038 posts

Actually no. But what you can do is what's called a Server Side Include (SSI). I have a tutorial on my website on how to do this.

http://www.innovatewebdevelopment.com/support.html

Eric
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com

User 427108 Photo


Registered User
292 posts

Thanks Eric
I will go to see...
Jimmy The Sailor
http://www.jimmythesailor.net (trying to show my photos)
http://www.art-i-batik.com (my wife's gallery)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.