Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

A (hopefully) simple html question

  • 09-08-2010 10:49am
    #1
    Registered Users, Registered Users 2 Posts: 30


    Hi there,

    I'm building a very basicwebsite in html...I'm a total beginner at it. The site works perfectly in Google Chrome but for some reason will not load in Internet Explorer or in Firefox. Is there something obvious that I'm missing that would explain this.


Comments

  • Registered Users, Registered Users 2 Posts: 21,263 ✭✭✭✭Eoin


    How do you mean it doesn't load? Nothing appears at all, or it does load but all over the place?


  • Registered Users, Registered Users 2 Posts: 30 cash22


    Sorry, yeah basically it's just a plain black background with three frames, one for title, one for page content and one for links to other pages. The black background loads but none of the other information comes up.


  • Registered Users, Registered Users 2 Posts: 21,263 ✭✭✭✭Eoin


    It could be a tag that isn't closed, or in the wrong place - but really the first thing you should do is see if there's any way to avoid using frames in the first place. They're considered bad practice for several years.


  • Registered Users, Registered Users 2 Posts: 1,110 ✭✭✭Skrynesaver


    It's line 32 where you forget to close your comment ;)

    Could you post code, ideally a stripped down version that exhibits the faulty behaviour


  • Registered Users, Registered Users 2 Posts: 30 cash22


    Will have a closer look. I just thought it might be some obvious difference between the browsers that I didn't know about.
    I realise that I'm probably not using the best methods...yet!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 30 cash22


    <HEAD>
    <TITLE>Drúcht - Home</TITLE>
    </HEAD>
    <BODY BGCOLOR="Black"Text="#FFFFFF"LINK="#FFFFFF" VLINK="C0C0C0"/>

    <STYLE>
    <!--
    A{text-decoration:none}
    -->
    </STYLE>

    <frameset rows="25%,50%,25%" frameborder="no">

    <CENTER>
    <frame src="top.htm" name="top">
    <img src="spacer.gif" alt=" " width="1" height="200" style="margin-right: 5px; margin-left: 5px;" />
    <frame src="Body - Home.htm"name=homebody">
    <frame src="bottom.htm" name="bottom">
    </Center>


  • Registered Users, Registered Users 2 Posts: 12,683 ✭✭✭✭Owen


    cash22 wrote: »
    <frame src="Body - Home.htm"name=homebody">

    I didn't read through your code properly, but try changing the filename to bodyhome.htm instead of body - home.htm, the spaces may be screwing things up for you.


  • Registered Users, Registered Users 2 Posts: 21,263 ✭✭✭✭Eoin


    You're not closing the frameset tag, and perhaps the spaces in the filename are causing problems. Change a space to %20

    But as I said, try not to use frames at all.

    Edit - in fact, your HTML looks to be all over the place - this is the correct syntax:
    http://www.w3.org/TR/html4/present/frames.html


  • Registered Users, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil


    This is really a design issue, I'll move it over there.


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    What is your reason for using frames (which are a really, really bad idea) ?


  • Advertisement
Advertisement