3 Replies Latest reply on Mar 17, 2010 2:37 AM by hans-g.

    Font Colors using CS4


      I was wondering if someone could explain to me what it is I am doing wrong.  I am simply trying to change the color of some text.  I highlight the text I want to change the color of, I then select format then colors and a colors window pops up.  I then select the color I would like to change it to and hit select at which point a New CSS Rule window appears.  At which point no matter what I select it changes all the text not just the highlighted words.  I simply want to change the text without creating new CSS rules, I must be doing something wrong or have a setting set incorrectly because I don't ever remember seeing this before.  If anyone could help me with this it would be greatly appreciated. Thanks!

        • 1. Re: Font Colors using CS4
          fermium5 Level 1

          Have you saved the files you are working on? Not saving files means the browser has no references to load files from.



          Discount Fragrances

          • 2. Re: Font Colors using CS4
            Robert Heist II Level 3

            Well first off, you have to make a style in order the change the color of some text.  That is what CSS is for.  With that in mind the correct process of changing the color of some text would be to create a style that defines the color you want, select the text and then apply the style to it. 


            There are many ways to create a style, but you can go to the Format menu --> CSS Styles -->  New...

            In the CSS window, choose the type of style.  Either redefine every instance of a particular tag (not what you are trying I would guess), a class (if you want to reuse the style more than once), or an id (if it will only be used once).  Then give it a unique name and choose where they style should go, in this document only or in an external style sheet to be shared between multiple pages.


            Once created, then go back and select the text and in the properties inspector choose to either apply your class or id.  If you redefined a particular tag, make sure that tag is around the text you choose (for instance, an h2 tag maybe).

            • 3. Re: Font Colors using CS4
              hans-g. Adobe Community Professional & MVP



              of course there is always the way of direct formatting, as follows here as an example:


              <span class="Stil5" style="color#996600">