Hello,
What I would like to do is to frame the body of every page of my web
site with a table like this:
<body bgcolor="#99ccff">
<table bgcolor="#ffffff" align="center" border="1" width="640"><tr><td>
This is my content...
</td></tr></table>
</body>
But I would like to put this once and for all in a single place instead
of editing each of my pages. I thought I could put it in my external CSS
stylesheet with something like:
body:before { content: "<table bgcolor=\"#ffffff\" align=\"center\"
border=\"1\" width=\"640\"><tr><td>"; }
body:after { content: "</td></tr></table>"; }
But the tags are just printed as text on my pages. As stated by the CCS2
Specification: "Generated content does not alter the document tree. In
particular, it is not fed back to the document language processor (e.g.,
for reparsing)."
My question is: is there a way to a way do what I want with CSS?
Thanks for your help,
Winston