2 Replies Latest reply on Sep 19, 2008 2:06 PM by Newsgroup_User

    How do you change the ID in a sample page?

    DennyA
      I selected a two column hybrid sample page. When I look at the CSS properties, the classes are difficult to read: .twoColHYbLtHdr #header. That's way too much noise for me. Is there any way for me to change .twoColHYbLtHdr #header to just # header? I've tried search and replace, but it didn't work.

      Thanks,

      Denny
        • 1. Re: How do you change the ID in a sample page?
          Level 7
          .oO(DennyA)

          >I selected a two column hybrid sample page. When I look at the CSS properties,
          >the classes are difficult to read: .twoColHYbLtHdr #header. That's way too
          >much noise for me.

          Sometimes this "noise" is necessary, because

          .twoColHYbLtHdr #header

          and

          #header

          are totally different selectors and may lead to different results,
          dependent on the page markup and the rest of the CSS.

          >Is there any way for me to change .twoColHYbLtHdr #header to
          >just # header? I've tried search and replace, but it didn't work.

          What didn't work? Just edit the CSS.

          Micha
          • 2. Re: How do you change the ID in a sample page?
            Level 7
            A find and replace in the CSS file will work fine.

            --
            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
            ==================


            "Michael Fesser" <netizen@gmx.de> wrote in message
            news:v548d4ldbpc1ffs19352rrthjkjjamdv1u@4ax.com...
            > .oO(DennyA)
            >
            >>I selected a two column hybrid sample page. When I look at the CSS
            >>properties,
            >>the classes are difficult to read: .twoColHYbLtHdr #header. That's way
            >>too
            >>much noise for me.
            >
            > Sometimes this "noise" is necessary, because
            >
            > .twoColHYbLtHdr #header
            >
            > and
            >
            > #header
            >
            > are totally different selectors and may lead to different results,
            > dependent on the page markup and the rest of the CSS.
            >
            >>Is there any way for me to change .twoColHYbLtHdr #header to
            >>just # header? I've tried search and replace, but it didn't work.
            >
            > What didn't work? Just edit the CSS.
            >
            > Micha