• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

HTML Optimisers?

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    HTML Optimisers?

    Hi,

    I use NVU to create HTML ... but after lots of edits of a page it leaves all sorts of dead junk behind.

    Is there a good HTML optimiser out there, free or commercial?

    Most optimisers seem to simply strip whitespace and remove some very simple redundancies.

    However I am looking for a REAL optimiser which can detect redundant code by tracking the current "bold" level, font details, colour etc... in other words the optimiser knows if the context is ALREADY say "red text colour" and so so won't repeat a colour command.

    Thanks.

    #2
    You shouldn't be setting fonts, colours, layout etc using HTML, that's what CSS is for. Then you won't get any redundant code...
    Listen to my last album on Spotify

    Comment


      #3
      CB is spot on. They are all deprecated tags in HTML. The visual representation should be in CSS.

      AFAIK, there isn't a tool out there to do what you want, probably due to the above.

      Comment


        #4
        Sigh ...

        OK, I'll rephrase my original post ....

        "I create web stuff using something called NVU ... but people tell me that the web page thingies created by NVU can contain extra unwanted stuff.

        Does anyone know of a program thingy which can remove this stuff?"

        Comment


          #5
          Originally posted by PeakOil
          Sigh ...

          OK, I'll rephrase my original post ....

          "I create web stuff using something called NVU ... but people tell me that the web page thingies created by NVU can contain extra unwanted stuff.

          Does anyone know of a program thingy which can remove this stuff?"
          sigh

          Build your web pages properly, see the NVu demos on how to layout your pages with CSS - http://www.nvu.com/demo.php

          One less crufty old website without deprecated tags is for the better of everyone, so I'm not going to bother Googling for what you want...
          Listen to my last album on Spotify

          Comment


            #6
            Nvu has a reasonable CSS editor. Make use of it.

            Nvu isn't that untidy - it's much better than FrontPage.

            I just had to deal with a bit of extra white space, really.

            Use Quanta+ to tidy the code up.

            How complex is your site?
            "I can put any old tat in my sig, put quotes around it and attribute to someone of whom I've heard, to make it sound true."
            - Voltaire/Benjamin Franklin/Anne Frank...

            Comment


              #7
              Originally posted by cojak
              Nvu has a reasonable CSS editor. Make use of it.

              Nvu isn't that untidy - it's much better than FrontPage.

              I just had to deal with a bit of extra white space, really.

              Use Quanta+ to tidy the code up.

              How complex is your site?
              Perhaps I'm expecting too much ... I just don't like seeing dead fragments of "code" in my web pages.

              I have a large but VERY old fashioned site ... I was about to upgrade it to be modern & pretty ... but my (mostly age 50+) customers seem to love it, so I decided not for fix something which wasn't broken!

              Thanks for the Quanta tip.

              Comment


                #8
                I was about to upgrade it to be modern & pretty ... but my (mostly age 50+) customers seem to love it, so I decided not for fix something which wasn't broken!
                Good call. No point upgrading for the sake of it and peeing of paying customers who are happy with the current situation.
                "I can put any old tat in my sig, put quotes around it and attribute to someone of whom I've heard, to make it sound true."
                - Voltaire/Benjamin Franklin/Anne Frank...

                Comment

                Working...
                X