We help IT Professionals succeed at work.

Setting Frames

AllHale asked
Last Modified: 2010-04-25
I've managed to create frames for my homepage but they are not "sticking" to the index.html file. When I view it in a browser it works but it won't work on the actual internet. What do I do to connect the frames together so that they remain together when posted on the internet like they do when I preview the browser? Please provde step-by-step instructions to adding frames and content. Also, is there a way to stretch images as the background instead of the tiling fault?

Thanks for your time,

Watch Question

Jason C. LevineDon't talk to me.


Post the code from the index.html document (the frameset) and we'll troubleshoot it...


Below is the code for the index.html of my site. Please let me know how I can set it up so that frames (sidebars) will appear. Thanks again.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body {
      background-color: #000000;
.style3 {color: #4AA5FF}
.style4 {
      font-size: 24px;
      color: #4AA5FF;
.style7 {color: #4AA5FF; font-size: 18px; }
a:link {
      color: #4AA5FF;
a {
      font-size: 16px;
      font-family: Arial, Helvetica, sans-serif;
.style9 {color: #4AA5FF; font-size: 16px; }

<body bgcolor="#000000" text="#669999" vlink="#006666" alink="#003333">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
  <tr align="center">
    <td height="183" colspan="3"><a href="#">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1100" height="175">
      <param name="movie" value="Images/FrontierAidsHeaderWithInFo.swf">
      <param name="quality" value="high">
      <embed src="Images/FrontierAidsHeaderWithInFo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1100" height="175"></embed>
    <td width="364" height="27" align="center" valign="top"><span class="style9"><a href="index.html">Search</a></span></td>
    <td width="467" align="center" valign="top"><span class="style7"><u><a href="Images/aboutfrontierAIDSpage.htm" class="style3">About FrontierAIDS</a> </u></span></td>
    <td width="279" align="center" valign="top"><a href="mailto:frontieraids@gmail.com" class="style3">Contact US </a></td>
   <p>&nbsp;       </p>
   <p align="center">
     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1000" height="750">
       <param name="movie" value="Images/HIVViralFigure5.swf">
       <param name="quality" value="high">
       <embed src="Images/HIVViralFigure5.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="750"></embed>
   <p align="center" class="style4">
     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="857" height="359">
      <param name="movie" value="Images/NavigationBar.swf">
      <param name="quality" value="high">
      <embed src="Images/NavigationBar.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="857" height="359"></embed>
<p align="center">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1020" height="100">
    <param name="movie" value="Images/ContributionBar.swf">
    <param name="quality" value="high">
    <embed src="Images/ContributionBar.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1020" height="100"></embed>
<p align="center">&nbsp;</p>
<p align="center">Copyright &copy;  2005-2006.</p>
Jason C. LevineDon't talk to me.

Okay, there is no frameset command in the above.  How are you displaying the frames?
Jason C. LevineDon't talk to me.

AllHale, a frameset page looks something like this:

<frameset cols="80,*,80" frameborder="no" border="0" framespacing="0">
  <frame src="page1.html" name="leftFrame" id="leftFrame" title="leftFrame" />
  <frame src="mainpage.html" name="mainFrame" id="mainFrame" title="mainFrame" />
  <frame src="page2.html" name="rightFrame" id="rightFrame" title="mainFrame" />

Where page1 and page2 are your left and right sidebars and mainpage is your content.  Is this what you need?


I believe what I need to know is where to insert a code for frames within the code for the index.html and how to modify the code to make changes in those individual frames. Also, could someone please tell me how to add more than one as well. Also, how can I add images that are stretched to the background instead of images that become tiled? Thanks guys.
Don't talk to me.
This one is on us!
(Get your first solution completely free - no credit card required)
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.