tvirus - 4:28 am on Dec 23, 2011 (gmt 0)
i think what you are aksing doesn't happens with CSS. the :before , :after can only help elements.
You can create a header.htm and footer.htm
and then you can use server-side include to do the job
<? include 'header.htm'; ?>
<!--#include file="header.html" -->
Remember, this won't work offline on your PC. run it on some server. Try WAMP server for windows