SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    Pragmatic Programmer halfasleeps's Avatar
    Join Date
    Feb 2006
    Location
    Altoona, PA. USA
    Posts
    1,945
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    comment out css?

    is there a way to comment out CSS?

    ive tried //, /*, #, <!--

    nothing seems to comment out anything...is there not a way to comment out a section?
    Altoona Design
    Freelance Flex developer for hire.
    ActionScript Programmer with 8 Years Experience.

  2. #2
    [Biped] LJK's Avatar
    Join Date
    Jun 2004
    Location
    In My Jammies
    Posts
    761
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    /* Yes, there is */
    F-Fox 2.0 :: WIN :: el design :: US

  3. #3
    Pragmatic Programmer halfasleeps's Avatar
    Join Date
    Feb 2006
    Location
    Altoona, PA. USA
    Posts
    1,945
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey thanks, i thought i tried that but i guess not...it works tho thanks
    Altoona Design
    Freelance Flex developer for hire.
    ActionScript Programmer with 8 Years Experience.

  4. #4
    .* draziW tnioPetiS *. bronze trophy
    Join Date
    Jun 2004
    Location
    "Then I figure the most good good guy will win."
    Posts
    1,666
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can also use an "x".

    For example:

    #someDivId {
    color: #333;
    xborder: 1px solid red;
    margin: 0 10px;
    padding: 5px 0;
    }

    Will not validate, but is a good way to turn things on-and-off for testing.

  5. #5
    Pragmatic Programmer halfasleeps's Avatar
    Join Date
    Feb 2006
    Location
    Altoona, PA. USA
    Posts
    1,945
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mhulse
    You can also use an "x".

    For example:

    #someDivId {
    color: #333;
    xborder: 1px solid red;
    margin: 0 10px;
    padding: 5px 0;
    }

    Will not validate, but is a good way to turn things on-and-off for testing.
    thanks
    Altoona Design
    Freelance Flex developer for hire.
    ActionScript Programmer with 8 Years Experience.

  6. #6
    SitePoint Zealot
    Join Date
    Jan 2006
    Location
    Essex, UK
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mhulse
    You can also use an "x".

    For example:

    #someDivId {
    color: #333;
    xborder: 1px solid red;
    margin: 0 10px;
    padding: 5px 0;
    }

    Will not validate, but is a good way to turn things on-and-off for testing.
    You can stick anything there, it's just about ruining the attribute.

  7. #7
    .* draziW tnioPetiS *. bronze trophy
    Join Date
    Jun 2004
    Location
    "Then I figure the most good good guy will win."
    Posts
    1,666
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by VI5
    You can stick anything there, it's just about ruining the attribute.
    I like x. :P


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
  •