By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,492 Members | 1,955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,492 IT Pros & Developers. It's quick & easy.

Strange Problem

P: 3
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
Mar 1 '07 #1
Share this Question
Share on Google+
5 Replies


html on wheels
P: 35
<!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.
Mar 2 '07 #2

drhowarddrfine
Expert 5K+
P: 7,435
Validate your html and css for a few errors. See if that fixes it.
Mar 2 '07 #3

P: 3
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
Mar 2 '07 #4

drhowarddrfine
Expert 5K+
P: 7,435
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'
Mar 2 '07 #5

P: 3
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
Mar 2 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.