9 Replies Latest reply on Oct 28, 2008 2:39 PM by Newsgroup_User

    CSS Rename

    cripaustin Level 1
      Hi. how can i rename my CSS styles so that my html templates update to accommodate the name change? At the moment, when i change the name of the style, anything that was "assigned" to that style goes back to default.
      Thanks
        • 1. Re: CSS Rename
          leparet kaZper
          .. I understand you didn't rename the references to the css-style?
          All references should be renamed as well and as far as I know a automated procedure is not available...
          • 2. Re: CSS Rename
            Level 7
            As a matter of fact there is a tool.

            In the property inspector, under style (list box) find rename, then choose
            the style you want to rename in the first text box, rename it in the second
            text box and follow the instruction. DW use the find and replace function
            to do the renaming

            hope this helps

            aka Frenchy AS{
            "leparet" <webforumsuser@macromedia.com> wrote in message
            news:ge47pe$432$1@forums.macromedia.com...
            > .. I understand you didn't rename the references to the css-style?
            > All references should be renamed as well and as far as I know a automated
            > procedure is not available...


            • 3. Re: CSS Rename
              cripaustin Level 1
              ok thanks guys.
              • 4. Re: CSS Rename
                Level 7
                Right, I just rename the style (directly in the style sheet, or wherever)
                and then do a find-and-replace to change the references in the HTML.


                --
                Patty Ayers | www.WebDevBiz.com
                Free Articles on the Business of Web Development
                Web Design Contract, Estimate Request Form, Estimate Worksheet
                --

                "Alain St-Pierre" <alainetcolleen@hotmail.com> wrote in message
                news:ge4g7m$et9$1@forums.macromedia.com...
                > As a matter of fact there is a tool.
                >
                > In the property inspector, under style (list box) find rename, then choose
                > the style you want to rename in the first text box, rename it in the
                > second text box and follow the instruction. DW use the find and replace
                > function to do the renaming
                >
                > hope this helps
                >
                > aka Frenchy AS{
                > "leparet" <webforumsuser@macromedia.com> wrote in message
                > news:ge47pe$432$1@forums.macromedia.com...
                >> .. I understand you didn't rename the references to the css-style?
                >> All references should be renamed as well and as far as I know a automated
                >> procedure is not available...
                >
                >

                • 5. Re: CSS Rename
                  Level 7
                  But if you used the context menu in the CSS panel it would all be set up for
                  you automatically.

                  --
                  Murray --- ICQ 71997575
                  Adobe Community Expert
                  (If you *MUST* email me, don't LAUGH when you do so!)
                  ==================
                  http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                  http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                  ==================


                  "P@tty Ayers ~ACE" <signup1REMOVE@ayersvirtualREMOVE.com> wrote in message
                  news:ge51o3$95p$1@forums.macromedia.com...
                  > Right, I just rename the style (directly in the style sheet, or wherever)
                  > and then do a find-and-replace to change the references in the HTML.
                  >
                  >
                  > --
                  > Patty Ayers | www.WebDevBiz.com
                  > Free Articles on the Business of Web Development
                  > Web Design Contract, Estimate Request Form, Estimate Worksheet
                  > --
                  >
                  > "Alain St-Pierre" <alainetcolleen@hotmail.com> wrote in message
                  > news:ge4g7m$et9$1@forums.macromedia.com...
                  >> As a matter of fact there is a tool.
                  >>
                  >> In the property inspector, under style (list box) find rename, then
                  >> choose the style you want to rename in the first text box, rename it in
                  >> the second text box and follow the instruction. DW use the find and
                  >> replace function to do the renaming
                  >>
                  >> hope this helps
                  >>
                  >> aka Frenchy AS{
                  >> "leparet" <webforumsuser@macromedia.com> wrote in message
                  >> news:ge47pe$432$1@forums.macromedia.com...
                  >>> .. I understand you didn't rename the references to the css-style?
                  >>> All references should be renamed as well and as far as I know a
                  >>> automated procedure is not available...
                  >>
                  >>
                  >

                  • 6. Re: CSS Rename
                    leparet kaZper Level 1
                    .. and so I've learned another "trick", that surely works for cripaustin. But I'm afraid that it won't work in a scripting environment (my line of work) where class references may be part of a characterstring. I assume P@tty Ayers ~ACE 's answer must be applied also when using scripts e.g. asp.vbscript?


                    quote:

                    Originally posted by: Newsgroup User
                    As a matter of fact there is a tool.

                    In the property inspector, under style (list box) find rename, then choose
                    the style you want to rename in the first text box, rename it in the second
                    text box and follow the instruction. DW use the find and replace function
                    to do the renaming

                    hope this helps

                    aka Frenchy AS{
                    "leparet" <webforumsuser@macromedia.com> wrote in message
                    news:ge47pe$432$1@forums.macromedia.com...
                    > .. I understand you didn't rename the references to the css-style?
                    > All references should be renamed as well and as far as I know a automated
                    > procedure is not available...





                    • 7. Re: CSS Rename
                      Level 7
                      A sitewide Find and replace will find all instances of the selector and
                      replace them, even in scripting.

                      --
                      Murray --- ICQ 71997575
                      Adobe Community Expert
                      (If you *MUST* email me, don't LAUGH when you do so!)
                      ==================
                      http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                      http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                      ==================


                      "leparet" <webforumsuser@macromedia.com> wrote in message
                      news:ge56f0$fem$1@forums.macromedia.com...
                      > .. and so I've learned another "trick", that surely works for cripaustin.
                      > But
                      > I'm afraid that it won't work in a scripting environment (my line of work)
                      > where class references may be part of a characterstring. I assume P@tty
                      > Ayers
                      > ~ACE 's answer must be applied also when using scripts e.g. asp.vbscript?
                      >
                      >
                      >
                      quote:

                      Originally posted by: Newsgroup User
                      > As a matter of fact there is a tool.
                      >
                      > In the property inspector, under style (list box) find rename, then choose
                      > the style you want to rename in the first text box, rename it in the
                      > second
                      > text box and follow the instruction. DW use the find and replace function
                      > to do the renaming
                      >
                      > hope this helps
                      >
                      > aka Frenchy AS{
                      > "leparet" <webforumsuser@macromedia.com> wrote in message
                      > news:ge47pe$432$1@forums.macromedia.com...
                      > > .. I understand you didn't rename the references to the css-style?
                      > > All references should be renamed as well and as far as I know a
                      > > automated
                      > > procedure is not available...
                      >
                      >
                      >

                      >
                      >
                      >

                      • 8. Re: CSS Rename
                        leparet kaZper Level 1
                        thanks, I assumed that it would be like that
                        • 9. Re: CSS Rename
                          Level 7
                          Yah? I've never used that.. not even sure what it is. :-) But, sounds
                          good.

                          --
                          Patty Ayers | www.WebDevBiz.com
                          Free Articles on the Business of Web Development
                          Web Design Contract, Estimate Request Form, Estimate Worksheet
                          --

                          "Murray *ACE*" <forums@HAHAgreat-web-sights.com> wrote in message
                          news:ge52jh$ae6$1@forums.macromedia.com...
                          > But if you used the context menu in the CSS panel it would all be set up
                          > for you automatically.
                          >
                          > --
                          > Murray --- ICQ 71997575
                          > Adobe Community Expert
                          > (If you *MUST* email me, don't LAUGH when you do so!)
                          > ==================
                          > http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                          > http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                          > ==================
                          >
                          >
                          > "P@tty Ayers ~ACE" <signup1REMOVE@ayersvirtualREMOVE.com> wrote in message
                          > news:ge51o3$95p$1@forums.macromedia.com...
                          >> Right, I just rename the style (directly in the style sheet, or wherever)
                          >> and then do a find-and-replace to change the references in the HTML.
                          >>
                          >>
                          >> --
                          >> Patty Ayers | www.WebDevBiz.com
                          >> Free Articles on the Business of Web Development
                          >> Web Design Contract, Estimate Request Form, Estimate Worksheet
                          >> --
                          >>
                          >> "Alain St-Pierre" <alainetcolleen@hotmail.com> wrote in message
                          >> news:ge4g7m$et9$1@forums.macromedia.com...
                          >>> As a matter of fact there is a tool.
                          >>>
                          >>> In the property inspector, under style (list box) find rename, then
                          >>> choose the style you want to rename in the first text box, rename it in
                          >>> the second text box and follow the instruction. DW use the find and
                          >>> replace function to do the renaming
                          >>>
                          >>> hope this helps
                          >>>
                          >>> aka Frenchy AS{
                          >>> "leparet" <webforumsuser@macromedia.com> wrote in message
                          >>> news:ge47pe$432$1@forums.macromedia.com...
                          >>>> .. I understand you didn't rename the references to the css-style?
                          >>>> All references should be renamed as well and as far as I know a
                          >>>> automated procedure is not available...
                          >>>
                          >>>
                          >>
                          >