Question

I just can't find the reason for that. It's quite bizarre but the javscript code is actualy visible on the browser, like it was some text displayed on the web page. It happens only on firefox. I searched all over the web on forums, websites and didn't find any answer for that behavior. And it gets even wierder. The code displayed on the page is not even on the page´s source code. Firefox somehow picks it form I don't know where... Does anyone knows the reason for that?

You can see it here. http://www.rmsadv.com.br/rmac-advogados.html

Thank you all in advance

Was it helpful?

Solution

I can reproduce this as well, in Chrome, (although you masked the problem by adding style="display:none;" to your script tag which is why no one else is seeing this). My google translate extension showed the problem as well:

enter image description here

Your issue is in style.css where you have this rule:

* {
    ...
    display: block;
    ...
}

You need to change that selector to be body * otherwise it will apply to literally everything on the page.

As others have mentioned you have an unclosed PHP tag (on a non-PHP page, natch), but that's not the issue here.

Also, that extra > on the page is not from a script but you have an extra > on the line:

<font class>>

OTHER TIPS

I can't reproduce your error in Firefox, but there is a php-tag in your header which is not properly closed:

<body <?php="" body_class();="" ?="" style="">
Change it to this:-
<body <?php body_class(); ?>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top