SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy this might be a easy one..

    <--! blablabla !-->
    this is the way you put a comment in a html code, right?
    but how do i put a comment into a css??
    i've tried to use the same as in html, but it doesnt work.. maybe i didnt do it right..??
    -im newbie-

  2. #2
    SitePoint Guru sowen's Avatar
    Join Date
    Feb 2001
    Location
    Stockport, UK
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Comments in css are;

    /* blahblahblah */

    they can also be multi line;

    /*blah blah blah
    waffle waffle waffle
    blah blah */

    so you must make sure you close your comments or everything after /* will be commented out.

    Si

  3. #3
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by sowen
    Comments in css are;

    /* blahblahblah */

    they can also be multi line;

    /*blah blah blah
    waffle waffle waffle
    blah blah */

    so you must make sure you close your comments or everything after /* will be commented out.

    Si
    ok! thnx.. i need that cuz my css file is getting pretty stuffed.. hard to navigate through a file that big.. comments will help


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
  •