One of the most common questions I get about CSS is how people can use CSS to include a specific block of text on every page on their site. Well, now it is possible, at least in a way. CSS 2 allows you to include content in your CSS file that will be displayed in the document as you specify. It can be used for things like numbering lists or more usefully, adding the copyright date without having to edit every page on the site. (For the copyright date, just have a DIV with the id "copyright" and include the copyright date in a :after or :before property.)
Add CSS2 Generated Content to del.icio.us
Comments
No comments yet. Leave a Comment

