Simple Machines Community Forum

General Community => Scripting Help => Aiheen aloitti: Polymath - joulukuu 05, 2007, 09:32:55 IP

Otsikko: Somewhere I have a script problem
Kirjoitti: Polymath - joulukuu 05, 2007, 09:32:55 IP
Hi again,
Somewhere on my site I have a unclosed center or something....is there a way to find out?

In my arcade the 10 latest scores are too far right and in my forum everything posted is centered. For some this puts things way out of the page and they can only read the left side of the posts.


I have no idea whats going on..its been a long time since I done anything to it.
Otsikko: Re: Somewhere I have a script problem
Kirjoitti: Rudolf - joulukuu 09, 2007, 11:39:56 AP
A link to your forum, and specifically to the page where it happens would help.
Otsikko: Re: Somewhere I have a script problem
Kirjoitti: Polymath - joulukuu 09, 2007, 02:54:33 IP
 
Lainaalink to your forum

Try clicking  the little globe in this forum...   :-X

Lainaawhere it happens would help.
Also quote: arcade the 10 latest scores

Also quote:forum everything posted is centered.

Things are a little messed up, turning mds of to find which it is can't happen.. I've been checking my script for months and can't seem to find the problem. Hoping for a program or something I open my site in online that may show errors(bit like running some through W3c markup tells me stuff).

I think it will never be found. Posting this is just hoping that someone had the same thing with a mod or something and knows about it.
Otsikko: Re: Somewhere I have a script problem
Kirjoitti: Rudolf - joulukuu 09, 2007, 03:10:31 IP
It's only centered in IE.
Before doing anything in it you should make sure these (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.gamesocket.geek.nz%2Findex.php%3Ftopic%3D340.0) errors are fixed.
Otsikko: Re: Somewhere I have a script problem
Kirjoitti: Polymath - joulukuu 09, 2007, 03:43:25 IP
Very good.  ;D  I been doing W3c at the home page for the last while. Never thought of doing one in the forum to check there.

Most of them(nearly all) is the left menu( & and =) . But further down the list it logs end tag for "center" omitted tag at line 944....start tag is at 391. I'm guessing it may be that one.. Looks like Global headers and footers Mod.

I used to have 500 odd errors. But I feel better when I check other SMF users sites and see they are around the 500+ mark.

168 is not bad..in my books. Especially when the /> is around the wrong way or images are missing alt tag

Thanks for pointing out running the forum through W3C
Otsikko: Re: Somewhere I have a script problem
Kirjoitti: Polymath - joulukuu 09, 2007, 04:14:57 IP
 :D :D :D :D :D
That was it, hahaha. I think.Global headers and footers didn't have a center close tag.

Cripes  >:( I been having this problem since forum instal
Now I got to go around centering what I didn't bother to center.

Thanks Rudolf. All these things take sometimes is another pair of eyes to see what I didn't.

Cheers