1 Reply Latest reply: Apr 2, 2009 11:06 AM by Newsgroup_User RSS

    adding a class to the body tag

    I Love Doing Websites Community Member
      Hello,

      I am learning css with dreamweaver cs3, there is an example in the book where some links are going to have an arrow if you are in certain page, for this you put a class in the body tag: <body class=" visiting">, my question is: how can you do that and if you can do that while you are working with templates.

      thanks in advance
        • 1. Re: adding a class to the body tag
          Newsgroup_User Community Member
          a class in the body tag: <body class=" visiting">, my question is: how can
          > you do that and if you can do that while you are working with templates.
          >
          > thanks in advance
          >

          open the template.

          select the <body> tag in the Quick Tag selector
          [list of tags at bottom left margin of design window]

          dw menu->modify->templates->make editable attribute
          set it up in the dialog box, see the help if needed

          you then change it in the child pages using dw menu->modify->Template
          Properties

          --
          Alan
          Adobe Community Expert, dreamweaver

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