HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
What HTML code to put a FRAME?
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
Akira_AnimeAdikuZ



Joined: 27 Aug 2008
Posts: 7

PostPosted: Fri Aug 29, 2008 9:58 pm     What HTML code to put a FRAME? Reply with quote

what code is it? and please include the homepage!
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1390
Location: Biloxi, MS

PostPosted: Fri Aug 29, 2008 10:20 pm     Reply with quote

Are you asking for a frameset coded page?
Akira_AnimeAdikuZ



Joined: 27 Aug 2008
Posts: 7

PostPosted: Fri Aug 29, 2008 10:24 pm     Reply with quote

yep!
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1390
Location: Biloxi, MS

PostPosted: Fri Aug 29, 2008 10:59 pm     Reply with quote

Not sure how many frames you are talking about, but here's an example on the main index.html page:

Code:
<!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>
<title>Home Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="keywords" content="Your keywords here" />
<meta http-equiv="description" content="Facts about your site here." />
<link href="style.css" rel="stylesheet" type="text/css" />
<link rev="Made" href="mailto:webmaster(AT)Domain_Name.com" />
<link rel="Copyright" href="http://www.Domain_Name.com/copyright.html" />
</head>
<frameset cols="100%" rows="255,*">
<frame name="header" src="index2_fr1.html" scrolling="no" frameborder="0" noresize="noresize" />
<frame name="content" src="index2_fr2.html" scrolling="auto" frameborder="0" noresize="noresize" />
</frameset></html>


Cols and rows have to be set for your pages.
Akira_AnimeAdikuZ



Joined: 27 Aug 2008
Posts: 7

PostPosted: Sat Aug 30, 2008 2:03 pm     Reply with quote

What I mean is the code of the main frame,
is this the one?

<iframe name="" id="InlineFrame2" src="" frameborder="1">Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1390
Location: Biloxi, MS

PostPosted: Sat Aug 30, 2008 5:51 pm     Reply with quote

If you are using iframes then what you have is essentially correct. If frame pages, use:

Code:
<noframes>
     <p>Your browser does not support inline frames or is currently configured not to display inline frames.</p>
     </noframes>
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial