View Full Version : Site Refreshing

SC Source
01-10-2004, 04:26 AM
Hello. I've been getting alot of complaints that one of my sites has a problem of refreshing. Meaning that when you go to it, it keeps refreshing and refreshing non stop. It does not however make hits to the site. I can not find anything wrong with the code. This just started happening out of no where. I just started experiencing it on IE. I don't think it happens on AOL.

Problem: Page keeps refreshing until 'Stop' button is pushed

Solution: I really need one, my visitors are leaving.

Any help would be greatly appreciated.


Paul Jr
01-10-2004, 04:40 AM
A link or some code would be helpful.

01-10-2004, 09:42 AM
Well I didn't see any code that would be causing it right off hand but I've gotta say... it is a real mess in there.

What is the deal with repeating this block of code every few lines?

<style =" text/css">

body { font-size: 7pt; color: 272727; }

td { font-size: 7pt; color: 272727; }

A:link { text-decoration: none; color:"white" }

A:visited { text-decoration: none; color:"white" }

A:hover { text-decoration: none; color:"272727" }


It is extremely redundant and incorrect coding.

I didn't have any refresh problem with Mozilla 1.5 btw.

SC Source
01-10-2004, 06:04 PM
That is in my news. If u go to any other section, u won't see it. I can't do anything about it. And it works, I don't know how that is wrong.

I don't care about that right now, I want it to stop the refreshing.

01-10-2004, 06:55 PM
Just getting an error 404

01-11-2004, 10:46 PM
I've noticed a few things, whether or not they contribute to your issue I can't be sure. First off, in presumabley every browser but Internet Explorer, your links appear the defualt blue color, rendering them pretty much un-readable. This is cause by your css being coded incorrectly. Currently, your code reads:

A:link { text-decoration: none; color:"white" }

The quotes around the color name should not be there. You've no need to quote most css attributes. The code should read more like:

A:link { text-decoration: none; color: #fff }

Also, as oracleguy pointed out, you keep repeating your <style> block of code. Besides being completley unnecessary, this repeated block is incorrectly coded. One example is the line that reads <style =" text/css"> should read <style type="text/css">. I don't know if this has anything to do with IE hanging, but you never really know.

BTW, I had no refreshing problem in Firebird 0.6.1 or IE 6 (winXP).

SC Source
01-12-2004, 02:37 AM
Ok, thanx. I know alot of my coding is messed. But it seems to work. I will fix that now. I have to keep those style sheets on there because its a news post program that posts it evertime I post it again. Can't help that.

Roy Sinclair
01-12-2004, 05:33 PM
I think you should clean up your code first and if the problem still exists, then ask about how to find and fix it.

It's like having making bedroom into a total disaster area and then expecting someone to go in there and find a sock you lost. If the room is clean, you're not likely to loose a sock in the first place but should you loose one, it's going to be a lot easier for someone else to assist you in finding it.

Whew! That sounds harsher than I intended but I ran HTML Tidy against your the page you linked below and it showed more than 700 warnings.

However, in the interest of doing more than just complaining that your pages are horrible code (something most of us have been guilty of in the past, it does seem to be part of the learning experience) I'd also ask that you check and see what kind of browsers the users who are experiencing problems with your site are using. If the problems are limited to a specific browser then finding the exact source of the problem will be simplified because we'll stand a better chance of reproducing the problem.

01-12-2004, 06:50 PM
Using a WYSIWYG editor ;)?

Okay, that wasn't fair :p

01-12-2004, 07:02 PM
Originally posted by SC Source
I have to keep those style sheets on there because its a news post program that posts it evertime I post it again. Can't help that.

I'd either use a different news script or edit the script and remove them. There is absolutly no need to keep repeating the css. No offense to the person who wrote the system but that is a very bad way to write a peice of web software.

SC Source
01-14-2004, 05:47 PM
Well, I don't understand why the hell it does it and from what I see and am reviewing, I do not see any mistakes with my HTML. All of my code that I see as of now is perfect. I use everything correctly. I checked it over and over. I would like to use that HTML Tidy prog, would you mind giving me the link to download it.

I fixed the style sheets so that it will work in every browser now.

The only browser that is having problems is in IE, but not in AOL. Very strange.

The news script is cute news. I added the style sheets to it, thats the only way I could friggin figure out how to make it so the same font and stuff was being used in that news prog.

Roy Sinclair
01-14-2004, 10:12 PM
For HTML tidy try: http://infohound.net/tidy/

You can also find in built into some tools (I use Ultredit which has tidy built in).

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum