Yellow Highlight Behind Words In Dreamweaver?

3 replies
  • WEB DESIGN
  • |
This one has me stumped. I did a search here at this part of the forum, but the only thing I found was about KompoZer. It didn't say how.

Help!

Thanks

:-Don
#dreamweaver #highlight #words #yellow
  • Profile picture of the author wcardinal
    Are you asking HOW to do it? You do something like this...

    HTML Code:
    <p>This is just some words but <span style="background:yellow">this is highlighted in yellow</span></p>
    or if you want to put it in a stylesheet, put this in your page

    HTML Code:
    <p>This is just some words but <span class="highlight">this is highlighted in yellow</span></p>
    and in your stylesheet put

    HTML Code:
    .highlight { background: yellow }
    hope that helps,
    Warren
    {{ DiscussionBoard.errors[4213254].message }}
    • Profile picture of the author Abhishek Kundu
      Originally Posted by wcardinal View Post

      Are you asking HOW to do it? You do something like this...

      HTML Code:
      <p>This is just some words but <span style="background:yellow">this is highlighted in yellow</span></p>
      or if you want to put it in a stylesheet, put this in your page

      HTML Code:
      <p>This is just some words but <span class="highlight">this is highlighted in yellow</span></p>
      and in your stylesheet put

      HTML Code:
      .highlight { background: yellow }
      hope that helps,
      Warren
      hi Don Schenk,

      i personally like to use style-sheet. this helps you to reuse your code on your future projects.
      Signature
      CLICK HERE>>> FOLLOW ME ON TWITTER <<
      {{ DiscussionBoard.errors[4247640].message }}
  • {{ DiscussionBoard.errors[4213795].message }}

Trending Topics