-
NOF proprietary code
Hi,
As most people know NOF inserts a number of proprietary code in the pages,
which could cause a problem with the search engines. NOF9 is no diferent.
The utility CheckMyCode from NolimitSoftware ( www.fusionuser.com ) does a
great job cleaning this up.
Unfortunately one problem with this utility is a showstopper for me. If you
take a look at the two links below the first one being the code directly
from NOF9 the second after worked on by CheckMyCode, you will notice an
empty line at the top.
NolimitSoftware is working on this - there is an upgrade underway with a
number of fixes & enhancements - but in the meantime I would like to fix
this manually.
But I cannot figure out where the line is coming from.
Any of you sharp guys have an idea ?
Cheers
Poul Jensen
http://www.marisoft.dk/test/html/legal.html
http://www.marisoft.dk/test/html/legal_chk.html
-
Re: NOF proprietary code
GREAT - thanks a lot Charles.
Thats an easy fix.
Cheers,
Poul Jensen
"Charles Edmonds" <cje_ByteMeSpammers_@lansrad.com> skrev i en meddelelse
news:16ome06sfvhrd.1a4hrlxr4besd.dlg@40tude.net...
> On Sat, 12 Nov 2005 08:49:25 +0100, Poul Jensen wrote:
>
> > NolimitSoftware is working on this - there is an upgrade underway with a
> > number of fixes & enhancements - but in the meantime I would like to fix
> > this manually.
> >
> > But I cannot figure out where the line is coming from.
> >
> > Any of you sharp guys have an idea ?
>
> Poul,
>
> One glance tells the story. A simple test confirmed it.
>
>
> The CheckMyCode software is removing the HTML code that clears the default
> margings and padding from the <body> tag.
>
> Essentially this:
>
> <BODY topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
>
> They should replace it with a CSS entry for
>
> body{
> margin: 0;
> }
>
> or add it back in as I did in my example.
>
>
> By default browsers have default values here. Because the vary, it is
good
> programming habit to clear them and then set your own from there on out.
>
> Although NOF may have a lot of junk tags in to facilitate their needs,
this
> one was there for a reason.
>
> HTH,
>
> Charles
>
> --
> --------------------------------------------------------------------------
-----------------------------
> Charles Edmonds
> cje_ByteMeSpammers_@lansrad.com (remove the _ByteMeSpammers_ to email me)
>
> www.ezround.com - "So that's how they make those round corner HTML
tables!"
> www.lansrad.com - "Intelligent Solutions for Universal Problems"
> www.fotokiss.com - "World's Best Auction Photo Editor"
> --------------------------------------------------------------------------
-----------------------------
-
Re: NOF proprietary code
On Sat, 12 Nov 2005 08:49:25 +0100, Poul Jensen wrote:
> NolimitSoftware is working on this - there is an upgrade underway with a
> number of fixes & enhancements - but in the meantime I would like to fix
> this manually.
>
> But I cannot figure out where the line is coming from.
>
> Any of you sharp guys have an idea ?
Poul,
One glance tells the story. A simple test confirmed it.
The CheckMyCode software is removing the HTML code that clears the default
margings and padding from the <body> tag.
Essentially this:
<BODY topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>
They should replace it with a CSS entry for
body{
margin: 0;
}
or add it back in as I did in my example.
By default browsers have default values here. Because the vary, it is good
programming habit to clear them and then set your own from there on out.
Although NOF may have a lot of junk tags in to facilitate their needs, this
one was there for a reason.
HTH,
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
cje_ByteMeSpammers_@lansrad.com (remove the _ByteMeSpammers_ to email me)
www.ezround.com - "So that's how they make those round corner HTML tables!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules