Any way to single out unused CSS styles, for deletion?

Any way to gather a list of all CSS styles in a given
stylesheet that are no
longer being used by any files in a given website, so they
can be purged?

Please submit this to the development team -
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
However, if you have so many custom classes that you have to
worry about
this, then you are not using CSS effectively -
In general, you don't need many custom classes. And, in fact,
they
make your life more difficult when you come back to maintain
the page a year
later. As Micha said, use ID selectors and create descendent
selector
rules, for example -
#maintable { .... }
#maintable td { .... }
#maintable td table { ... }
each of those rules would apply explicitly to a) this table -
<table id="maintable">,
and b) this cell -
<table id="maintable">
<tr>
<td>...</td>
</tr>
</table> (and all others in that table),
and to this table -
<table id="maintable">
<tr>
<td>
<table>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
Then you could use this rule -
#maintable table td.special { .... }
to apply to this cell explicitly -
<table id="maintable">
<tr>
<td>
<table>
<tr>
<td class="special">this one</td>
<td>but not this one</td>
<td class="special">this one</td>
<td>but not this one</td>
</tr>
</table>
</td>
</tr>
</table>
Make sense?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Mike J.S." <[email protected]> wrote in message
news:fevvgn$7m2$[email protected]..
> Any way to gather a list of all CSS styles in a given
stylesheet that are
> no longer being used by any files in a given website, so
they can be
> purged?
>

Similar Messages

  • Is there any way to find out wn was a table deleted apart from using audit

    Is there any way to find out wn was a table deleted apart from using audit
    Oracle version 9.2.0.7

    SQL> SHOW USER
    USER is "SCOTT"
    SQL> CREATE TABLE test_delete AS SELECT * FROM emp;
    Table created.
    SQL> DELETE FROM test_delete;
    14 rows deleted.
    SQL> COMMIT;
    Commit complete.
    SQL> conn sys@orclsb as sysdba
    Enter password: ******
    Connected.
    SQL> ALTER SESSION SET nls_date_format='DD-MON-RRRR HH24:MI:SS';
    Session altered.
    SQL> BEGIN
      2     DBMS_LOGMNR.START_LOGMNR (
      3           starttime => '02-FEB-2011 17:51:00',
      4           endtime   => '02-FEB-2011 17:54:00',
      5           options   => dbms_logmnr.DICT_FROM_ONLINE_CATALOG+
      6                        dbms_logmnr.continuous_mine +
      7                        dbms_logmnr.no_sql_delimiter +
      8                        dbms_logmnr.print_pretty_sql
      9                                  );
    10  END;
    11  /
    PL/SQL procedure successfully completed.
    SQL> set line 10000
    SQL> SELECT scn ,timestamp
      2         ,commit_timestamp, username
      3  FROM v$logmnr_contents
      4  WHERE
      5   username = 'SCOTT'
      6  AND  TABLE_NAME='TEST_DELETE';
           SCN TIMESTAMP            COMMIT_TIMESTAMP     USERNAME
       2309736 02-FEB-2011 17:53:20                      SCOTT
       2309739 02-FEB-2011 17:53:20                      SCOTT
       2309769 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
           SCN TIMESTAMP            COMMIT_TIMESTAMP     USERNAME
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
       2309774 02-FEB-2011 17:53:59                      SCOTT
    17 rows selected.
    SQL>

  • Is there any way to find out the dependency information for column of view?

    Does Oracle provide some view / table / pl/sql pkgs to find out the dependency information for column of view ?
    For example, there are two table mytable1 (col1 varchar2(10), col2 date) & mytable2 (col1 varchar2(10), qty int), and there is one view myView as
    select mytable1.col1, col2, qty from mytable1 inner join mytable2 on mytable1.col1 = mytable2.col
    Can I get some information such as myView.col1 is come from mytable1.col, myView.col2 is come from mytable1.col2, myView.qty is come from mytable2.qty
    ?

    I can get the information about the columns list in table/view from ALL_TAB_COLUMNS table, but I wish to know the column in the view is come from which original table's column.
    Is there any way to find it out from Oracle meta data / through any PL/SQL packages ?

  • So Wat to do? Is there any way to get out as a single swf file from captivate.

    Dear friends,
    I am beginner in Adobe Captivate. We have a E-learning
    project. We are using Dockers as our LMS. Previously we were using
    Flash for all. Now we are trying Captivate for better and faster
    results. I have few swf files and i inserted al files in Captivate
    and i published. So instead of getting single output, am getting
    all the swfs, skin swf and html file. Html file is accessing all
    swfs and works. But it is not working in Dockers. Single swf will
    only work in Dockers. So Wat to do? Is there any way to get out as
    a single swf file from captivate. please Help mee.
    Thanks
    Flashlover

    If 'Dockers' cannot handle a .zip file as the content and
    instead
    requires a single, uncompressed content file, then it is not
    SCORM-compliant. The SCORM specification requires the LMS to
    handle a
    'pif' file (most common is .zip) which contains the lesson
    and the
    required manifest file. If Dockers doesn't support that then
    you can't
    do SCORM-compliant content.
    Erik
    loverflash wrote:
    > Dear friends,
    >
    > We are using
    > Dockers as our LMS.
    > So instead of getting single output, am
    > getting all the swfs, skin swf and html file. Html file
    is accessing all swfs
    > and works. But it is not working in Dockers. Single swf
    will only work in
    > Dockers.
    >
    > Thanks
    > Flashlover
    >
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - Authorware
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    samples, tips, products, faqs, and links!
    *Search the A'ware newsgroup archives*
    http://groups.google.com/group/macromedia.authorware

  • Any way to find out where most of the memory is being taken up?

    I've got a G4 Tower with the latest 10.5 OS. I have an 80 GB drive, with 19 GB remaining.
    Single clicking on Mac HD, then "apple i" shows me this.
    Is there any way to find out more specifically where most of the memory is being taken up?
    Say, what folders are the biggest in size, and where they are? I'd like to delete any unwanted crap if i could...
    Thanks.

    Photecs wrote:
    I've got a G4 Tower with the latest 10.5 OS. I have an 80 GB drive, with 19 GB remaining.
    Single clicking on Mac HD, then "apple i" shows me this.
    Is there any way to find out more specifically where most of the memory is being taken up?
    It's not memory, it's disk space which is a different thing.
    you can figure out what's taking all the space using 3rd party tools like [Whatsize|http://whatsize.en.softonic.com/mac], [Omindisksweeper|http://www.omnigroup.com/applications/omnidisksweeper>, [Disk Inventory X|http://www.derlien.com> or [Grandperspective|http://sourceforge.net/projects/grandperspectiv>. there is also a terminal method described on [this page|http://homepage.mac.com/francines/articles/TigerMisc.html].
    Say, what folders are the biggest in size, and where they are? I'd like to delete any unwanted crap if i could...
    Thanks.

  • Is there any way to print out my text messages?

    IM trying to figure out if there is any way to print out my text messages?  thankyou

    You can print off your text message number sent and received by accessing www.verizonwireles.com login with your user id and password. Once logged in select my bill click on usage details then click on messages it will pull up the numbers you can print them from there. If you are looking for the actual messages you will not be to view that information online you can only get that information court ordered subpoena. 

  • HT5244 Is there any way to find out after(!) running die Update, if i have been infected?

    Is there any way to find out after(!) running die Update, if i have been infected?

    Run any one of these tools: http://reviews.cnet.com/8301-13727_7-57413811-263/flashback-malware-removal-tool -roundup/
    Or you can check manually: http://reviews.cnet.com/8301-13727_7-57410096-263/how-to-remove-the-flashback-ma lware-from-os-x/

  • Is there any way to pull out computer Mac addresses from GPO?

    Hello!
    I was wondering if there is any way to pull out the mac address from all the computers in the organisation via the group policy?
    It would be rather difficult to pull out mac address one by one from each computer.
    Appreciate your assistance and advise on this!
    Thank you so much :)

    You can use group policy to run a startup or logon script to get the information and write it to some file/database.
    You could also get the information remotely using a script.
    You could also as your network guy for a list of IPs and MACs they see.
    Group policy is intended to make settings, not to get information. However you can
    set a startup or logonscript that reads out the information through group policy.
    A sample script surely is available in the scriptcenter, but I think help on the specific script is more something or the scripting forums.
    MCP/MCSA/MCTS/MCITP

  • Is there any way to find out where a standard text is used?

    Is there any way to find out where a standard text is used?
    We can see the text from SO10, but i want to find out where it is used.

    HI
    juct check out this thread
    How to find Standard Text
    a similar query is answered here
    hope this helps
    regards
    Aakash Banga

  • Is there any way to find out what brush is applied to a path?

    I'm trying to write a script: select some paths, run the script, then each path that has a brush applied to it is changed to use a random brush whose name is sufficiently similar to its current brush. The application is pretty obvious - draw a bunch of lines in, say, 'ragged marker 1', then give it some extra liveliness by having five or six 'ragged marker' brushes that get randomly chosen.
    The problem I'm running against is that as far as I can tell, Illustrator only lets Javascript set what brush an object is using with brush.applyTo (artItem), but I can't seem to find any way to find out what path a brush is currently using via JS.
    Am I just not looking in the right place of the Javascript reference, or is this really a thing that only has a setter, with no corresponding getter?

    Just like you said earlier
    3.  Re: Is there any way to find out what brush is applied to a path?
           imagecollection     Apr 7, 2015 6:01 PM  (in response to Silly-V)   
    The skill of scripting in Illustrator is to (due to necessity) find the most difficult way to achieve the simplest of tasks...
    so to retort I say this;
    “I suppose it is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail.”
      ― Abraham Maslow, Toward a Psychology of Being

  • Is there any way to find out the serial number to an old ipod that i cannot find?

    theres a recall on the od ipod nanos the 1st generation ones and i purchased one and im not sure when and currently i am unaware of the whereabouts of the ipod. is there any way to find out the serial number without actually finding the ipod to confirm when i purchased it? thank you any help will be appreciated.

    iPod: How to find the serial number

  • Is there any way to find out what a specific line of data usage was for?

    There is a line on my bill for 97 MB of usage while I was bowling?  I was not using my phone.  How can I find out what it was doing for that specific charge?

    Just like you said earlier
    3.  Re: Is there any way to find out what brush is applied to a path?
           imagecollection     Apr 7, 2015 6:01 PM  (in response to Silly-V)   
    The skill of scripting in Illustrator is to (due to necessity) find the most difficult way to achieve the simplest of tasks...
    so to retort I say this;
    “I suppose it is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail.”
      ― Abraham Maslow, Toward a Psychology of Being

  • My hard drive suddenly went from 52 gigs free to 22 gigs- is there any way to figure out what happened?

    my hard drive suddenly went from 52 gigs free to 22 gigs- is there any way to figure out what happened?

    Perhaps this may be of help...
    Where did my Disk Space go?

  • Is there any way to find out who is accessing my find my iphone account ?

    Is there any way to find out who is accessing my find my iphone account ?

    No.  Go to id.apple.com, log in with your Apple ID & password, and immediately change your Apple ID password and security questions.
    Also, change the password to your associated emails counts as well.

  • Does anyone know if there's any way to find out what files in my Library

         Does anyone know if there's any way to find out what files in my Library I can delete? I just cleaned off my HD onto a media drive as a back up so all my movies documents and photos are gone but my Library seems to be a huge space hog eating sixty gigs of space and I do have alot of apps but they don't take up a third of that space... Any ideas how I can figure out what is wasting all this space? I had Spring Cleaning once but found it to be rather confusing as to what was essential to the OS and what not...
    Thanks,
    Matt

    Get free OmniDisk Sweeper. I can't imagine how you could have sixty GB in that folder. My entire ~Library isn't even 1GB. Are you sure you're not talking about your entire Home folder?
    Can you post a screenshot of the contents of that folder.
    Check again. Are you sure you moved all the Movies etc. out? Could have left duplicates of everything behind when you did this.
    Message was edited by: WZZZ

Maybe you are looking for

  • Urgent..need help to buy a dell laptop.

    I am from India.My friend is coming to Boston on next week.I want to buy Dell XPS 17 laptop.I want to know whether Dell XPS17 and XPS15 laptop is available in the shop and location of shop near to the Boston,MA,USA airport.I want to know the price of

  • Grid lines in Illustrator C56, how do I darken them?

    The grid lines are too light to see without straining my eyes, how do I darken them?

  • IDOC TPSSHT01 - Subsequent delivery split

    Hello All, How do i invoke subsequent delivery split for a shipment order via idoc TPSSHT01. I want to create a shipment order for a delivery and then invoke subsequent delivery split for the qty received via idoc TPSSHT01. Thanks for your help in ad

  • Set Selection Load Master Data

    Hello I need to load customer master data from BW but I need to select only the customer wiht attribute Delete Flag is blank. If I select Delete Flag = Is not working. How BPC understand blank? Message was edited by: Ariane de Souza Pinto

  • Connectivity setup issue within DW using both Testing & Remote Servers

    Hi I have a problem with being able to connect to both my remote server and my testing server when both connections are setup at the same time. Basically I set up the 2 x connections in DW MySQL DB Connect: 1 x dreamsin_localhost 1 x Banbury01_localh