4 Replies Latest reply on Jul 29, 2008 8:24 PM by Newsgroup_User

    changing name of attached css file

    mentlity Level 1
      I'm going off a template for a design. As I changed the name of the design page from the template name i realized the css sheet attached has the old template name. How can I change the name of a css sheet linked to an html file? i tried to change but the html page doesn't see the css info.

      rrr
        • 1. Re: changing name of attached css file
          Level 7
          Is this a dreamweaver Template? A .dwt file?

          Or is it a purchased pre-designed site page?

          In either case, if you rename the file in the dreamweaver Files Panel dw
          will prompt if you want to change links. click Yes.

          In cs3, I think it is right-click on the file in the Files Panel,
          Edit->Rename

          If it's a dw .dwt Template, want to make sure you are using the right
          workflow.You don't open the template and do a File->Save As

          a proper child page of a template:
          File->New->Click Templates Tab
          pick this site from list on left, then this template from list on right.
          Make sure "update" in lower right is checked then click okay
          Now save the file to within the local site folder and add content to the
          editable areas.

          --
          Alan
          Adobe Community Expert, dreamweaver

          http://www.adobe.com/communities/experts/



          • 2. Re: changing name of attached css file
            Level 7
            >I changed the name of the design page
            > from the template name

            It sounds like you're using templates incorrectly. You don't change the page
            name. Are you opening the template, editing it and then doing a Save as and
            saving as an HTML page? If so, you should stop right now and start over.

            Correct approach: Create your template. Save it (as a template of course).
            Create a New page FROM A TEMPLATE, selecting the template you made.

            You will be best served to open up DW's Help and read all about Templates
            before you get too deep.

            --

            Walt


            "mentlity" <webforumsuser@macromedia.com> wrote in message
            news:g6ojod$e63$1@forums.macromedia.com...
            > I'm going off a template for a design. As I changed the name of the design
            > page
            > from the template name i realized the css sheet attached has the old
            > template
            > name. How can I change the name of a css sheet linked to an html file? i
            > tried
            > to change but the html page doesn't see the css info.
            >
            > rrr
            >


            • 3. Re: changing name of attached css file
              mentlity Level 1
              just to be sure
              name of template was index.html

              css sheet attached is andreas08.css

              I made file updtaes and changed index.html to abc.html
              stylesheet attached is still andreas08.css how do I change that style sheet name and attach to abc.html?
              • 4. Re: changing name of attached css file
                Level 7


                > css sheet attached is andreas08.css

                rename THAT file. The stylesheet.

                --
                Alan
                Adobe Community Expert, dreamweaver

                http://www.adobe.com/communities/experts/