Announcement

Collapse
No announcement yet.

Additional css seperation

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Additional css seperation

    Curious is anyone else is seperating the addition css with a blank line or //// in an effort to keep the code seperated from each other, more for organization than anything?

    #2
    I usually add start and end markings to organize different sets of customizations. But sometimes I'm lazy and I don't add them.

    Code:
    /* Blah blah - START */
    
    ...css code here
    
    /* Blah blah - END */
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    Comment


      #3
      I have found that it is a bad idea to seperate additional css scripts with a seperate line of /////////////////////////////////.

      that practice creates syntax error in the css.

      Comment


        #4
        Originally posted by NumNum View Post
        I have found that it is a bad idea to seperate additional css scripts with a seperate line of /////////////////////////////////.

        that practice creates syntax error in the css.
        You can use /* */. Those are the tags for comments in CSS. So if you want to have dividers, use:

        Code:
        /************************************************/
        or to add some notes that describe what the CSS is for:

        Code:
        /***************** CSS for blah blah blah *******************/
        Helpful? Donate. Thanks!
        Buy me a coffeePayPal QR Code
        Fast VPS Host for vBulletin:
        A2 Hosting & IONOS

        Comment


          #5

          /***************** css divider *******************/

          Comment

          Users Viewing This Page

          Collapse

          There is 1 user viewing this forum topic.

          • Guest Guest

          Latest Posts

          Collapse

          Working...
          X
          Searching...Please wait.
          An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

          Please push the back button and reload the previous window.'
          An unexpected error was returned: 'Your submission could not be processed because the token has expired.

          Please push the back button and reload the previous window.'
          An internal error has occurred and the module cannot be displayed.
          There are no results that meet this criteria.
          Search Result for "|||"