I have text that is repeated on multiple pages. Is it possible have the text in the external css page so I only have to change it one time?
mariko 0 Light Poster
Recommended Answers
Jump to Post— prixat 0server side includes are designed for just this situation.
You have a choice of methods but most reliable these days is using PHP.
So if you have a little bit of text (or even lines of code) in a text file.
e.g. incsometext.txt (you can call this anything …
Jump to Post— Member #120589Actually you can have content via css. It's called the content property and it's used with after: and before: pseudo-elements. However, IE (it's always IE, isn't it?) only supports it from version 8.
e.g.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
All 8 Replies
pritaeas 2,276 Most Valuable Poster Moderator Featured Poster
jrock2004 0 Light Poster
prixat 0 Newbie Poster
Member #120589
pritaeas commented: Never come across it ... +5
Member #120589
pritaeas 2,276 Most Valuable Poster Moderator Featured Poster
almostbob 866 Retired: passive income ROCKS
pritaeas commented: Point taken +5
mariko 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.