Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to remove CSS code which are not in use?

    In a HTML page, I added a lot of CSS.
    How to remove CSS code which are not in use?
    For now, I have to search one by one.

  2. #2
    Master Coder sunfighter's Avatar
    Join Date
    Jan 2011
    Location
    Washington
    Posts
    7,910
    Thanks
    36
    Thanked 1,057 Times in 1,053 Posts
    I have to search one by one.
    Yeah, that's probably what you have to do. I'm guessing, because
    In a HTML page, I added a lot of CSS.
    If you have a style section in the head - OK. But not good if you used inline styling. Don't you have a find option in your editor? Just seems to me that you just typed changes instead of modifying the selector that needed change.

    Anyway The find function in editor is the only way to speed this up.
    Evolution - The non-random survival of random variants.
    Physics is actually atoms trying to understand themselves.


 

Tags for this Thread

Posting Permissions

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