Guest Nico Posted November 7, 2005 Share Posted November 7, 2005 Hello, can anyone tell me if it is possible to maintain a constant text across a series of pages. What I would like to do is have a header containing the following:"Immo-charentais.com" on every page with the possibility of making altaerations to the text content across all the pges simultaneously.Therefore this text would be contained in my stylesheet, but I don't know how to do it, what commands di I need to use please?Thanks Nico Link to comment Share on other sites More sharing options...
Champion_Munch Posted November 7, 2005 Share Posted November 7, 2005 CSS is used for displaying text, not constructing it. If I understand what you're saying, you'll probably have to do something similar to what I did (PHP includes - saves me ALOT of time).with regards Link to comment Share on other sites More sharing options...
Nago Posted November 7, 2005 Share Posted November 7, 2005 You have a few options. They don't really involve CSS, but CSS is useful in dynamic changes like this. My preferred option (simple) involves an Apache server.google for "apache ssi" and look at the first link, it's an apache "how to" for setting up SSI directives (Server-Side Includes)I think this will do what you're looking for, if you have access to the server you are using, and are using apache.Otherwise, look at php and cgi. Link to comment Share on other sites More sharing options...
F-Man Posted November 7, 2005 Share Posted November 7, 2005 It's possible with CSS3 selector { content: "String";} But don't expect good browser support. The only browser I know that supports this is Opera. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now