An easy way to clean up Excel .hmtl pages?

I have 5 .html pages that are exported from Excel 2007. In essence they are the same spreadsheet, but sorted in different ways. They can be seen on http://ppbm5.com under the Benchmark Results options. This is one of the pages: http://ppbm5.com/Benchmark5.html
I export the spreadsheet from Excel as a webpage, have a .vbs script to insert the Spry tooltips and set the title, then upload them to the site. So far, so good. But, when using Firebug/Pagespeed I notice there are huge amounts of unused CSS code in the page, generated by Excel.
Up to now I have manually adjusted the pages, by first minifying the HTML, then editing in DW, deleting all the superfluous lines with unused CSS code and uploading again and repeating that for all 5 pages. Since these pages are updated sometimes daily with new results, this gets pretty tme consuming.
It results in much better performance after removing the unused CSS and with page sizes of around 1.2 MB each, but the workflow is far from optimal.
For comparison, an unoptimized HTML page created by Excel is like this: http://ppbm5.com/Benchmark6.html
If you use Firebug/Pagespeed you will see the huge amount of unused CSS on this last page.
Is there a better way to get rid of all that unused CSS than the manual optimization?

I had the same problems every week using Excel '97
. In DW I created a "edit/find and replace" routine which i saved to delete various formatting tags which bloated the code.
that I didn't want on my web pages.
I now use Excel 2010 and find that the way to get the simplest table is to highlight the cells you want then use the copy command.
Then in DW paste the table and format it using css. This works much faster and the code is much leaner than before.

Similar Messages

  • Is there an easy way to create an excel list from my contacts?

    I am doing a web-marketing and I want to use my contacts in my contact list. Is there an easy way to download my contacts into an excel list format?

    Using Automator, you can export some of the infoemation to a tab delimited file which Excel can open.
    Re: Drag and drop from Contacts into Numbers not working - any solutions?
    https://discussions.apple.com/message/22309780#22309780#22309780
    You can drag a selection of contacts into Numbers and it will grab a little of the Info, putting it in columns.

  • Looking for the most easy way to position images on a page!?

    Hi, I'm looking for the most easy way for exact position a lot of PNG images on a web page. Input appreciated!
    Thanks!

    Basic 1-col layout with 3 evenly spaced boxes:
    http://alt-web.com/TEMPLATES/Basic-1-col-fixed.html
    CSS Floats and Margins tutorial -
    http://alt-web.com/DEMOS/3-CSS-boxes.shtml
    Float left & float right  images with wrapping  text
    http://alt-web.com/DEMOS/CSS2-Captions-on-floated-images.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Is there an easy way to clean up HTML

    I'm currently converting a lot of installation guides from PDF to HTML files, however, when the documents are output to HTML, the <p> tags have specific styles applied and they all vary and I find myself having to scour the code by hand. Would like to get through this much faster because I have dozens of files to edit.
    Here is an example of what Acrobat creates.
    <P style="text-align:justify; margin-bottom:0px; line-height:17px">
    I can't figure out how to replace variations of the above style using the Find/Replace tool. Ideally what I would like to do is replace the above with a simple <p> tag, the content is going to be placed in a Template page that has a master stylesheet.
    Would truly appreciate any suggestions.

    Use Find & Replace
    Search: Specific Tag        p
    + With Attribute                style   =   [any value]
    Action: Remove Attribute   style
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • I hate my new update.  All pages are printed too small for my aging eyes!  Yes I know how to do Command   but don't want to do this every time.  Also, more importantly, where is my Google search engine?  And why no easy way to click back to previous page?

    Okay, as soon as I sent this I figured out where Google search is!

    The desktop, the mail, all webpages.  I know there used to be a way to fix this in preferences but now cannot find it. 
    Also my home page will no longer open (BBC America). 
    I found the Safari Search option (should have been obvious!) But on other hand, do not understand why tool bar keeps disappearing - aah, just another of life's mysteries (until I figure it out!).

  • Easy way to remove duplicate photos?  Many of my photos suddenly have 4 or more duplicates.

    Does anyone know of an easy way to clean up duplicate photos on iPhoto?  Suddenly have many, amany duplicates.

    What did you just do? Did you by anychance change systems and import an old iPhoto library into the new one? NEVER do that  - if you did drag the bad iPhoto library to the desktop and drag the old library to the pictures foldr of the new machine and launch iPhoto
    In general use Duplicate Annihalitor or DeCloner to handle duplicates in iPhoto
    LN

  • My computer had a virus and had to be cleaned, but I had my Mozilla bookmarks in a Word file now located on my Desktop. There should be an easy way to drag the bookmarks to the new Mozilla. Can you tell me how in simple straightforward steps? Thanks.

    Question
    My computer had a virus and had to be cleaned, but I had my Mozilla bookmarks in a Word file now located on my Desktop. I have spent hours trying to drag those bookmarks to the new Mozilla. There should be an easy way to do this. Can you tell me how in simple straightforward steps? Thanks.

    If the Word file is a document file type (.doc), you may be able to save it as a .html file, then import that .html file into Firefox.
    In Word, open the .doc file containing the Bookmarks,
    *click File > Save As,
    *in the "Save in" box, choose a Folder or location on your hard drive to save the file where you can find it later,
    *in the "Save type as" box choose ".html",
    *in the "Filename box" enter "bookmarks.html" (without the quotation marks),
    *click "Save"
    Then follow the-edmeister's instruction in Firefox:
    *Bookmarks > Organize Bookmarks -> Import & Backup - Import HTML... = from an HTML file
    *See: http://support.mozilla.com/en-US/kb/Importing%20Bookmarks%20from%20an%20HTML%20File

  • I am receiving excel files, which I need to convert with my macbook pro...I did this with export, but the file I got didnt show graphs as it should...can you help...do I need to buy excel for Apple computer, or is there any easier way of dealing with it..

    I am receiving excel files, which I need to convert with my macbook pro...I did this with export, but the file I got didnt show graphs as it should...can you help...do I need to buy excel for Apple computer, or is there any easier way of dealing with it..does App  "Numbers" help here?

    Numbers should be able to read Excel files without any problems.    If Numbers does not read the graphics properly then you can try Excel Online. https://office.live.com/start/Excel.aspx

  • Is there an easy way to see how many rows in a table? (selected or unselected)

    Hi all,
    Forgive me if this is a REALLY dumb question but I would love to know if there there is an easy way to to see how many rows there are in a table in InDesign?
    (And I bet I am really going to kick myself when I hear the answer and how simple it probably is..lol !)
    I am working on a huge catalog and am dealing with LOTS of tables...very long tables too at times. I am also doing a lot of copying and pasting back and forth between InDesign and Excel and it would REALLY help if I knew how many rows there are in a table without having to manually count them (TIRESOME!!).
    Also, is there a way to see how many rows I have selected at any one time? It would be SO WONDERFUL if the info box could also provide this information.
    Thank you SO MUCH in advance for your help:))
    Christine
    **UPDATE**
    Oh boy I AM going to kick myself! Why only NOW that I wrote this question did I suddenly notice that the Table palette shows the number of rows and columns? lol.
    Okay, then is there a way to see how many rows I have selected at any given time?

    @Christine – try the following ExtendScript (JavaScript):
    if(app.selection.length === 0
        || !app.selection[0].constructor.name === "Cell"
        || !app.selection[0].constructor.name === "Table"){
        exit(0);
    var sel = app.selection[0];
    if(sel.constructor.name === "Cell"){
        var tableRowLength = sel.parent.rows.everyItem().getElements().length;
    if(sel.constructor.name === "Table"){
        alert("All "+sel.rows.everyItem().getElements().length+" rows selected in current table." );
        exit(0);
    var numberOfRowsSelected = sel.rows.length;
    var indexOfSelectedRows = sel.rows.everyItem().index;
    var startRowSel = indexOfSelectedRows[0]+1;
    var endRowSel = indexOfSelectedRows.length+indexOfSelectedRows[0];
    alert(numberOfRowsSelected +" row(s) selected.\r"+startRowSel+" to "+endRowSel+" out of "+tableRowLength+" of current table.");
    You need not select whole rows, just one or a couple of cells.
    Then run the script.
    An alert message is telling you how many rows belong to the cell range you have selected and:
    which rows of the table are selected…
    A typical message would be:
    6 row(s) selected.
    3 to 8 out of 20 of current table.
    The script does some basic checks of the selection.
    If no cell or table is selected, it will just do nothing…
    Uwe
    Message was edited by: Laubender | Some language cosmetics in the alert message

  • Is there any easier way to edit imovie files that have been exported as mov file then added to FCE 4?? As every move I make has to be rendered and takes forever??? Also my recording is going out of focus without me touching the camera, why has this happen

    Is there any easier way to edit imovie files that have been exported as mov file then added to FCE 4?? As every move I make has to be rendered and takes forever??? Also my recording is going out of focus without me touching the camera, why has this happened any idea what causes this??
    iMovie '08, Mac OS X (10.5.8), FCE 4

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • Any Easy Way to pass initial parameters to a VI created with New VI?

    In LabVIEW 2010 I can use OpenG's New VI function to create and launch a VI that is built from a template.
    Is there any easy way to pass initial parameters from the VI that creates the New VI to the New VI that will be available as soon as the New VI starts?

    Check out the Control Value Set invoke node. I personally don't like this node, and tst has got a great suggestion to promote cleaner, less fragile syntax for launching VI's dynamically that require input parameters.
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • Clearing Duplicates the Easy Way

    Due to a rookie consolidation move, I've got duplicates of most of my music in my iTunes Music Folder--all in the same file. The duplicates I'd like to get rid of all have a "1" tacked on to them, like this:
    03 She's Lost Control.mp3 (original)
    03 She's Lost Control 1.mp3 (duplicate)
    I'd like to clear up space by removing all of those "1" duplicates, but I've got a ton of music to go through and select. What's the easiest way to select and delete duplicates?

    Several ways to Clean Up Your Library by Removing "!" or ‘dead links’ within iTunes:
    If you move, edit, delete or otherwise change a music file listed in the iTunes Library with a program or tool other than iTunes, you may end up with a "!" in front of the song name. iTunes does not keep track of music file changes made outside of iTunes.
    http://discussions.apple.com/message.jspa?messageID=818692#818692
    http://discussions.apple.com/message.jspa?messageID=607582
    EASIER:
    Download this: http://ottodestruct.com/iTunes/RemoveDeadTracks.txt
    Rename it to RemoveDeadTracks.js.
    Run iTunes.
    While iTunes is running, double click RemoveDeadTracks.js to run the script.
    It will remove all the exclamation marked tracks.
    One step, no fuss, no muss.
    Then, give Otto42 a big 'Thanks' for this one.

  • What is the best way to 'clean up" a Mac that has been going for about 2 years.  I reset safari frequently but need to be sure stuff I don't want is gone.

    What is the best way to 'clean up" a Mac that has been going for about 2 years.  I reset safari frequently but need to be sure stuff I don't want is gone.

    I'd gather by your "reset Safari"  and "clean up" you mean by sites you rather not have your mom see.
    Hidden Flash cookies are stored in "Macromedia" Folders on your computer, can delete using the free Easy Find first, but need to reinstall Flash again here
    http://www.macupdate.com/app/mac/11076/easyfind
    http://get.adobe.com/flashplayer/
    OnyX run All the cleaning and maintenance steps followed by a reboot, followed by a Disk Utility erase free space.
    http://www.titanium.free.fr/
    CCleaner is in beta for OS X, can combine the cleaning and secure erase in the same steps if properly configured.
    http://www.piriform.com/mac/ccleaner
    Every web site knows your apx location.
    http://www.whatsmyip.org/more/
    To be sure to have a clean machine, a
    Restoring OS X - 10.6  "fresh install method"
    Restoring OS X - 10.7 - wipe and install
    is the only way as you only bring files back to the machine that you know what they are, everything else is removed.
    https://discussions.apple.com/message/16276201#16276201

  • Is there an easy way to get GPS coordinates from Maps.app in Mavericks?

    My DSLR doesn't have a GPS built in, but I like to Geo-tag some of my photos. I usually just take a pic with my iPhone and then copy the geo data (GPS coordinates) and paste into the photos (in Adobe Lightroom). Unfortunately, I didn't have my phone with me. I have the location stored as a bookmark in Maps, but I don't see any easy way to just pull coordinates.

    Hi,
    I am doing the same thing too. I have to call my reports thru menu. I tried web.show_document in my menu and it works. I also added paramform=yes and it gives the report parameters, but I want to give the user the choice of format for the reports. eg. pdf, html, excel, etc. instead of hardcoding it.
    Could you please give me some idea on how can I do that??
    Thanks.

  • The easy way?

    I must admit that this has saved me hours of time and ultimately brought me out of Flash retirement.
    My question is this.
    When creating a portfolio with thumbnails as buttons that change a larger image to what the thumbnail displays. Am I doing this right by creating several pages just to make an image appear for each individual image? Seems like allot to me and wondering if there is an easier way to accomplish this.
    Also wondering if I should optimize the jpegs in Catalyst?
    To see it working its located it www.smakdigital.com
    Thank you.
    Osiris

    Hi Osiris,
    >> I must admit that this has saved me hours of time and ultimately brought me out of Flash retirement.
    Glad to hear it!
    >> Am I doing this right by creating several pages just to make an image appear for each individual image?
    Pretty much, yes.  Here are two ways to improve on your approach, however:
    Place the thumbnails into a Data List.  This makes it less work to edit things like item spacing/layout, or the selection highlight, since you don't have to do it once per thumbnail image.  To display a different full-size image depending on which list item you clicked, create a series of "On Select" interactions using the "When a specific item is selected" option.
    Put your image gallery into a custom component and have one state in the component for each image.  This keeps your list of top-level application pages/states clean, so that if you later decide to add other screens such as contact info, info page, etc., they're not all mixed in alongside your image-specific states.
    >> Seems like allot to me and wondering if there is an easier way to accomplish this.
    We here on the Catalyst team agree, and are looking into ways of making this simpler in a future version!
    >> Also wondering if I should optimize the jpegs in Catalyst?
    You should definitely optimize your images for the web by adjusting the resolution and compression settings.  You can do this within Catalyst, or within the original tool that you used to create the jpegs (e.g. Photoshop's "Save for Web" command contains all the same optimization controls, and then some).
    Hope that helps!
    - Peter

Maybe you are looking for

  • Nano 7th generation - How do I connect Bluetooth LG Tone Advanced HBS 700 to it?

    I cannot find how to sync my Ipod nano 7th Generation to my LG Tone Bluetooth Stereo Headset (Advanced).  Does anyone know how to sync them?

  • VB4 OO40 2.2 to Oracle 8i

    We are in a process of transitioning our applications across to Oracle 8i (8.1.6) and part of this involves an older app using VB4.0 16 bit running through OO4O 2.2 and connecting to Oracle 7.3.4. Whilst the application connects and runs fine for the

  • WiFi network connection issues

    While on the internet.  My Ipad pops up a message that it can't connect with a network with my first initial, last name, then an underscore M65.  I have never set up a network named this, so I don't know what it is.  I acknowledge the pop up, then se

  • Mountain lion mail set up

    is there a way to set up mail in mountain lion like iOS?  I ask this because I have no problem with my mail on my iPad with my works exchange.  I just assumed that the macbook pro 13 retina would act the same way.  I took my new 13in macbook to work

  • How to hide group header values

    Hi I grouped data on basis of pointdescrption in my report. bu twhen i run the application, all the gropupheader names are dispalying in left side of report. lke desc1 desc2  etc. but i don't want to show groupheader names. give me solution. Thanks