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 Postserver 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 PostActually 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,179
¯\_(ツ)_/¯
Moderator
Featured Poster
jrock2004
0
Light Poster
prixat
0
Newbie Poster

diafol
pritaeas
commented:
Never come across it ...
+5

diafol
pritaeas
2,179
¯\_(ツ)_/¯
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.