Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2009
    Thanked 0 Times in 0 Posts

    Question Text embedding in CSS?

    HI all!

    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!

  • #2
    Regular Coder ajhauser's Avatar
    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:


    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts