HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

What HTML code to put a FRAME?
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
Akira_AnimeAdikuZ



Joined: 27 Aug 2008
Posts: 7

Posted: Fri Aug 29, 2008 9:58 pm     What HTML code to put a FRAME?  

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



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

Posted: Fri Aug 29, 2008 10:20 pm      

Are you asking for a frameset coded page?
Akira_AnimeAdikuZ



Joined: 27 Aug 2008
Posts: 7

Posted: Fri Aug 29, 2008 10:24 pm      

yep!
PayneLess Designs



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

Posted: Fri Aug 29, 2008 10:59 pm      

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

Posted: Sat Aug 30, 2008 2:03 pm      

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: 1402
Location: Biloxi, MS

Posted: Sat Aug 30, 2008 5:51 pm      

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>
 
 
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> HTML Frame
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group