Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Text embedding in CSS?
05-02-2009, 09:10 PM #1
- Join Date
- Apr 2009
- Thanked 0 Times in 0 Posts
Text embedding in CSS?
I have a question, it might sound a bit silly but here goes:
I have a few .html pages and they include a sort of NEWS sections, so all these pages have the NEWS sections. I want to be able to update this div layer which includes the text so that i do it only ONCE and it automatically updates for all the pages. I know it possible server side [which im not good at] or basic php which can be done. But my question is, is it possible to actually have it sort of embedded in the css style sheet? Meaning the text is inside the css and i just change it to update it for all the pages.
Is it possible? If not could you guys help me with an easier solution? Im using dreamweaver! Thanx for the help!
05-02-2009, 10:27 PM #2
- Join Date
- Nov 2007
- Earlville. It's where Earls come from.
- Thanked 1 Time in 1 Post
I don't think CSS is what you're looking for. CSS styles things (as you probably know).
I had a similar post aboput this very thing the other day, and I think your three main options are Dreamweaver Templates (although I would not recommend this - it is the easiest), or a Server Side Include, or a PHP include.
Check this thread: