Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » Extending the height of a frame

Extending the height of a frame

Reply
  #1  
Old 07-05-09, 09:18 AM
Poster Poster is offline
New Member
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Extending the height of a frame

I am using this (Frameset Example Title (Replace this section with your own title)) example frameset, but I want to extend the 'Related' frame to the full length of the page (i.e. shortening the width of the top and bottom frames).

Here is the code for the right frame:
<html>
<head>
<title>HTML Frames Example - Related</title>
<style type="text/css">
body {
font-family:verdana,arial,sans-serif;
font-size:10pt;
margin:10px;
background-color:#644f2d;
color:white;
}
a {
color:white;
}
</style>
</head>
<body>
<h3>Related</h3>
<p>
<a href="http://www.quackit.com" target="_top">Quackit</a><br />
<a href="http://www.code-generator.net" target="_top">Code Generator</a><br />
<a href="http://www.zappyhost.com" target="_top">ZappyHost</a><br />
<a href="http://www.natural-environment.com" target="_top">Natural Environment</a><br />
<a href="http://www.great-workout.com" target="_top">Great Workout</a>
</p>
</body>
</html>

the top frame:
<html>
<head>
<title>HTML Frames Example - Top Nav</title>
<style type="text/css">
body {
font-family:verdana,arial,sans-serif;
font-size:10pt;
margin:10px;
background-color:#a08029;
}
</style>
</head>
<body>
<h3>Top Navbar</h3>
<p><a href="menu_1.html" target="menu">Menu 1</a> | <a href="menu_2.html" target="menu">Menu 2</a></p>
</body>
</html>

and the bottom:
<html>
<head>
<title>HTML Frames Example - Footer</title>
<style type="text/css">
body {
font-family:verdana,arial,sans-serif;
font-size:10pt;
margin:10px;
background-color:black;
color:white;
}
a {
color:white;
}
</style>
</head>
<body>
<h3>Footer</h3>
<p><a href="white.html" target="content">White Page</a> | <a href="green.html" target="content">Green Page</a></p>
</body>
</html>

Any help would be greatly appreciated.
Reply With Quote
  #2  
Old 07-05-09, 05:42 PM
ruteckycs's Avatar
ruteckycs ruteckycs is offline
Coding Addict
 
Join Date: Jul 2009
Posts: 273
Thanks: 3
Thanked 5 Times in 5 Posts
You adjust the size of the frame with the IFRAME tag that is in the parent page not from within the code that makes up the page the IFRAME will contain. Mind if I ask why you use IFRAME anyway? It is no good anymore. Perhaps you can say what your trying to accomplish?
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
div height issue jonnekke HTML/XHTML/XML 1 08-04-08 05:50 PM
Print CSS Webpage in IE6 TheScreenSaver24 HTML/XHTML/XML 1 07-06-07 12:24 PM
Need Your HelP! Loading Multiple External Text into Multiple Dynamic Text Fields Flash_Boi Flash & ActionScript 2 03-30-06 04:27 PM
cross frame meni Dustyn JavaScript 3 03-17-05 02:32 AM
Scrollbar!!!!!! LiLSweetie HTML/XHTML/XML 8 07-22-04 06:01 PM


All times are GMT -5. The time now is 01:03 PM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 (Unregistered)