Hi all, I was just wondering if it is possible to add text to all of your webpages using an external css. For example, if I want to add a copyright notice (ie...copyright 2006) at the bottom of every page, what can I do? I have a website built entirely of html pages, but I would like the ability to edit a single page instead of all of them. Regards, Steve
This has been discussed again and again, a recent thread being http://forums.digitalpoint.com/showthread.php?t=104904&highlight=ssi cheers, gary
Hi, As the above poster said SSI is what you're looking for, it's very handy ! To the best of my knowledge CSS does not have the ability to insert text into your page, it can only style the existing text.
You can do it with psuedo elements, but they aren't supported in IE and it's not the best way to do it anyways. #footer:after{ content: "copyright 2006"; } inserts the content after the footer.
It's amazing the number of things we could do if not for IE. And, because of IE, we end up forgetting we have these properties available to us For some examples, see the demo link in the sig. While there, look at the form demo. Neither page is dumbed down to acommodate IE's stupidity. View in your normal, modern browser. Then view in IE. cheers, gary
Your page is broken in internet explorer, fix it! - ha ha. Can't wait for the day that we can forget about IE/5&6 - that's probably around 5 years off though. Like the form
Yeah, but sometimes you are faced with a web app that creates the html and all you have access to is the styling, so you have to get creative with adding more content to the output.
The document structure belongs under the purview of the front-end guy, so he should be able to add, or shuffle, or subtract anything he needs. If, however, for some strange misalignment of authority and responsibility, the mid-tier or back-tier guy is outputting the html, the only thing to do is to submit a bug requesting the required changes. It is unfortunate that so many project managers get this so wrong. :shrug: cheers, gary
Ah, yes. That host went belly up, taking my site with it. I remodeled, and you can now find the demo at Form Layout Using CSS. The javascript validation was left off the new incarnation. cheers, gary
You could try using IE8.js to fix content, which might do the trick. If not, then there's nothing you can do besides background-image's with text