a bit extra html code

I have just installed 2.16.7 and found that there is a bit of extra
code in the published html file.

This is the extra bit which isn't there in 9.7.1.

**<style>
  div.applicant-break {page-break-after:always;}
  </style>

** Is there a way of omitting it? To read the file on our website
(2000class.org) it has to be processed by some asp code which strips
out the style type. This extra bit comes after so is
missed.

Ian Frogley

Hi Ian,

I expect Jon will answer much better than I can.

I think it is hard coded and not able to be omitted. It was

introduced to fix a problem with page breaks in a couple of the big
5 web browsers.

Just have to modify the asp code to strip out more than one instance

of >/style> :wink:

Kind regards,
huw
···

On 07/07/2014 19:45, Ian Frogley
[sailwave] wrote:

ian.frogley@ntlworld.com

          I have just installed 2.16.7 and found that there is a

bit of extra code in the published html file.

          This is the extra bit which isn't there in 9.7.1.

          **<style>
            div.applicant-break {page-break-after:always;}
            </style>

         **               Is there a way of omitting it? To read the file on our

website (2000class.org) it has to be processed by some asp
code which strips out the style type. This extra bit comes
after so is missed.

          Ian Frogley




This email is free from viruses and malware because avast! Antivirus protection is active.

Thanks Huw,

Did wonder, and why it isn't included in the rest of the style code

Ian
···

On 07/07/2014 20:12, Huw Pearce
[sailwave] wrote:

huw.pearce@bcs.org.uk

Hi Ian,

  I expect Jon will answer much better than I can.



  I think it is hard coded and not able to be omitted. It was

introduced to fix a problem with page breaks in a couple of the
big 5 web browsers.

  Just have to modify the asp code to strip out more than one

instance of >/style> :wink:

  Kind regards,

  huw
    On 07/07/2014 19:45, Ian Frogley [sailwave] wrote:

ian.frogley@ntlworld.com

        I have just installed 2.16.7 and found that there is a bit

of extra code in the published html file.

        This is the extra bit which isn't there in 9.7.1.

        **<style>
          div.applicant-break {page-break-after:always;}
          </style>

       **             Is there a way of omitting it? To read the file on our

website (2000class.org) it has to be processed by some asp
code which strips out the style type. This extra bit comes
after so is missed.

        Ian Frogley


This email is free from viruses and
malware because avast! Antivirus
protection is active.

It sounds like the page break option code - options when publishing… Sounds like its ticked,

···

Cheers,

Colin J

http://sailwave.com

On Mon, Jul 7, 2014 at 8:18 PM, Ian Frogley ian.frogley@ntlworld.com [sailwave] sailwave@yahoogroups.com wrote:

Thanks Huw,

Did wonder, and why it isn't included in the rest of the style code

Ian
  On 07/07/2014 20:12, Huw Pearce

huw.pearce@bcs.org.uk [sailwave] wrote:

Hi Ian,

  I expect Jon will answer much better than I can.



  I think it is hard coded and not able to be omitted. It was

introduced to fix a problem with page breaks in a couple of the
big 5 web browsers.

  Just have to modify the asp code to strip out more than one

instance of >/style> :wink:

  Kind regards,

  huw

On 07/07/2014 19:45, Ian Frogley ian.frogley@ntlworld.com
[sailwave] wrote:

        I have just installed 2.16.7 and found that there is a bit

of extra code in the published html file.

        This is the extra bit which isn't there in 9.7.1.

        **<style>
          div.applicant-break {page-break-after:always;}
          </style>

       **             Is there a way of omitting it? To read the file on our

website (2000class.org ) it has to be processed by some asp
code which strips out the style type. This extra bit comes
after so is missed.

        Ian Frogley


This email is free from viruses and
malware because avast! Antivirus
protection is active.

No the Option wasn’t clicked, I did check that first :slight_smile:

···

On 07/07/2014 20:44, Colin Jenkins
[sailwave] wrote:

colin@sailwave.com

    It sounds like the page break option code - options

when publishing… Sounds like its ticked,

Cheers,

Colin J

http://sailwave.com

      On Mon, Jul 7, 2014 at 8:18 PM, Ian

Frogley ian.frogley@ntlworld.com
[sailwave] sailwave@yahoogroups.com
wrote:

Thanks Huw,

                  Did wonder, and why it isn't included in the rest

of the style code

                  Ian

On 07/07/2014 20:12, Huw Pearce huw.pearce@bcs.org.uk
[sailwave] wrote:

Hi Ian,

                  I expect Jon will answer much better than I can.



                  I think it is hard coded and not able to be

omitted. It was introduced to fix a problem with
page breaks in a couple of the big 5 web browsers.

                  Just have to modify the asp code to strip out more

than one instance of

/style> :wink:

                  Kind regards,

                  huw

On 07/07/2014 19:45, Ian Frogley ian.frogley@ntlworld.com
[sailwave] wrote:

                        I have just installed 2.16.7 and found

that there is a bit of extra code in the
published html file.

                        This is the extra bit which isn't there in

9.7.1.

                        **<style>
                          div.applicant-break

{page-break-after:always;}

                       **                             Is there a way of omitting it? To read

the file on our website (2000class.org ) it has
to be processed by some asp code which
strips out the style type. This extra bit
comes after so is missed.

                        Ian Frogley


This email is free from viruses and
malware because avast! Antivirus
protection is active.

Hi Ian,

It was added in October last year - I spent 2 full evenings trying to find a solution for the page break that would work with all the current major browsers - This was the only solution I found that worked. The original version would only work with some browsers and that stopped working on some of the newer versions of those. The page break is very useful especially when you have multiple fleets in the same file as you can print them all in one go but have them on separate pieces of paper so as you revise the results you only need to print the pages that have changed.

Jon

···

Jon Eskdale
07976 709777

Skype “eskdale”

On 7 July 2014 19:45, Ian Frogley ian.frogley@ntlworld.com [sailwave] sailwave@yahoogroups.com wrote:

I have just installed 2.16.7 and found that there is a bit of extra

code in the published html file.

This is the extra bit which isn't there in 9.7.1.

**<style>
  div.applicant-break {page-break-after:always;}
  </style>

** Is there a way of omitting it? To read the file on our website
(2000class.org ) it has to be processed by some asp code which strips
out the style type. This extra bit comes after so is
missed.

Ian Frogley

Thanks Jon,
I have only just found it as I have been using 9.7 for the 2000
Class Association results. I downloaded 16.7 and used it to process
our Inlands results, but when I uploaded the html file to our
website I found it only showed the titles, and removed some of the
rest of the page. I guess it didn’t like the page break. I have now
added a bit of code to strip out the page break style, so the
results are displayed correctly.
Ian

···

On 07/07/2014 22:14, Jon Eskdale
[sailwave] wrote:

jon@sailwave.com

Hi Ian,

      It was added in October last year - I spent 2 full evenings

trying to find a solution for the page break that would work
with all the current major browsers - This was the only
solution I found that worked. The original version would only
work with some browsers and that stopped working on some of
the newer versions of those. The page break is very useful
especially when you have multiple fleets in the same file as
you can print them all in one go but have them on separate
pieces of paper so as you revise the results you only need to
print the pages that have changed.

Jon

Jon Eskdale
07976 709777

Skype “eskdale”

On 7 July 2014 19:45, Ian Frogley ian.frogley@ntlworld.com
[sailwave] sailwave@yahoogroups.com
wrote:

                  I have just installed 2.16.7 and found that

there is a bit of extra code in the published html
file.

                  This is the extra bit which isn't there in 9.7.1.

                  **<style>
                    div.applicant-break {page-break-after:always;}
                    </style>

                 **                       Is there a way of omitting it? To read the

file on our website (2000class.org )
it has to be processed by some asp code which
strips out the style type. This extra bit comes
after so is missed.

                  Ian Frogley