Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Html Page Not Showing Up In Firefox


2 replies to this topic

#1 saitunes

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 291 posts
  • Gender:Male
  • Location:Brisbane, AU
  • myCENT:51.85

Posted 21 May 2008 - 04:22 AM

Hi,

I've tried to make a webpage in HTML using the frameset tag. Here is the code of the webpage

<HTML>
<title> Sai's Makeshift Wiki</title>
<Body>
<Frameset rows="30%,70%">
<Frame src="http://localhost/~Sai/wiki/top.html" name="Menu">
<Frame src="http://localhost/~Sai/wiki/links.html" name="Frame2">
</Frameset>
</Body>
</HTML>

And it's not displaying in Firefox. (I mean is shows a blank page) It will show up in safari (I'm a mac user), all pages individually work on firefox, just not the above page. Any ideas as to why?

Thanks

Edited by saitunes, 21 May 2008 - 04:25 AM.


#2 Saint_Michael

    $p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7,459 posts
  • Gender:Male
  • Location:9r33|\| 399$ 4|\|D 5P4/\/\
  • Interests:$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
  • myCENT:71.24

Posted 21 May 2008 - 09:59 AM

You may want to try this out and see what happens, and I remember my frames correctly, you need an absolute path to your file and since your running this off your computer it would have to be something like this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<frameset rows="30,70" frameborder="no" border="0" framespacing="0">
  <frame src="file:///C|/Program Files/Adobe/Adobe Dreamweaver CS3/UntitledFrame-2" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
  <frame src="file:///C|/Program Files/Adobe/Adobe Dreamweaver CS3/Untitled-2" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
<noframes><body>
</body>
</noframes></html>

or to shorten it up a bit it would look like this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<frameset rows="30,70" frameborder="no" border="0" framespacing="0">
  <frame src="../~Sai/wiki/top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
  <frame src="../~Sai/wiki/links.html" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
<noframes><body>
</body>
</noframes></html>

The same goes for your website you would want your source frames to look like this

<frame src="http://www.yoursite.com/frame1.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
  <frame src="http://www.yoursite.com/frame2.html" name="mainFrame" id="mainFrame" title="mainFrame" />

Hopefully that helps connect your website together, and if you need any more help check this website out on frame sets and using frames.

#3 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 15 December 2009 - 03:58 AM

opinionHtml Page Not Showing Up In Firefox

I think frameset and body tags can not be used together.You may get your solution by changing that first. I haven't worked on Mac or safari so I can't say why it is working in that.

-reply by Aditya




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users