Strange Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SpecialK
    New Member
    • Mar 2007
    • 3

    Strange Problem

    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



    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
    New Member
    • Feb 2007
    • 35

    #2
    <!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.

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      Validate your html and css for a few errors. See if that fixes it.

      Comment

      • SpecialK
        New Member
        • Mar 2007
        • 3

        #4
        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

        Comment

        • drhowarddrfine
          Recognized Expert Expert
          • Sep 2006
          • 7434

          #5
          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'

          Comment

          • SpecialK
            New Member
            • Mar 2007
            • 3

            #6
            Thanks for the Reply Dr,

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

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

            Steve

            Comment

            Working...