SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict laburke's Avatar
    Join Date
    Jan 2005
    Location
    Michigan
    Posts
    219
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Colorizing HTML comments

    This is a dumb question, I'm sure, but how can I make my HTML comments red so they are easy to find? For instance, I'd want the caps in red:

    <!-- TEXT TO BE UPDATED BELOW ONLY -->
    This is the text that gets changed daily.
    <!-- TEXT TO BE UPDATED ABOVE ONLY -->

    Thanks for your help!

  2. #2
    SitePoint Enthusiast
    Join Date
    Nov 2006
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i assume you're using notepad, or a similar text editor. This isn't possible in notepad.

    you'll need an html editing program.

    notepad++
    editplus
    html kit

    are a few good one's i've used, and they're all free. They highlight not only comments, but keywords, tags, strings etc (and if you really want RED comments, you can change the settings to highlight comments in any way).

    hope this helps!

  3. #3
    SitePoint Addict laburke's Avatar
    Join Date
    Jan 2005
    Location
    Michigan
    Posts
    219
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Fluxman and thanks. I should have been more clear, I guess - I am using GoLive, but I can't seem to colorize the comments. The global colorize HTML command just makes it gray.

    It's probably super-easy and I'm just brain-dead.

  4. #4
    SitePoint Addict laburke's Avatar
    Join Date
    Jan 2005
    Location
    Michigan
    Posts
    219
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just discovered that once it's uploaded, it automatically makes the comments green. I preferred red, but green's good enough. Thanks anyway!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •