 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
html.coder
Joined: 22 Dec 2008 Posts: 6
|
Posted: Sat Dec 27, 2008 9:34 pm FRAMES HELP! |
|
|
|
i want a frame with:
<FRAMESET COLS="7%,*" ROWS="5%">
i am having problems with : ROWS="5%">
i want it across whole page, not in the navi area only, HELP  |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 1408 Location: Biloxi, MS
|
Posted: Sun Dec 28, 2008 12:58 pm |
|
|
|
Maybe this example will help:
| Code: |
CSS: None. Add your own.
HTML:
<!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" xml:lang="en-US" lang="en-US">
<head>
<title>Frameset - Validating</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" dir="ltr" />
</head>
<!-- Most people don't bother validating their frameset page since it doesn't add anything to the screen. But now you will know how if you want to do it. This works the same way in HTML 4. All you have to do is replace the Doctype above. -->
<!-- The Frameset code is what you need to get rid of the framespacing in Internet Explorer and other browsers. The Conditional Comments below hides the code from the validator. The framespacing attribute gets rid of the framespacing in Internet Explorer and border gets rid of it in all the other browsers. -->
<!--[if ie]>
<frameset rows="100%" cols="200,*" framespacing="0" border="0">
<frame name="menu" src="menu.html" />
<frame name="main" src="main.html" />
<noframes>
<body>
</body>
</noframes>
</frameset>
<[endif]-->
<!-- The purpose for the following Frameset code is to satisfy the validator. Make certain the rows and cols in the frameset tag below matches the ones in the frameset tag above. This way when this frameset code is loaded it won't change the settings that were set above. -->
<frameset rows="100%" cols="200,*">
<frame name="menu" src="menu.html" />
<frame name="main" src="main.html" />
</frameset>
<!-- To add more attributes to the FRAME tag visit http://www.w3schools.com/tags/tag_frame.asp -->
</html> |
Basically:
| 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>Your Page Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="keywords" content="Your keywords." />
<meta http-equiv="description" content="Description of page." />
<link href="Your_style_file.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/x-icon" href="http://Domain_Name.com/imgs/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="http://Domain_Name.com/imgs/favicon.ico" />
</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> |
Modify to meet your requirements. |
|
html.coder
Joined: 22 Dec 2008 Posts: 6
|
Posted: Thu Jan 01, 2009 1:59 pm I wanted a small "footer area" pllus what you did |
|
|
|
| I wanted a small "footer area" pllus what you did, that would help, like a "contact" bar (row) and a "nav"(col) and body(col) |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 1408 Location: Biloxi, MS
|
Posted: Thu Jan 01, 2009 3:04 pm |
|
|
|
| Once you have your pages working, give me a link. The footer/contact/nav bar(s) can be added and probably will be on the frame page that the others load into. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8428 Location: Castle Pines North, CO USA
|
|
|
|
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
|
|
|
|
|
 |
|
|
|
|
|
|
|