Connecting Tech Pros Worldwide Help | Site Map

Strange Problem

Newbie
 
Join Date: Mar 2007
Posts: 3
#1: Mar 1 '07
Hi Guys,

I have been learning to hand code for a while and have posted my first web site that was done in this way.

I am having a strange problem with pages not displaying properly. The background appears for the page, but nothing else.

All is ok if the site is viewed with Firefox, but if it is looked at in any version of IE it just shows the background (no content)

Strangely, if i remove the line

<script type="text/javascript">

the text re appers in IE but the formating from the CSS is lost.

the address for the site is

www.scarborough1214.co.uk

any one offer any idea/advice

the other thing is that it only happened when i edited the summons and event page, all the others are as they were when i set it up originally

Steve
html on wheels's Avatar
Member
 
Join Date: Feb 2007
Posts: 35
#2: Mar 2 '07

re: Strange Problem


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

I don't know if it will help but you could put the above info in as I didn't see it under sources.
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,561
#3: Mar 2 '07

re: Strange Problem


Validate your html and css for a few errors. See if that fixes it.
Newbie
 
Join Date: Mar 2007
Posts: 3
#4: Mar 2 '07

re: Strange Problem


Thanks Dr,

All i can say is GULP!!!

i used the validating tool and jeez, those are two messy and confusing pages i seem to have created.

The problem is, i dont understand/know enough about coding, to know what it all means. Is it possible for someone to point out the element that is causing the invisible content in IE?

I am confused, due to the fact i used the same, basic template as a starting point, so why would those two pages have a problem (which i appreciate now, they have)

Steve
drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,561
#5: Mar 2 '07

re: Strange Problem


It depends on which page you are talking about. It took me a while to find one with javascript on it, last night. Can you give the link to a specific one, without frames? I don't understand why you have frames at all.

This one is the one I looked at. There are only two html errors. One is 'alt' which won't hurt anything (but should be fixed). The other is the </td> ending tag which is outside the table intead of inside. iow, this: </table></td> should be this: </td></table>

In your css, .style23, you have 'font-size: 10' which is just missing the px at the end. 'font-size: 10px'
Newbie
 
Join Date: Mar 2007
Posts: 3
#6: Mar 2 '07

re: Strange Problem


Thanks for the Reply Dr,

Firstly i am not aware that it is a site with frames.

The other page is http://www.zen51886.zen.co.uk/slweb/events.htm

Steve
Reply