Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Redundant css How to Find? Any tool?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-02-2010, 03:20 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Redundant css How to Find? Any tool?

Any developers or anyone know of a tool to clean up redundant css code, that is I would like to remove css code that is not in use, find and edit type of tool...
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #2  
Old 03-02-2010, 03:28 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Redundant css How to Find? Any tool?

Ok after I made this post I cam across this:

Cons

There are a few drawbacks with the addon. Currently it will only scan pages you visit. It does not have the ability to scan your entire site. Sites with 100's of pages may be difficult to scan with this tool. I also found the line numbering to be a bit flaky (as seen in my screenshot above).
Pros

Some great pros of this addon include cleaning up your stylesheets and reducing filesize. You can also save a little bandwidth by making them smaller in size.


http://www.nealgrosskopf.com/tech/thread.php?pid=66

And the link to the above point to Firebug add on Here:
https://addons.mozilla.org/en-US/firefox/addon/1843

So I am off to test it out..
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #3  
Old 03-02-2010, 03:52 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Redundant css How to Find? Any tool?

Well link above I have just realised is the actual Firebug, urggggggg Already have that, the CSS USAGE as mentioned here : http://www.nealgrosskopf.com/tech/thread.php?pid=66


Can be downed here > https://addons.mozilla.org/en-US/firefox/addon/10704
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #4  
Old 03-02-2010, 03:55 PM
 
MikeBrum MikeBrum is offline
 

Advanced Member
  
Join Date: May 2003
Location: Morro Bay, Ca
Posts: 59
 

Default Re: Redundant css How to Find? Any tool?

I like CSSTidy.

There is a good breakdown of some of the more popular CSS Optimizers here:
http://sixrevisions.com/css/css_code_optimization_formatting_validation/
__________________
Toobs.com

X-Cart version 4.3.1
PHP: 5.2.14
MySQL: 5.1.47
Reply With Quote
  #5  
Old 03-08-2010, 03:12 PM
 
almenzies almenzies is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 66
 

Default Re: Redundant css How to Find? Any tool?

Dust me selectors is a decent plugin for Firefox that will help you clean up redundant CSS:

http://www.sitepoint.com/dustmeselectors/
__________________
http://www.ergofurniture.com.au
X-Cart Version 4.3.1
Reply With Quote
  #6  
Old 03-08-2010, 03:50 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Redundant css How to Find? Any tool?

Great will give that one a try... Cheers.
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:38 PM.

   

 
X-Cart forums © 2001-2020